Console commands: Difference between revisions
Jump to navigation
Jump to search
imported>Aliser added headers |
Added Imported Page template |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Imported Page}} | |||
{{unfinished}} | {{unfinished}} | ||
| Line 27: | Line 28: | ||
| {{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 {{c|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. | ||
| Line 33: | Line 34: | ||
| {{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. | ||
|} | |} | ||
| Line 43: | Line 44: | ||
| {{kbd|addbodypart <>}} || todo || todo | | {{kbd|addbodypart <>}} || todo || todo | ||
|- | |- | ||
| {{kbd| | | {{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|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|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 09:05, 31 October 2026
Console Commands can be used by admins with the "/" key.
GameTicking commands
| Command | Description | Notes |
|---|---|---|
| Template:Kbd | Delays the round start. | Adds Template:C seconds to the countdown. If no Template:C provided, pauses or resumes the countdown. |
| Template:Kbd | Ends the round and moves the server to Template:C. | Only available while game is in a round. |
| Template:Kbd | Forces the game to start with a given map next round. | Template:C is a string. e.g. Box or Core. Empty string clears the forced next map. |
| Template:Kbd | Forces a specific game preset to start for the current lobby. | Only available while game is in the pre-round lobby. |
| Template:Kbd | Enables the lobby and restarts the round. | |
| Template:Kbd | todo | Template:C is a string. Template:C is an integer. |
| Template:Kbd | Joins round as a non-admin observer. | Only available while game is in a round. Player must be in lobby. |
| Template:Kbd | Respawns a player, kicking them back to the lobby. | If no Template:C passed, respawn self. |
| Template:Kbd | Ends the current round and starts the countdown for the next lobby. | Only available while game is in a round. |
| Template:Kbd | Sets the game preset for the current round. | "Preset" is the gamemode for the round. |
| Template:Kbd | Ends Template:C state and starts the round. | Only available while game is in the pre-round lobby. |
| Template:Kbd | Allows or disallows latejoining during mid-game. | |
| Template:Kbd | 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 |
|---|---|---|
| Template:Kbd | todo | todo |
| Template:Kbd | Turns target into an administrator ghost. | Template:Kbd is optional, just typing Template:Kbd will turn you into the ghost. |
| Template:Kbd | 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. |
| Template:Kbd | 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. |
| Template:Kbd | 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. |