Console commands: Difference between revisions

From Space Station 14 Wiki
(Escape pipe character that messed up one of the lines)
(formatting)
Line 7: Line 7:
! Command !! Description !! Notes
! Command !! Description !! Notes
|-
|-
| delaystart [seconds] || Delays the round start || Adds [seconds] seconds to the countdown. If no [seconds] provided, pauses or resumes the countdown
| {{kbd|delaystart [seconds]}} || Delays the round start || Adds [seconds] seconds to the countdown. If no [seconds] provided, pauses or resumes the countdown
|-
|-
| endround || Ends the round and moves the server to PostRound. || Only available while game is in a round.
| {{kbd|endround}} || Ends the round and moves the server to PostRound. || Only available while game is in a round.
|-
|-
| forcemap <map ID> || Forces the game to start with a given map next round. || <map ID> is a string. e.g. Box or Core
| {{kbd|forcemap <map ID>}} || Forces the game to start with a given map next round. || <map ID> is a string. e.g. Box or Core
|-
|-
| forcepreset <preset> || Forces a specific game preset to start for the current lobby. || Only available while game is in  the pre-round lobby
| {{kbd|forcepreset <preset>}} || Forces a specific game preset to start for the current lobby. || Only available while game is in  the pre-round lobby
|-
|-
| golobby || Enables the lobby and restarts the round ||  
| {{kbd|golobby}} || Enables the lobby and restarts the round ||  
|-
|-
| joingame <job id> <station id> || || <job id> is a string. <station id> is an integer.  
| {{kbd|joingame <job id> <station id>}} || || <job id> is a string. <station id> is an integer.  
|-
|-
| observe || joins round as a non-admin observer || Only available while game is in a round. Player must be in lobby
| {{kbd|observe}} || joins round as a non-admin observer || Only available while game is in a round. Player must be in lobby
|-
|-
| respawn [player id] || Respawns a player, kicking them back to the lobby. || If no [player id] passed, respawn self
| {{kbd|respawn [player id]}} || Respawns a player, kicking them back to the lobby. || If no [player id] passed, respawn self
|-
|-
| restartround || Ends the current round and starts the countdown for the next lobby. || Only available while game is in a round
| {{kbd|restartround}} || Ends the current round and starts the countdown for the next lobby. || Only available while game is in a round
|-
|-
| setgamepreset <preset> || Sets the game preset for the current round. ||  
| {{kbd|setgamepreset <preset>}} || Sets the game preset for the current round. ||  
|-
|-
| startround || Ends PreRoundLobby state and starts the round. || Only available while game is in the pre-round lobby
| {{kbd|startround}} || Ends PreRoundLobby state and starts the round. || Only available while game is in the pre-round lobby
|-
|-
| toggledisallowlatejoin <nowiki><true|false></nowiki> || Allows or disallows latejoining during mid-game. ||  
| {{kbd|toggledisallowlatejoin <nowiki><true|false></nowiki>}} || Allows or disallows latejoining during mid-game. ||  
|-
|-
| toggleready <player id> || ||
| {{kbd|toggleready <player id>}} || ||
|}   
|}   
    
    
Line 40: Line 40:
! Header text !! Header text !! Header text
! Header text !! Header text !! Header text
|-
|-
| addbodypart <> || Example || Example
| {{kbd|addbodypart <>}} || Example || Example
|-
|-
| Example || Example || Example
| {{kbd|Example}} || Example || Example
|}
|}

Revision as of 08:04, 24 June 2024

Console Commands can be used by admins with the "/" key.


GameTicking commands
Command Description Notes
delaystart [seconds] Delays the round start Adds [seconds] seconds to the countdown. If no [seconds] provided, pauses or resumes the countdown
endround Ends the round and moves the server to PostRound. Only available while game is in a round.
forcemap <map ID> Forces the game to start with a given map next round. <map ID> is a string. e.g. Box or Core
forcepreset <preset> Forces a specific game preset to start for the current lobby. Only available while game is in the pre-round lobby
golobby Enables the lobby and restarts the round
joingame <job id> <station id> <job id> is a string. <station id> is an integer.
observe joins round as a non-admin observer Only available while game is in a round. Player must be in lobby
respawn [player id] Respawns a player, kicking them back to the lobby. If no [player id] passed, respawn self
restartround Ends the current round and starts the countdown for the next lobby. Only available while game is in a round
setgamepreset <preset> Sets the game preset for the current round.
startround Ends PreRoundLobby state and starts the round. Only available while game is in the pre-round lobby
toggledisallowlatejoin <true|false> Allows or disallows latejoining during mid-game.
toggleready <player id>


Administration Commands
Header text Header text Header text
addbodypart <> Example Example
Example Example Example