Scheduled Shutdown/Restart
by
[BR5DY]
Props:
This plugin could not have been made without the help of MikeJS's plugin and darklord1474's plugin.
Description:
Automatically shuts down the server at the specified time, warning all players ahead of time (10 second warning). Will restart automatically if you run some type of server checker (like
this one) or batch script.
Very basic commands - it issues the "quit" command to SRCDS at the specified time.
Cvars:
sm_scheduledshutdown_hintsay 1 //Sets whether messages are shown in the hint area
sm_scheduledshutdown_chatsay 1 //Sets whether messages are shown in chat
sm_scheduledshutdown_centersay 1 //Sets whether messages are shown in the center of the screen
sm_scheduledshutdown_time 0500 //Sets the time to shutdown the server
Installation:
Move ScheduledShutdown.smx into you Sourcemod/plugins folder
Changelog:
Code:
2011-07-12 | Version 1.0
Initial Release
Also:
This is my first Sourcemod plugin. Sorry if there are bugs. If you see a mistake, kindly let me know where.