Console commands: Difference between revisions

From Space Station 14 Wiki
(Escape pipe character that messed up one of the lines)
(added headers)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{unfinished}}
Console Commands can be used by admins with the "/" key.   
Console Commands can be used by admins with the "/" key.   


== GameTicking commands ==


{| class="wikitable sortable"
{| class="wikitable sortable"
|+ GameTicking commands
|-
|-
! 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 {{c|[seconds]}} seconds to the countdown. If no {{c|[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 {{c|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. || {{c|<map ID>}} is a string. e.g. Box or Core. Empty string clears the forced next map.
|-
|-
| 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>}} || todo || {{c|<job id>}} is a string. {{c|<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 {{c|[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 {{c|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>}} || todo ||
|}   
|}   
    
    
 
== Administration Commands ==
{| class="wikitable sortable"
{| class="wikitable sortable"
|+ Administration Commands
|-
|-
! Header text !! Header text !! Header text
! Command !! Description !! Notes
|-
|-
| addbodypart <> || Example || Example
| {{kbd|addbodypart <>}} || todo || todo
|-
|-
| Example || Example || Example
| {{kbd|Example}} || Example || Example
|}
|}

Latest revision as of 09:30, 26 June 2024

This page is unfinished!

This page has been recently created or hasn't been been completed yet.

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. Empty string clears the forced next map.
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> todo <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> todo

Administration Commands

Command Description Notes
addbodypart <> todo todo
Example Example Example