From Torch Wiki
Jump to navigation Jump to search

Commands are actions you can perform by typing them into the ingame chat or Torch's chat window. Plugins can add their own sets of commands.

All commands are prefixed with !


Command arguments require specific kinds of input. Arguments wrapped in < > are required, arguments wrapped in [ ] are optional with default values specified.

Name Type
bool Boolean (true or false)
int Integer (whole number)
single/double Number
string Text (normal text, wrap in quotes if it contains spaces)

Torch Commands

Command Description Usage Example Permission
help Displays help for a command help <command> !help None
longhelp Displays help for all loaded commands longhelp !longhelp None
ver Shows the current Torch version ver !ver None
plugins Lists the currently loaded plugins plugins !plugins None
stop Stops the server stop [bool save = true] !stop true Admin
restart Restarts the server restart [int countdownSeconds = 10] [bool save = true] !restart false Admin
restart cancel Cancels a pending restart restart cancel !restart cancel Admin
notify Shows a message as a notification in the middle of all players' screens. notify <string message> [int disappearTimeMs = 2000] [string font = White/Red/Green/Blue/DarkBlue] !notify "Maintainance shutdown in 5 Minutes" 3000 Red Admin
save Saves the game save !save Admin
uptime Check how long the server has been online uptime !uptime Admin
whitelist Enables or disables the whitelist. if enabled, only people added to the whitelist can enter the server whitelist <on/off> !whitelist on Admin
whitelist add Adds a SteamID to the whitelist whitelist add <uInt64 steamID> !whitelist add 76561198252292172 Admin
whitelist remove Removes a SteamID from the whitelist whitelist remove <uInt64 steamID> !whitelist remove 76561198252292172 Admin

You can find other commands on the pages of the plugins that implement them:



Other Plugins