Grrr's Studio
← All mods
SERVER · v1.4.5

GTG Groups and Radios

Open in Workshop ↗
SERVER

Configuration

All settings live in $profile:group-config.json. The file has two parts: global options and the list of groups.

Example

{
  "options": {
    "deleteExistingGroupsOnStart": true,
    "debugLogging": true
  },
  "groups": [
    {
      "groupName": "Alpha Squad",
      "description": "Main assault team",
      "faction": "US",
      "maxMembers": 8,
      "allowedPlayerUIDs": [
        "76561198012345678",
        "76561198087654321"
      ],
      "radioFrequencies": [
        { "frequency": 50.0 },
        { "frequency": 51.5 }
      ]
    },
    {
      "groupName": "Charlie Squad",
      "description": "Recon and security",
      "faction": "USSR",
      "maxMembers": 10,
      "radioFrequencies": [
        { "frequency": 60.0 }
      ]
    }
  ]
}

Options

KeyTypeDefaultDescription
deleteExistingGroupsOnStartbooltrueDeletes all existing groups on server start before the configured groups are created
debugLoggingbooltrueWrites detailed [MRK] messages to the server log

Groups

KeyTypeRequiredDescription
groupNamestringyesName of the group. Players cannot rename it
descriptionstringnoDescription, e.g. role or task
factionstringyesFaction key, e.g. US, USSR, FIA
maxMembersintyesMaximum number of members
allowedPlayerUIDsarray of stringsnoPlayers allowed to join. If missing, everyone may join
radioFrequenciesarrayyesRadio frequencies of the group
radioFrequencies[].frequencyfloatyesFrequency in MHz

How it works

  • Group join: after the player has spawned, the frequencies are spread over the transceivers of their radio. The first frequency becomes the group frequency. The mod retries for up to 30 seconds after spawn.
  • Restricted groups: players not listed in allowedPlayerUIDs cannot join and get a message.
  • Protection: predefined groups cannot be renamed or deleted by players, and they stay when they are empty.
  • Players can still create their own new groups.

The number of usable frequencies is limited by the number of transceivers on the player's radio. Extra frequencies are ignored.

Still stuck? Report an issue