Skip to main content

How To Configure Random Spawns on Your CS2 Server

1. Log In to Your Panel


2. Stop Your Server


3. Select the ‘Files’ Tab

CS2 "Files"tab outlined with arrow in Cybrancee panel.

4. Open the ‘server.cfg’ File

Navigate to:

game/csgo/cfg/

'server.cfg' outlined with arrow in cybrancee panel

5. Edit the file

Tip: Use Ctrl + F to quickly find the required setting inside server.cfg

'mp_randomspawn 
mp_randomspawn_dist and  
mp_randomspawn_los' outlined with arrow
CommandTarget ValueDescription
mp_randomspawn1Determines who spawns randomly. (0 = Default team spawns, 1 = Both teams spawn randomly, 2 = Only Terrorists spawn randomly, 3 = Only CTs spawn randomly).
mp_randomspawn_dist0 (or higher)Dictates the minimum distance the server will try to maintain between a newly spawning player and an existing player. 0 disables this check, but you can set it higher (e.g., 300) to prevent players from spawning right on top of each other.
mp_randomspawn_los1Tells the server to check for Line of Sight (LOS) before placing a player. Setting this to 1 (True) means the server will actively try to spawn players in a spot where an enemy isn’t directly looking at them. Setting it to 0 (False) disables this check, leading to more chaotic spawns.

6. Start Your Server

Counter Strike 2 Server Hosting

Starts at $6.99

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents