Skip to content

Player Management Plugin ​

A Ranked server gets its sanctions from the match plugin, as part of each match. A community server runs no match, so it runs the 5Stack Player Management plugin instead. It enforces your panel's sanctions on the server while people play:

SanctionOn a community server
BanKicked when they join, or as soon as the ban is issued, with the ban's reason
MuteVoice chat turned off, and turned back on when the mute ends or is removed
GagText chat blocked
SilenceMuted and gagged
WarningNothing: a warning is a note on the player's record

A player is told in chat when they are muted or gagged, with the reason and when it ends. The plugin also enforces the server's access list and reports the live roster that the server page, the community stats and the leaderboards are built from.

It ships for both runtimes, from game-server releases sw-v0.0.91 and css-v0.0.437, and it is CS2 only.

Installing it ​

On a game server node ​

Nothing to do. 5Stack loads the plugin on every community server it runs on a node, with no config file.

Servers created before the plugin shipped

If an older server shows the plugin as not detected, switch the server off and back on with its Enabled switch.

On an external server ​

A server you run yourself needs the plugin installed by hand. The panel walks you through it under Settings → Player Management on the server's page (administrators only):

  1. Download the plugin for the framework your server runs. It is published on the same game-server release as the match plugin, as PlayerManagement-sw-v*.zip for SwiftlyS2 and PlayerManagement-css-v*.zip for CounterStrikeSharp.
  2. Extract the zip into the server's game/csgo folder.
  3. Save the config the panel shows on the server, at:
    • SwiftlyS2: addons/swiftlys2/configs/plugins/PlayerManagement/config.jsonc
    • CounterStrikeSharp: addons/counterstrikesharp/configs/plugins/PlayerManagement/PlayerManagement.json
  4. Restart the server. The plugin shows as active within a minute.

The config holds three values:

jsonc
{
  "PlayerManagement": {
    "API_DOMAIN": "https://api.5stack.gg",
    "SERVER_ID": "<your-server-id>",
    "SERVER_API_PASSWORD": "<your-server-api-password>",
  },
}
json
{
  "Version": 1,
  "API_DOMAIN": "https://api.5stack.gg",
  "SERVER_ID": "<your-server-id>",
  "SERVER_API_PASSWORD": "<your-server-api-password>"
}

Environment variables with the same names take precedence over the file.

Update your panel first

The plugin can't reach a panel installed before it shipped; update the panel.

Checking that it works ​

Settings → Player Management shows Player Management plugin active with the plugin's version, runtime and last check-in, or Player Management plugin not detected. The Players tab shows the same state as an amber icon beside refresh.

Two RCON commands help from the server side:

CommandWhat it does
player_management_refreshSyncs with the panel now. Replies PlayerManagement: syncing N player(s), or names the settings that are missing
player_management_statusPrints the plugin's version and runtime, its last sync or error, the access list it holds and each player's sanctions

The panel sends player_management_refresh itself whenever you sanction a player or change the server's access list.

How it syncs ​

The plugin syncs with the panel every 30 seconds. If the panel cannot be reached, it keeps enforcing the last answer it had. It keeps working while an empty server hibernates.

Without the plugin ​

Kicking still works on a community server without the plugin, over RCON, and banning a player who is on the server kicks them once. Nothing stops them rejoining, though: bans, mutes and gags are recorded but not enforced, and nothing is recorded for the stats. When a sanction is saved but not enforced live, the panel's message says why: the plugin is not installed, or is installed but not configured.