NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to change your Counter-Strike: Global Offensive server name, password and game mode

Counter-Strike: Global OffensiveUpdated Oct 11, 20263 min read

Counter-Strike: Global Offensive reads csgo/cfg/server.cfg on every map load. The game mode and the starting map are chosen when the server launches.


1. Edit server.cfg

  1. Stop the server in the Game Panel.
  2. Open the Files tab and browse to csgo/cfg.
  3. Open server.cfg, or create it if it does not exist.
CommandWhat it does
hostnameThe name in the community browser.
sv_passwordPassword to join. Empty means open.
rcon_passwordPassword for remote admin commands.
sv_lanMust be 0 for an internet server.
mp_maxroundsRounds before the map ends.
mp_roundtimeMinutes per round.
mp_freezetimeSeconds of freeze time at the start of a round.
mp_autoteambalanceKeeps the teams even.
sv_cheatsLeave at 0 on a live server.
sv_setsteamaccountYour Steam game server token.

Values with spaces go in quotation marks.


2. Choose the game mode

The mode comes from two values set at launch, one for the game type and one for the game mode. Competitive, casual, deathmatch and arms race are each a different pair. They are set on the Startup page of your server, which is not linked in the sidebar, so add /startup to the end of your server's panel address.

The matching rules live in csgo/gamemodes_server.txt. Copy the example file that ships with the server before editing it, and keep the structure intact.


3. Change the map

  • Right now: run changelevel de_dust2 in the Console tab in the panel.
  • On start: set the map on the Startup page.
  • The rotation is the map group in gamemodes_server.txt.

4. Apply the changes

  1. Save the file.
  2. Start the server, or run exec server.cfg in the console to reload without a restart.
  3. Run status to confirm the hostname and map.

If a command is ignored, check the spelling. The console silently skips anything it does not recognise, and running exec server.cfg by hand prints the errors.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS