View table: Console_Commands
Table structure:
- cheat - Boolean
- command - String
- arguments - String
- description - Wikitext
- notes - Wikitext
This table has 243 rows altogether.
Page | cheat | command | arguments | description | notes |
---|---|---|---|---|---|
Console Commands (edit) | No | adjustprice | [item name/id] [price] [add/mult] | Recursively prints out expected price adjustments for items derived from this item. |
Arguments 1 and 2 are required. |
Console Commands (edit) | No | analyzeitem | [item name/id] | Analyzes one item for exploits. |
Argument 1 is required. |
Console Commands (edit) | No | autohull | Generates Hulls in the Submarine Editor. |
||
Console Commands (edit) | No | autoitemplacerdebug/outfitdebug | Toggle automatic item placer debug info on/off. The automatically placed items are listed in the debug console at the start of a round. |
||
Console Commands (edit) | No | autorestart | [true/false] | Enable or disable round auto-restart. |
Can only be executed in Multiplayer. |
Console Commands (edit) | No | autorestartinterval | [seconds] | Set how long the server waits between rounds before automatically starting a new one. If set to 0, autorestart is disabled. |
Argument 1 is required |
Console Commands (edit) | No | autorestarttimer | [seconds] | Set the current autorestart countdown to the specified value. |
Argument 1 is required |
Console Commands (edit) | No | ban | [player name] | Kick and ban the player from the server. |
Argument 1 is required. |
Console Commands (edit) | No | banendpoint/banip | [steam id/ip address] [seconds] [reason] | Ban the IP address/SteamID from the server. |
Argument 1 is required. |
Console Commands (edit) | No | banid | [client id] | Kick and ban the player with the specified client ID from the server. You can see the IDs of the clients using the command "clientlist". |
Argument 1 is required. |
Console Commands (edit) | No | bindkey | [key] [command] | Binds a key to a command. |
Arguments 1 and 2 are required. |
Console Commands (edit) | No | botcount | [amount] | Set the number of bots in the crew in multiplayer. |
Argument 1 is required |
Console Commands (edit) | No | botspawnmode | [fill/normal] | Set how bots are spawned in the multiplayer. |
Argument 1 is required |
Console Commands (edit) | No | bumpitem | [velocity] | ||
Console Commands (edit) | No | calculatehashes | [content package] | Show the MD5 hashes of the files in the selected content package. If the name parameter is omitted, the first content package is selected. |
|
Console Commands (edit) | No | camerasettings | [default zoom] [zoom smoothness] [move smoothness] [min zoom] [max zoom] | debug command for testing camera settings. The values default to 1.1, 8.0, 8.0, 0.1 and 2.0. |
|
Console Commands (edit) | No | campaigndestination/setcampaigndestination | [destination index] | Set the location to head towards in the currently active campaign. |
Can only be executed in Campaign mode. |
Console Commands (edit) | No | campaigninfo/campaignstatus | Display information about the state of the currently active campaign. |
Can only be executed in Campaign mode. |
|
Console Commands (edit) | No | checkcrafting | Checks item deconstruction & crafting recipes for inconsistencies. |
||
Console Commands (edit) | No | checkcraftingexploits | [max allowed cost] | Finds outright item exploits created by buying store-bought ingredients and constructing them into sellable items. |
|
Console Commands (edit) | No | checkduplicateloca | |||
Console Commands (edit) | No | checkduplicates | [language id] | Checks the given language for duplicate translation keys and writes to file. |
|
Console Commands (edit) | No | checkmissingloca | |||
Console Commands (edit) | No | cleanbuild | |||
Console Commands (edit) | No | clientlist | List all the clients connected to the server. |
Can only be executed in Multiplayer. |
|
Console Commands (edit) | No | comparelocafiles | [file 1] [file 2] | ||
Console Commands (edit) | No | converttowreck | Replaces items and walls with wrecked variants. |
||
Console Commands (edit) | No | copycharacterinfotoclipboard | |||
Console Commands (edit) | No | copyitemnames | |||
Console Commands (edit) | No | crash | Crashes the game. |
||
Console Commands (edit) | No | csvtoxml | Converts .csv localization files in Content/NPCConversations & Content/Texts to .xml for use in-game. |
||
Console Commands (edit) | No | debugdrawlocalization | [true/false] | Toggle the localization debug drawing mode on/off (client-only). Colors all text that hasn't been fetched from a localization file magenta, making it easier to spot hard-coded or missing texts. |
|
Console Commands (edit) | No | deconstructvalue | [item name/id] | Views and compares deconstructed component prices for this item. |
Argument 1 is required. |
Console Commands (edit) | No | difficulty/leveldifficulty | [0-100] | Change the level difficulty setting in the server lobby. |
Argument 1 is required |
Console Commands (edit) | No | dumpentitytexts | [destination path] | gets the names and descriptions of all entity prefabs and writes them into a file along with xml tags that can be used in translation files. If the filepath is omitted, the file is written to Content/Texts/EntityTexts.txt |
|
Console Commands (edit) | No | dumpeventtexts | [destination path] | gets the texts from event files and and writes them into a file along with xml tags that can be used in translation files. If the filepath is omitted, the file is written to Content/Texts/EventTexts.txt |
|
Console Commands (edit) | No | dumpids | [amount] [file name] | ||
Console Commands (edit) | No | dumptexts | [destination path] | Extracts all the texts from the given text xml and writes them into a file (using the same filename, but with the .txt extension). If the filepath is omitted, the EnglishVanilla.xml file is used. |
|
Console Commands (edit) | No | dumptofile | [file name] | Outputs the contents of the debug console into a text file in the game folder. If the filename argument is omitted, "consoleOutput.txt" is used as the filename. |
|
Console Commands (edit) | No | editcharacters/charactereditor | Switch to the Character Editor to edit/create the ragdolls and animations of characters. |
Switching between the character editor and the game view may cause odd behaviour or bugs. |
|
Console Commands (edit) | No | editevents/eventeditor | Switch to the Event Editor to edit scripted events. |
||
Console Commands (edit) | No | editlevels/leveleditor | Switch to the Level Editor to edit levels. |
||
Console Commands (edit) | No | editparticles/particleeditor | Switch to the Particle Editor to edit particle effects. |
||
Console Commands (edit) | No | editsprites/spriteeditor | Switch to the Sprite Editor to edit the source rects and origins of sprites. |
||
Console Commands (edit) | No | enablecheats | Enables cheat commands and disables Steam achievements during this play session. |
||
Console Commands (edit) | No | endgame/endround/end | End the current round. |
Can only be executed in Multiplayer. |
|
Console Commands (edit) | No | entitydata | [entity id] | Argument 1 is required. |
|
Console Commands (edit) | No | eventdata | [latest/event id] | Argument 1 is required. |
|
Console Commands (edit) | No | eventstats | [0-7] [true/false] | Argument 2 determines if the entire log will be displayed instead of a summary. |
|
Console Commands (edit) | No | fastforward | [seconds] | Fast forwards the game by x seconds. Note that large numbers may cause a long freeze. |
|
Console Commands (edit) | No | findentityids | [entity name] | ||
Console Commands (edit) | No | flip | Flip the currently controlled character. |
||
Console Commands (edit) | No | followsub | Toggle whether the camera should follow the nearest submarine (client-only). |
||
Console Commands (edit) | No | forcelocationtypechange | [locationname] [locationtype] | ||
Console Commands (edit) | No | forcetimeout | Immediately cause the client to time out if one is running. |
||
Console Commands (edit) | No | fpscounter | Toggle the FPS counter. |
||
Console Commands (edit) | No | game | Go to the "in-game" view. |
||
Console Commands (edit) | No | gamemode | [name/index] | Select the game mode for the next round. The parameter can either be the name or the index number of the game mode (0 = sandbox, 1 = mission, etc). |
Argument 1 is required |
Console Commands (edit) | No | getprefabinfo | [prefab id] | Argument 1 is required. |
|
Console Commands (edit) | No | getproperties | Goes through the MapEntity prefabs and checks their serializable properties for localization issues. |
||
Console Commands (edit) | No | givecommandperm | [client id/steam id/ip address/player name] [all/command] | Gives the specified client the permission to use the specified console commands. |
Argument 1 is required. |
Console Commands (edit) | No | giveperm | [client id/steam id/ip address/player name] [all/permission] | Grants administrative permissions to the specified client. |
Argument 1 is required. |
Console Commands (edit) | No | giverank | [client id/steam id/ip address/player name] [rank] | Argument 1 is required. |
|
Console Commands (edit) | No | help | [command] | Displays a list of commands and their descriptions. |
|
Console Commands (edit) | No | hudlayoutdebugdraw/debugdrawhudlayout | Toggle the debug drawing mode of HUD layout areas on/off. |
||
Console Commands (edit) | No | itemassemblies | List all the item assemblies available for spawning. |
||
Console Commands (edit) | No | itemcomponentdocumentation | [destination path] | Argument 1 defaults to |
|
Console Commands (edit) | No | items/itemlist | List all the item prefabs available for spawning. |
||
Console Commands (edit) | No | kick | [player name] | Kick a player out of the server. |
Argument 1 is required. |
Console Commands (edit) | No | kickid | [client id] | Kick the player with the specified client ID out of the server. You can see the IDs of the clients using the command "clientlist". |
Argument 1 is required. |
Console Commands (edit) | No | killdisconnectedtimer | [seconds] | Set the time after which disconnect players' characters get automatically killed. |
Argument 1 is required |
Console Commands (edit) | No | listcloudfiles | Lists all of your files on the Steam Cloud. |
||
Console Commands (edit) | No | listcoroutines | Lists all coroutines currently running. |
||
Console Commands (edit) | No | listtasks | Lists all asynchronous tasks currently in the task pool. |
||
Console Commands (edit) | No | loadtexts | [source path] [destination path] | Loads all lines of text from a given .txt file and inserts them sequientially into the elements of an xml file. If the file paths are omitted, EnglishVanilla.txt and EnglishVanilla.xml are used. |
|
Console Commands (edit) | No | lock | Lock movement of the main submarine. |
||
Console Commands (edit) | No | lockx | Lock horizontal movement of the main submarine. |
||
Console Commands (edit) | No | locky | Lock vertical movement of the main submarine. |
||
Console Commands (edit) | No | mainmenu/menu | Go to the main menu. |
||
Console Commands (edit) | No | messagebox/guimessagebox | [header] [msg] [default/ingame] | Creates a message box. |
|
Console Commands (edit) | No | mirror | Mirror the currently controlled character. |
||
Console Commands (edit) | No | mission | [name] | Select the mission type for the next round. |
Argument 1 is required |
Console Commands (edit) | No | msg | [msg] | Send a chat message with no sender specified. |
Can only be executed in Multiplayer. |
Console Commands (edit) | No | multiplylights | [value] | Multiplies the colors of all the static lights in the sub with the given Vector4 value (for example, 1,1,1,0.5). |
Can only be executed from the Submarine Editor. |
Console Commands (edit) | No | mute | [player name] | Prevent the client from speaking through the voice chat. |
Can only be executed in Multiplayer. |
Console Commands (edit) | No | netstats | Toggles the visibility of the network statistics UI. |
||
Console Commands (edit) | No | pause | Toggles the pause state when playing offline |
||
Console Commands (edit) | No | playovervc | [file name] | Plays a sound over voice chat. |
|
Console Commands (edit) | No | printproperties | Goes through the currently collected property list for missing localizations and writes them to a file. |
||
Console Commands (edit) | No | printreceivertransfers | |||
Console Commands (edit) | No | printsendertransfers | |||
Console Commands (edit) | No | querylobbies | Queries all SteamP2P lobbies |
||
Console Commands (edit) | No | quickstart | [sub name] [difficulty] [level gen parameters identifier] | Starts a singleplayer sandbox |
Can only be executed from the main menu. |
Console Commands (edit) | No | randomizeseed | Toggles level seed randomization on/off. |
Can only be executed in Multiplayer. |
|
Console Commands (edit) | No | readycheck | Commence a ready check in multiplayer. |
||
Console Commands (edit) | No | refreshrect | Updates the dimensions of the selected items to match the ones defined in the prefab. Applied only in the subeditor. |
||
Console Commands (edit) | No | reloadcorepackage | Cannot be executed from within a game or from the Submarine Editor. |
||
Console Commands (edit) | No | removecharacter | [character name] | Immediately deletes the specified character. |
Argument 1 is required. |
Console Commands (edit) | No | removefromcloud | [file name/index] | Removes a file from Steam Cloud. |
Argument 1 is required. |
Console Commands (edit) | No | resetall | Reset all items and structures to prefabs. Only applicable in the subeditor. |