Ulysses

General => Developers Corner => Topic started by: kulcris on December 23, 2014, 10:19:54 AM

Title: Custom message sent to players on "quit" in console
Post by: kulcris on December 23, 2014, 10:19:54 AM
I have been looking everywhere for some way to change the message "server is shutting down" when someone types quit into the server console.
When i type quit i am actually restarting the server and the fact that "server is shutting down" implies the server is not going to come back, alot of players dont rejoin.
Title: Re: Custom message sent to players on "quit" in console
Post by: Caustic Soda-Senpai on December 23, 2014, 02:49:31 PM
You could tsay or csay a message to all the players telling them its a restart. Changing the default message would involve changing the GMOD core files, not a good idea.
Title: Re: Custom message sent to players on "quit" in console
Post by: JamminR on December 23, 2014, 04:01:38 PM
Might be able to use the GM:Shutdown (http://wiki.garrysmod.com/page/GM/ShutDown) to do a message in players consoles before fully quitting.
"Server programmed to restart - please try again in 1-2 minutes"
Title: Re: Custom message sent to players on "quit" in console
Post by: Caustic Soda-Senpai on December 23, 2014, 05:04:33 PM
That's an idea, yeah
Title: Re: Custom message sent to players on "quit" in console
Post by: kulcris on December 28, 2014, 11:30:21 AM
hmmmmm could you force a popup that stays after the shutdown?