teeworlds logo
 

Server Commands

To kick players from the server and to do other similar things, you have to use the server commands. This doc will show you these. If you want to know how to set up a server, read the Server Setup doc. For server settings, see the Server Settings doc.

Commands

CommandSyntaxDescription
echoecho textPrint a text in console
execexec fileExecute the commands in the file
kickkick idKick the user with the specified id directly
banban ip/id minutesBan the ip from the server for the given time
unbanunban ipUnban the ip
bansbansShow a list of bans
statusstatusList the players' id, ip, name and score
shutdownshutdownShut the server down
reloadreloadReload the map
recordrecord filenameStart recording
stoprecordstoprecordStop recording
tunetune variable valueTune the variable. See the Server Tuning doc
tune_resettune_resetReset the tuning to default
tune_dumptune_dumpMake a dump that shows what tuning is used
change_mapchange_map mapnameChange to the specified map
restartrestart timeRestart the round (time is optional)
broadcastbroadcast textBroadcast the text
saysay textSend a chat message
set_teamset_team client_id team_idMove a player to a specific team (0 = red, 1 = blue, -1 = spectators)
set_team_allset_team_all team_idMove all players to a specific team
add_voteadd_vote description commandAdd a vote option for the provided command with the provided description ( description is optional)
remove_voteremove_vote commandremove a vote option
force_voteforce_vote type option/player_id reasonForce a certain vote to be executed immedeatly (type can be "option", "kick" or "spectate")
clear_votesclear votesremove all vote options
votevote yes/noForce the end result of the vote to yes/no