Hello
Everyone knows that Stranded servers are very laggy after 20+ hours of uptime.
I have idea about this. Server can restart in 6:00 AM if the server has no players (if there are players - server delays restart for 30 minutes), but I do not know how to realize this xD
Help me to implement this idea, please <3
wiki.garrysmod.com/page/Global/RunConsoleCommand
wiki.garrysmod.com/page/os/time
"_restart" will restart the server.
[editline]9th December 2013[/editline]
If you don't know unix time you could also use [url]http://wiki.garrysmod.com/page/os/date[/url]
exit and quit also work last I checked
[QUOTE=BFG9000;43120513]exit and quit also work last I checked[/QUOTE]
Exit and quit will not restart the server if there is nothing to restart it (like srcds watchdog)
Really? I don't remember installing that, but my server says "Server restart in 10 seconds" whenever I use exit.
[QUOTE=BFG9000;43124355]Really? I don't remember installing that, but my server says "Server restart in 10 seconds" whenever I use exit.[/QUOTE]
Maybe because your GSP has that feature and you don't know about it?
[QUOTE=Robotboy655;43124954]Maybe because your GSP has that feature and you don't know about it?[/QUOTE]
I use a VPS.
[url]https://developer.valvesoftware.com/wiki/Console_Command_List[/url]
"quit" - Exit the engine.
"quti" - Exit the engine.
"_restart" - Shutdown and restart the engine.
It has to be something you did or installed.
[QUOTE=Pandaman09;43119719]wiki.garrysmod.com/page/Global/RunConsoleCommand
wiki.garrysmod.com/page/os/time
"_restart" will restart the server.
[editline]9th December 2013[/editline]
If you don't know unix time you could also use [url]http://wiki.garrysmod.com/page/os/date[/url][/QUOTE]
_restart is blocked from RunConsoleCommand along with quit, exit, and a bunch of other commands.
You can just do changelevel, it has (almost) same effect.
Sorry, you need to Log In to post a reply to this thread.