In order to execute any admin commands on the server, the player needs to log in as an admin using adminlogin <adminpassword>. Once logged in as admin, these commands can be executed using admin command <paramlist>.
ForceTeamSwitch
* Usage: admin forceteamswitch <playername>
* Forces the given player to switch teams. If the player is alive he will be killed first.
Kick
* Usage: admin kick <playername>
* Kicks specified player from the server.
KickBan
* Usage: admin kickban <playername>
* Bans specified player from the server by Steam ID.
o Remarks
o The banlist lives in GCGame.ini, in section Engine.AccessControl. The array 'BannedIDs' specifies two values per ban: the banned Steam ID and the name at the time of the ban, which is not used in determining ban status. This list can be modified directly (though not at runtime), hypothetically allowing shared banlists.
o IMPORTANT! Due to a low-level engine bug, the banlist requires a default blank ban (which you may see as BannedID=<0>, NameWhenBanned="") for the first element of the array. Sorry for the inconvenience!
UnBan
* Usage: admin unban <playername>
* Removes a ban from the banlist based on playername.
o Remarks
o If there are multiple instances of the name with different Steam ID's, this will remove the first one found. See the Ban command for information on how the banlist is stored.
Kill
* Usage: admin kill <playername>
* Kills the target player if alive.
MakeSpectate
* Usage: admin makespectate <playername>
* Turns the given player into a spectator until they leave the server.
o Remarks
o Spectate mode is basically an online version of the demo playback. This feature is still a little rough around the edges, and there is currently know way of making a spectator a player again.
o Spectators count towards the total number of players in a server
NextMap
* Usage: admin nextmap
* Cycles to the next map in the map queue (for dedicated servers this is stored in DedicatedPlaylist).
BigSay
* Usage: admin bigsay <message>
* Chats a text message to the Message of the Day widget for all players in the game.
SetAutoBalance
* Usage: admin setautobalance <boolean>
* Changes the status of server-side auto-balance.
o Remarks
o When enabled, this auto-balance system will:
+ Disallow team changes that unbalance the teams during the game
+ Will perform an auto-balance during intermission |