Console commands: Difference between revisions

From Space Station 14 Wiki
No edit summary
(added headers)
 
(2 intermediate revisions by the same user 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
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|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.
|-
|-
| {{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. Empty string clears the forced next map.
| {{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.
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|golobby}} || Enables the lobby and restarts the round ||  
| {{kbd|golobby}} || Enables the lobby and restarts the round. ||  
|-
|-
| {{kbd|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.  
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|setgamepreset <preset>}} || Sets the game preset for the current round. ||  
| {{kbd|setgamepreset <preset>}} || Sets the game preset for the current round. ||  
|-
|-
| {{kbd|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.
|-
|-
| {{kbd|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. ||  
|-
|-
| {{kbd|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
|-
|-
| {{kbd|addbodypart <>}} || Example || Example
| {{kbd|addbodypart <>}} || todo || todo
|-
|-
| {{kbd|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