Scripts.included.gg afk punish
From GunGame5 Documentation
Description
gg_afk_punish is used to punish players who are "Away from Keyboard" for a certain number of rounds.
- The number of rounds can be set to the desired amount for your server.
- There are 2 ways in which afk players can be punished: Moved to spectator or Kicked from server
Variables
gg_afk_punish contains the following cvars that can be found in your server's ../cfg/gungame51/gg_punishment_settings.cfg.cfg file:// ============================================================================ // >> AFK ROUNDS // ============================================================================ // Options: // 0 = Disabled // # = The number of rounds the player can be AFK before punishment // occurs. // Default Value: 0 // The number of rounds a player can be AFK before punishment occurs. gg_afk_rounds 0 // ============================================================================ // >> AFK PUNISHMENT // ============================================================================ // Notes: // * Requires "gg_afk_rounds 1" or higher // Options: // 0 = No punishment. // 1 = Kick the player. // 2 = Move the player to spectator. // Default Value: 0 // The punishment for players who are AFK longer than "gg_afk_rounds". gg_afk_punish 0