NB! It seems this console command is not compatible with CS2.
Command Profile
SV_MAXUPTIMELIMIT
CS:GO
This command sets the maximum amount of time, in hours, that a server can run for before shutting itself down. Default is 0 (no limit).
Syntax
sv_maxuptimelimit [Hours]
Description
This command sets the maximum amount of time, in hours, that a server can run for before shutting itself down. Default is 0 (no limit).
How To Use sv_maxuptimelimit
- Enable the developer console in Counter-Strike settings.
- Open the console with the tilde key (
~). - Enter
sv_maxuptimelimit [Hours], replacing bracketed arguments with the value you want, then press Enter.
This legacy command is not currently listed as compatible with Counter-Strike 2.
Syntax And Arguments
sv_maxuptimelimit [Hours]
| Hours | The maximum amount of time, in hours, that the server can run for. |