Console commands: Difference between revisions
From Space Station 14 Wiki
formatting |
→Administration Commands: formatting, wording, typos |
||
(5 intermediate revisions by 3 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" | ||
|- | |- | ||
! 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 | | {{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 | | {{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}} || | | {{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. || "Preset" is the gamemode for the 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>}} || Readies the target player in the pre-game lobby. ||Can only be used while the game is in the pre-round lobby. | ||
|} | |} | ||
== Administration Commands == | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! | ! Command !! Description !! Notes | ||
|- | |||
| {{kbd|addbodypart <>}} || todo || todo | |||
|- | |||
| {{kbd|aghost [username]}} || Turns target into an administrator ghost. || {{kbd|[username]}} is optional, just typing {{kbd|aghost}} will turn you into the ghost. | |||
|- | |||
| {{kbd|kick [username]}} | |||
| Forcefully disconnects a player from the server. | |||
| They will be able to immediately join back after being kicked. | |||
A longer term punishment should be a job or server ban. | |||
|- | |- | ||
| {{kbd| | | {{kbd|ban [username] <reason>}} | ||
| Forcefully disconnects a player from the server, does not allow them to rejoin. | |||
| It is possible to ban a player temporarily through the ahelp menu (opens with {{button|F1}} key) by setting a period of time to ban for. | |||
|- | |- | ||
| {{kbd| | | {{kbd|ghostkick [username]}} | ||
| Forcefully disconnects a player from the server, but for the player it appears as a network error (network packed drop). | |||
| A way to stealthly kick someone without having them know that they were kicked from the game. | |||
|} | |} |
Latest revision as of 16:00, 22 January 2025
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. | "Preset" is the gamemode for the 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> | Readies the target player in the pre-game lobby. | Can only be used while the game is in the pre-round lobby. |
Administration Commands
Command | Description | Notes |
---|---|---|
addbodypart <> | todo | todo |
aghost [username] | Turns target into an administrator ghost. | [username] is optional, just typing aghost will turn you into the ghost. |
kick [username] | Forcefully disconnects a player from the server. | They will be able to immediately join back after being kicked.
A longer term punishment should be a job or server ban. |
ban [username] <reason> | Forcefully disconnects a player from the server, does not allow them to rejoin. | It is possible to ban a player temporarily through the ahelp menu (opens with F1 key) by setting a period of time to ban for. |
ghostkick [username] | Forcefully disconnects a player from the server, but for the player it appears as a network error (network packed drop). | A way to stealthly kick someone without having them know that they were kicked from the game. |