DocsHostingPlayers and moderation

Anti-cheat

Servers refuse the events only a host may send, and check that a shot's target lies near where the shooter aims. It's on by default, whether or not dedicated.toml mentions it.

"enforce"
The default. Refuses such events, logs them and kicks the sender, with the usual kick cooldown: 10 minutes for a first kick, longer for repeats. It never bans anyone by itself.
"detect"
Refuses and reports them, without kicking anyone.
"off"
Nothing is checked.

Set it under [defaults] for every server, or in one [[server]] block. Changing it restarts the server once it has no players.

dedicated.toml
[defaults]
anti_cheat = "enforce"

[[server]]
name = "Custom Sandbox"
port = 49178
anti_cheat = "detect"   # log only, no kicks
  • A shot whose target lies away from the shooter's aim is fired along the aim instead. One such shot can come from a player whose game showed something in another place for a moment, so it's reported only when it names a player or a vehicle and the same player sends several within a few seconds. Whether that kicks is the hit check's own setting.
  • RECLAIMER_DEDICATED_ANTI_CHEAT sets the [defaults] value, for example in Docker's .env; a server's own setting wins.
  • dedicated check and the remote console's status show the setting. In JSON, status gives anti_cheat and anti_cheat_active, which is false while the setting is "off" or the game's playlist entry turns the anti-cheat off.
  • Each report goes in the server's log, such as anti-cheat: Bravo (player ID …) sent game data that a normal game never sends (R73); blocked, and to remote-console tools as a cheat event with the player's name and ID, whether they were kicked, and a short reference code. If you think a player was kicked wrongly, report it on Discord with that code and the server log.

The hit check

The hit check, which compares a shot's target with where the shooter aims, logs and reports what it finds and kicks nobody unless the server asks it to. anti_cheat_hits takes the same three values for the hit check alone:

dedicated.toml
[defaults]
anti_cheat = "enforce"        # kicks for everything else
anti_cheat_hits = "enforce"   # kicks for the hit check's reports too; "detect" when unset
anti_cheat_hits_rejoin = "10m" # how long such a kick keeps a player out
  • Unset, it's "detect": the shot is still fired along the aim, and the report goes to the log and to cheat events. status reads anti-cheat enforce (hit check detect).
  • anti_cheat = "off" turns both off.
  • anti_cheat_hits_rejoin sets how long a kick by the hit check keeps its player out: "none" (the default: they may join again at once), a length such as "10m", or "ladder" for the usual kick ladder.
  • A change applies from the next game. A game hosted from the game only logs the hit check's reports.

Single games without it

For a map or game type with unusual physics or scripts that risks a wrong kick, turn the anti-cheat off for that game alone: turn off ANTI-CHEAT for the selected game in the playlist editor, or add "anti_cheat": false to its entry in the playlist file. The other games in the rotation stay protected. While such a game is played, status reads anti-cheat enforce (hit check detect) (off for this game).

Playlist entry
{ "map": "Maps/my_arena.json", "game": "Game Modes/my_mode.json", "anti_cheat": false }

Games hosted from the game

Multiplayer games hosted from a lobby have the anti-cheat on by default too. Turn it off or on under Host Settings → Anti-cheat. On, it works as "enforce". See how to play.