How to Make Your CS:GO Server Private

If you are looking to run a server for your friends or a small group of people, we recommend that you make your server private. This tutorial lists three options to make it more difficult for random people to join your server: setting a password, adding a whitelist, or hiding it from the community listings.


By default, any player can join your server unless it is password protected. Having a password on your CS:GO server requires users to enter the password before they can join.

In order to set a password, follow the steps below:

  1. Login to your Control Panel.
  2. On the left-hand side, click Files > Config Files.

  3. Click on CSGO Server Settings.

  4. Locate the Server password setting and input the password you want for your server.

  5. Click Save and Restart your server.

Once your server restarts, all users will be required to enter the password you have set before joining. To make joining more convenient for users, they can use the console command password [password] to set the password their client will use to join the server. This persists between restarts.

If you forget your server password, you can recover it by checking the value in the config file.


You can also hide your server from the Community Server List so that players can only join if they know the server IP.

  1. Login to your server Control Panel.
  2. On the left-hand side, click Files > Config Files.
  3. Click on CSGO Server Settings.
  4. Locate the setting Host info show and change its value to 0.
  5. Click Save and Restart your server.


A whitelist allows you to list the players that are allowed to join your server. When creating a whitelist, you will need the Steam64ID of the players who want to join. To find a player's SteamID, check out our guide here.

We will use a plugin to create a whitelist. This plugin requires Sourcemod and Metamod to be installed on your server, which you can do by following our tutorial here.

  1. Go to the Server Whitelist Advanced webpage and download the serverwhitelistadvanced.smx file at the bottom.
  2. Additionally, download the latest SteamWorks here.
  3. Extract Steamworks-x-linux.tar.gz to a folder.
  4. Move serverwhitelistadvanced.smx to the folder /addons/sourcemod/plugins. You will need to manually create the plugins folder.
  5. Upload the addons folder to the /csgo directory of your server.
    1. When prompted with Target file already exists, select Overwrite, Always use this action and Apply to the current queue only on the right side.

  6. Start your server and run the command sm_whitelist_add "Steam64ID" in the console where Steam64ID is replaced with the Steam ID of the player you wish to whitelist.
  7. Execute the command sm_whitelist_reload to apply changes.
Important: If your Steam ID has a 0 after the underscore, replace this with a 1, otherwise it will not work.

You have successfully made your server private! If you want to keep your server public but prevent certain players from connecting, you can also ban them.

If you require any further assistance, please contact our support at:

Mitchell Smith

Managing Director @ Shockbyte

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to Enable the In-Game Console on Your CS:GO Client

CS:GO has its own Developer Console which can be used to run commands on your server. To use the...

How to Add CS:GO Workshop Maps to Your Server

If you want to use a map that isn't one of the standard maps for the game, you will likely need...

How to Add Plugins to Your CS:GO server

Plugins are a great way to spice up your CS:GO server. From adding new items or bots to adding...

How to Adjust Your CS:GO Server Settings

This tutorial will teach you how to adjust your many server settings such as enabling cheats,...

How to Change the Map of Your CS:GO Server

This guide will assist you with changing your map to any map in the game. Before we start, it's...