How to change the maximum number of players in the server

counter-strike-global-offensive

I am hosting a Counter Strike Go server. The problem is that its maxplayers is set to 64 which my PC simply cannot handle. This is causing the server to lag and run poorly when it becomes full.

How can I change the maximum number of players on my server?

Best Answer

If you're using the GUI to launch the server, there should be an option to change the maximum number of players in the first window you see when launching the server.

If you're using command line or a shortcut to launch the server, you can add +maxplayers # at the end of the line/shortcut target to launch the server with max players set to #, where # is the desired max number of players.

You may also want to elevate priority for the server to Above Normal to make it perform better when you have many programs running simultaneously.