Silent Server Console Commands
Server Console Commands
The following server console commands (for use in the server console or through rcon) commands have been added in the silEnT. Additionally, all of the shrubbot commands can be used on the server console as well, the leading "!" is optional.
Passes commands to the Omni-bot library. See the omni-bot documentation for full details.
Display a message to all users in the chat area
chatclient [slot#|name] [message]
Display a message to a specific user in the chat area. A partial name match can be used, and in this case the message will be sent to all users that match the partial name.
Clears the XP of all users.
Display a message to all users in the top of the screen.
Display a message to all users in the center of the screen.
Display a message to all users in the popup message area of the screen.
forcecvar [cvar] [value]
Forces a client cvar to have a certain value for all clients.
List KillRating info by team, sorted.
m [slot#|name] [message]
Send a private message to a player. A partial name match can be used, and in this case the private message will be sent to all users that match the partial name.
playsound [slot#|name] [filename]
Plays the specified sound file. The slot number/player name parameter is optional. If the slot number or playername is specified, only that player hears the sound, otherwise all players hear the sound. g_tyranny must be enabled in order to play a sound to a specific player.
playsound_env [slot#|name] [filename]
Plays the specified sound file, but the sound can be heard by everyone near the specified player. In contrast to playsound, both parameters are required for playsound_env. If playsound_env is used with one parameter (only the the filename is specified), then it is treated exactly as playsound [filename]. The further away nearby players are, the less they hear the sound. g_tyranny must be enabled in order to use this command.
List PlayerRating info by team, sorted.
Completely reset the PlayerRating system.
Reset only the player ratings part of the PlayerRating system.
Resets the total kills and deaths made by SMG weapons from all the players in the database.
- Requires silEnT version 0.3.0
Reloads the g_banners file. This is done by the server automatically, but if you decide to change the banners ingame, you can load the new settings with this command.
(Requires that g_tyranny be enabled) Loads the XPSave file from disk. There is no reason to call this function, silEnT loads the saved XP automatically as needed.
Prints information about the win probability model.
Commits the in-memory XPSave info to disk. Normally, silEnT does this automatically every time a map ends or the server is shut down.
Clears all the spreerecords stored in map statistics file (doesn't work during warmup or intermission).
Shows information about the scripts currently loaded by the Lua API engine.
Promotes the player to be a shoutcaster. Shoutcasters can see floating player names, dynamite counter, truck and tank health and all mines.
Removes players shoutcaster status.
When this command is issued, the server database is optimized during the next user database closing. This command is resource intensive and should not be used often. The target of usefullness is player databases that are very large and have lot of players who have not played on the server for a long time. Do note that it is more effective to keep the player amount in the database smaller then using this command. So be sure to check the g_dbUserMaxAge setting.
- Requires silEnT version 0.5.0
dbcleanup (Since: 0.7.0)
When this command is issued, the server database is cleaned during the next intermission and saved when the database closes next time. Usually during map change. This clean up checks that all the records can be searched and these records have properly formed GUIDs. All duplicated records are deleted from the main database so that the last used record is left. All player alias records, if aliases database is enabled, are checked that they have an associated record in the main database. Alias records without associated records in the main database are deleted. This command is resource intensive and for that reason it is executed during intermission. The command can be issued at any time during the map.
Shows information about the running silEnT server version.