Commands
Introduction
The commands listed below can be executed by either typing it into the ingame chat.
If you want to use them from your console, remove the !
in front of them.
Player Commands
<requiredParameter>
marks parameters that are required for commands
Command |
Alias |
Description |
---|---|---|
|
|
Mark the player as ready |
|
Pause the match in the next freezetime |
|
|
Unpause the match. To continue the match, both teams have to |
|
|
|
Kill the current player if allowed by the Matchconfig. |
|
Select something in the current menu. |
|
|
Vote to stay at the current team. |
|
|
Vote to switch the current team. |
Admin/Rcon Commands
These commands are available through rcon or to users with the required permissions. See CounterstrikeSharp Configs
<requiredParameter>
marks parameters that are required for commands
[optionalParameter]
marks parameters that can be optionally be added to commands
Command |
Alias |
Description |
---|---|---|
|
|
Load a Matchconfig to initialize a match |
|
|
Load a Matchconfig to initialize a match. The file path must be either rooted or relative to |
|
Restores match in the given round. |
|
|
|
Creates a new match without preloaded configuration. |
|
|
After match configuration is done with |
|
Dumps the current matchstate and config to console |
|
|
|
Danger! Stops the current match immediately and resets the server. |
|
Add a map to the map pool during match creation. |
|
|
Remove a map from the map pool during match creation. |
|
|
Sets the number of players per team. |
|
|
Sets the max number of rounds. |
|
|
Sets the max number of overtime rounds. |
|
|
Sets the teammode. |
|
|
Shows the match configuration for the current match or matchcreation. |
|
|
Returns the current match state TODO see config doku |
|
|
Returns the current match score like “Team 1 [4] vs Team 2 [5]” |
|
|
Returns the teamname of team 1 |
|
|
Returns the teamname of team 2 |
|
|
Returns the side of team 1 |
|
|
Returns the side of team 2 |
|
|
Returns the score of team 1 for the current map |
|
|
Returns the score of team 2 for the current map |
|
|
Returns the seriesscore of team 1 |
|
|
Returns the seriesscore of team 2 |
|
|
Returns the current map score as json (Example) |
|
|
Returns the seriesscore as json TODO Example |
mapscore_json Example
{
"Team1": {
"Name": "Team 1",
"Score": 1,
"StartingSide": 3,
"CurrentSide": 3
},
"Team2": {
"Name": "Team 2",
"Score": 2,
"StartingSide": 2,
"CurrentSide": 2
}
}