sv_maxuptimelimit Command


sv_maxuptimelimit [Hours]

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).

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

HoursThe maximum amount of time, in hours, that the server can run for.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 0

sv_maxuptimelimit Examples


Find below working examples of this command (copy and paste into console).


sv_maxuptimelimit 0

This command disables the server uptime limit.


sv_maxuptimelimit 2

This command would make the server stop itself after being online for 2 hours.