How to stop an empty CS2 server from sleeping
Type sv_hibernate_when_empty 0 in the server console so the server keeps running bots and plugins with nobody connected.
sv_hibernate_when_empty
Puts the server into a very low CPU sleep mode when nobody is connected.
sv_hibernate_when_empty <0|1> Examples
sv_hibernate_when_empty 0 Keep the server running when empty.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1 | On |
Arguments
0|1Required1turns it on,0turns it off.trueandfalsealso work.
On SLASHPLAY
SLASHPLAY keeps it at 0 so the server stays ready when nobody is on. Leave it alone.
What it does
Saves resources on idle servers. Turn it off if bots should keep playing on an empty server or if plugins need to keep running.
The game's own description: Puts the server into extremely low CPU usage mode when no clients connected
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.