> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CS2 Server Commands List: Console Commands for Admins

> A list of CS2 server commands for admins: change the map, restart a match, kick players, manage bots, Workshop maps, configs and GOTV in the console.

CS2 server commands are typed in the server console, not in your own game console. On a FREAKHOSTING server, open your server in the Game Panel, click **Console** and type a command such as `changelevel de_mirage` (change map), `mp_restartgame 1` (restart the match), `mp_warmup_end` (end warmup) or `bot_kick` (remove bots). This page lists the commands server owners use most.

## Where do I type CS2 server commands?

| Where | When to use it |
| - | - |
| **Game Panel Console** | Always works. Type the command and press Enter. See [how to use the server console](https://help.freakhosting.com/portals/game-panel/how-to-use-the-server-console.md). |
| **RCON tool** | Remote administration from another program. Set an **RCON password** in **Server settings** > **Advanced**. RCON does not work from inside the game. |
| **Config file** | Put commands in a `.cfg` file and run it with `exec`. See [how to execute custom configs](https://help.freakhosting.com/games/counter-strike-2/executing-custom-configs-practice-live.md). |
| **In-game chat** | Only with an admin plugin, for example `!map de_mirage` with CS2-SimpleAdmin. See [how to add admins in CS2](https://help.freakhosting.com/games/counter-strike-2/how-to-add-admins-in-cs2.md). |

## Server and player commands

| Command | What it does | Example |
| - | - | - |
| `status` | Lists the map and the players, with their user IDs. | `status` |
| `hostname "<name>"` | Sets the server name until the next restart. | `hostname "My CS2 Server"` |
| `sv_password "<password>"` | Sets a join password. Empty quotes remove it. | `sv_password "scrim123"` |
| `say <message>` | Sends a chat message to everyone. | `say Restart in 5 minutes` |
| `kick <name>` | Kicks a player by name. | `kick PlayerName` |
| `kickid <userid> [message]` | Kicks a player by the user ID from `status`. | `kickid 3 AFK` |

## Map commands

| Command | What it does | Example |
| - | - | - |
| `changelevel <map>` | Changes the map. Players stay connected. | `changelevel de_inferno` |
| `map <map>` | Loads a map from scratch. | `map de_dust2` |
| `host_workshop_map <id>` | Downloads a Workshop map by its ID and changes to it. | `host_workshop_map 3070284539` |
| `ds_workshop_listmaps` | Lists the Workshop maps on your server. | `ds_workshop_listmaps` |
| `ds_workshop_changelevel <name>` | Changes to a Workshop map from your collection by name. | `ds_workshop_changelevel de_cache` |

More in [how to change the map on a CS2 server](https://help.freakhosting.com/games/counter-strike-2/how-to-change-the-map-on-a-counter-strike-2-server.md) and [CS2 map rotation](https://help.freakhosting.com/games/counter-strike-2/managing-map-rotations-in-cs2.md).

## Game mode commands

| Command | What it does | Example |
| - | - | - |
| `game_type <n>` | Sets the game type. Applies on the next map. | `game_type 0` |
| `game_mode <n>` | Sets the game mode. Applies on the next map. | `game_mode 1` |
| `game_alias <name>` | Sets both at once: `competitive`, `wingman`, `casual`, `deathmatch` or `custom`. | `game_alias wingman` |

All values are in the [CS2 game modes list](https://help.freakhosting.com/games/counter-strike-2/cs2-game-modes-list.md).

## Match commands

| Command | What it does | Example |
| - | - | - |
| `mp_restartgame <seconds>` | Restarts the match after the given seconds. | `mp_restartgame 1` |
| `mp_warmup_end` | Ends the warmup now. | `mp_warmup_end` |
| `mp_warmup_start` | Starts a warmup. | `mp_warmup_start` |
| `mp_pause_match` | Pauses the match at the next freeze time. | `mp_pause_match` |
| `mp_unpause_match` | Resumes the match. | `mp_unpause_match` |
| `mp_maxrounds <n>` | Rounds per match. | `mp_maxrounds 24` |
| `mp_roundtime <minutes>` | Round length. | `mp_roundtime 1.92` |
| `mp_freezetime <seconds>` | Freeze time at the start of each round. | `mp_freezetime 15` |
| `mp_friendlyfire <0/1>` | Friendly fire off or on. | `mp_friendlyfire 1` |
| `mp_autoteambalance <0/1>` | Automatic team balance off or on. | `mp_autoteambalance 0` |
| `mp_limitteams <n>` | How many more players one team may have. `0` means no limit. | `mp_limitteams 0` |

## Bot commands

| Command | What it does | Example |
| - | - | - |
| `bot_kick` | Removes all bots. `bot_kick ct` or `bot_kick t` for one team. | `bot_kick` |
| `bot_add_ct` / `bot_add_t` | Adds a bot to that team. | `bot_add_t` |
| `bot_quota <n>` | How many bots the server keeps. | `bot_quota 0` |

Bots come back after `bot_kick` if **Bots** in **Server settings** is above 0. See [how to disable bots](https://help.freakhosting.com/games/counter-strike-2/how-to-disable-bots-on-a-counter-strike-2-server.md).

## Config and cheat commands

| Command | What it does | Example |
| - | - | - |
| `exec <name>` | Runs `game/csgo/cfg/<name>.cfg`. | `exec practice` |
| `sv_cheats <0/1>` | Turns cheat commands off or on. | `sv_cheats 1` |
| `sv_infinite_ammo 1` | Infinite ammo. | `sv_infinite_ammo 1` |
| `sv_grenade_trajectory_prac_pipreview 1` | Grenade camera. | see [grenade camera command](https://help.freakhosting.com/games/counter-strike-2/cs2-grenade-camera-command.md) |

## GOTV commands

| Command | What it does | Example |
| - | - | - |
| `tv_enable 1` | Turns GOTV on after the next map change. | `tv_enable 1` |
| `tv_autorecord 1` | Records every game automatically. | `tv_autorecord 1` |
| `tv_record <name>` | Starts a recording. | `tv_record final` |
| `tv_stoprecord` | Stops the recording. | `tv_stoprecord` |

See [how to record GOTV demos automatically](https://help.freakhosting.com/games/counter-strike-2/how-to-record-gotv-demos-automatically.md).

## Plugin framework commands

| Command | What it does |
| - | - |
| `meta list` | Lists loaded Metamod:Source plugins, including CounterStrikeSharp. |
| `css_plugins list` | Lists loaded CounterStrikeSharp plugins. |
| `css_admins_reload` | Reloads CounterStrikeSharp's `admins.json`. |

> [!WARNING]
>
> Don't use `quit` or `exit` to stop the server. Use **Stop** or **Restart** in the Game Panel, so the panel knows the server's state.

## Frequently asked questions

### What is the command to change the map in CS2?

`changelevel <map>`, for example `changelevel de_mirage`, typed in the server console.

### Why does a command say I can't change it from the client?

You typed a server command in your own game console. Type it in the panel **Console** instead, or use RCON.

### How do I get these commands in game chat?

Install CounterStrikeSharp and an admin plugin such as [CS2-SimpleAdmin](https://help.freakhosting.com/games/counter-strike-2/how-to-install-cs2-simpleadmin-on-a-counter-strike-2-server.md). Its commands work in chat with `!`.

### Do console changes stay after a restart?

No. Commands typed in the console last until the server restarts. Put permanent settings in **Server settings** or `server.cfg`.

## Related guides

> **[CS2 server guide](https://help.freakhosting.com/games/counter-strike-2/cs2-server-hosting-guide.md)**
>
> Every Counter-Strike 2 guide in one place.

> **[Add admins in CS2](https://help.freakhosting.com/games/counter-strike-2/how-to-add-admins-in-cs2.md)**
>
> Admin commands in game chat.

> **[CS2 game modes list](https://help.freakhosting.com/games/counter-strike-2/cs2-game-modes-list.md)**
>
> game\_type and game\_mode values.

> **[Enable sv\_cheats](https://help.freakhosting.com/games/counter-strike-2/how-to-enable-svcheats-on-a-counter-strike-2-server.md)**
>
> Cheat and practice commands.

> **[Use the server console](https://help.freakhosting.com/portals/game-panel/how-to-use-the-server-console.md)**
>
> The Game Panel console.

> [!NOTE]
>
> **Checked against the official [Valve Developer Community CS2 dedicated server documentation](https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)** on 29 October 2026. Steps may differ slightly if the game changes.

***

***

> [!NOTE]
>
> ### Need Extra Help?
>
> If you encounter any issues, our support team is ready to assist:
>
> * **Live Chat:** Quick assistance via our website.
> * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
> * **Discord:** [Join our Community](https://discord.gg/freakhosting)
> * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)

> [!TIP]
>
> ### Save on Your Hosting
>
> Ready to upgrade your hosting? Use code **KB20** at checkout for **20% off** your first order!

***

**Last Updated:** October 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.