-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commands
Nick edited this page May 19, 2025
·
10 revisions
GameModeManager has several server-side and client-side commands available. Some commands are listed twice for brevity.
Note
Some commands listed below might be disabled according to your Configuration settings.
The commands below can be run by the server, such as within your mode configuration files.
Command | Description |
---|---|
css_gamemode | Sets the current mode. |
css_warmupmode | Schedules and sets the game mode to be used during the warmup period. |
css_endwarmup | Ends the custom warmup mode, transitioning to the scheduled or default game mode. |
css_startwarmup | Immediately starts a custom warmup mode with the specified mode. |
css_timelimit <true|false> | Enables or disables a time limit for the map. Optionally, you can specify the time limit in seconds. |
css_rtv_extend <true|false> | Enables or disables extending the current map. |
css_rtv_enabled <true|false> | Enables or disables the Rock the Vote (RTV) system. |
css_rtv_duration | Sets the duration of an RTV vote in seconds. |
css_rtv_max_extends | Sets the maximum number of times a map can be extended via RTV. |
css_rtv_end_of_map_vote <true|false> | Enables or disables a vote to change the map at the end of the current map. |
css_rtv_rounds_before_end | Sets the number of rounds remaining before an end-of-map vote can be initiated. |
css_rtv_seconds_before_end | Sets the number of seconds remaining before an end-of-map vote can be initiated. |
css_rtv_start_vote <true|false> | Starts an RTV vote with a specified duration. You can immediately change the map or game mode. |
The below admin commands can be used by an admin with @css/changemap permissions.
Command | Description |
---|---|
!maps | Displays an admin menu for changing the map. |
!modes | Displays an admin menu for changing the game mode. |
!settings | Displays an admin menu for enabling or disabling custom game settings. |
!mode | Changes the game mode to the mode specified. For example, for mg_surf you would do !mode surf. |
!map | Changes the map to the map specified. The workshop ID is optional. |
!timelimit <true|false> | Sets the time limit for the current map. |
!setting <enable|disable> | Enables or disables a custom game setting. For example, for enable_movement_unlock.cfg you would do !setting movement_unlock. |
Player commands are commands that standard players with no administrative rights can use.
Command | Description |
---|---|
!rtv | Rocks the vote! |
!game | Displays a dynamic menu of all player commands. |
!nominate | Nominates a map or game mode for the RTV vote. |
!nextmap | Displays the next map. |
!nextmode | Displays the next mode. |
!timeleft | Displays the time left in the current map. |
!currentmap | Displays the current map. |
!changemap | Displays a dynamic menu of all per-map votes that can be created. |
!currentmode | Displays the current game mode. |
!changemode | Displays a menu of all per-mode votes that can be created. |
!changesetting | Displays a menu of all per-setting votes that can be created. |