Skip to content

Instantly share code, notes, and snippets.

@simonsmith
Created September 15, 2025 19:51
Show Gist options
  • Save simonsmith/f8f494608943192a8733e550141e9796 to your computer and use it in GitHub Desktop.
Save simonsmith/f8f494608943192a8733e550141e9796 to your computer and use it in GitHub Desktop.
CS2 Admin Commands

CS2 Server Admin Commands Reference

Essential Commands

🗺️ Map Management

  • !css_map <mapname> - Change map instantly (e.g., !css_map de_mirage)
  • !css_workshop <id> - Change to workshop map
  • !css_wsmap <id> - Same as workshop (alias)
  • !css_extend - Extend current map time
  • !css_restartgame - Restart the current round
  • !css_rr - Restart round (alias)

👥 Player Management

  • !css_kick <player> - Kick player from server
  • !css_ban <player> [time] [reason] - Ban player (time in minutes, 0 = permanent)
  • !css_slay <player> - Kill player instantly
  • !css_freeze <player> - Freeze player in place
  • !css_unfreeze <player> - Unfreeze player
  • !css_bury <player> - Bury player underground
  • !css_unbury <player> - Unbury player
  • !css_forcespec <player> - Force player to spectator
  • !css_swap <player> - Swap player to opposite team
  • !css_slap <player> - Slap player (damage + push)
  • !css_disarm <player> - Remove all weapons from player

💬 Communication & Chat

  • !css_say <message> - Send admin message to all players
  • !css_csay <message> - Send message to center of all screens
  • !css_hsay <message> - Send message to HUD area
  • !css_psay <player> <message> - Send private message to specific player

⚙️ Server Control

  • !css_cvar <setting> <value> - Change server settings (e.g., !css_cvar mp_timelimit 45)
  • !css_give <player> <item> - Give items to player
  • !css_noclip <player> - Toggle noclip mode for player

ℹ️ Information Commands

  • !css_admin_help - Show all available admin commands
  • !css_admins - List all online admins
  • !css_comms - Show communication status
  • !css_hp <player> - Check player's health
  • !css_plugins list - Show loaded plugins

Quick Examples

Common Map Changes

!css_map de_dust2
!css_map de_mirage
!css_map de_inferno
!css_map de_nuke
!css_map de_train

Server Settings

!css_cvar mp_timelimit 45          // Set map time limit to 45 minutes
!css_cvar mp_maxrounds 30          // Set max rounds to 30
!css_cvar mp_freezetime 8          // Set freeze time to 8 seconds
!css_cvar mp_roundtime 2           // Set round time to 2 minutes

Player Management Examples

!css_kick PlayerName               // Kick a player
!css_ban PlayerName 60 cheating    // Ban for 60 minutes for cheating
!css_slay PlayerName               // Kill a player
!css_say Welcome to our server!    // Announce to everyone

Important Notes

  • Always use the ! prefix when typing commands in chat
  • Player names: Use the exact player name or their user ID (#1, #2, etc.)
  • Permissions: You need the appropriate admin flags to use each command
  • Immunity: Higher immunity numbers protect from lower immunity admins
  • Time format: Ban/mute times are in minutes (0 = permanent)

Need Help?

Type !css_admin_help in-game to see available commands based on your permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment