General > Developers Corner

Custom message sent to players on "quit" in console

(1/1)

kulcris:
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.

Caustic Soda-Senpai:
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.

JamminR:
Might be able to use the GM:Shutdown to do a message in players consoles before fully quitting.
"Server programmed to restart - please try again in 1-2 minutes"

Caustic Soda-Senpai:
That's an idea, yeah

kulcris:
hmmmmm could you force a popup that stays after the shutdown?

Navigation

[0] Message Index

Go to full version