1337 Restarter
[Updated 1st July 2009]
Description
Useful when you're running a server on a single map, and still want to restart for updates, etc. People changing maps regularly won't need this plugin.
Cvars- 1337_restarter <1|0>
- Enables or disables the plugin.
- 1337_showtimer <1|0>
- Shows or hides the HUD timer (default 1).
- 1337_restarttime <time in minutes>
- Time in minutes between server restarts (default 60).
Requirements- AMX Mod X 1.61 or higher.
Changelog
Code:
******
* Changelog
* 1.4
* [FIXED] Moved the HUD-message up, so it won't
* bother users when playing.
* [FIXED] Changed the cvar server_restarttime to
* respond to minutes instead of seconds.
* [FIXED] Cleaned up code.
* 1.33
* [FIXED] Made the changes GHW_Chronic told me to.
*
* 1.32
* [FIXED] Changed the cvar server_restarttime so you
* can type in any time you want.
*
* 1.31
* [FIXED] Changed the name from Server Restart to
* 1337 Restarter.
*
* 1.3
* [ADDED] Added cvar "server_restarttime <1|2|3|4>
* 1 = restart server every hour
* 2 = restart server every 2 hours
* 3 = restart server every 5 hours
* 4 = restart server every 10 hours
*
* 1.21
* [REMOVED] Deleted the server_cmd("exec server.cfg")
*
* 1.2
* [FIXED] Changed the code a bit since the
* if(hour==0 && minute==0 && second==0)
* didn't work.
* [FIXED] Countdown now is in hour:minute:second mode.
*
* 1.1
* [ADDED] Added HUD Message countdown (Credits to
* jim_yang, The Specialist and Brad).
* [ADDED] Added cvar for HUD Message countdown.
* [FIXED] Improved the code a little bit.
* [REMOVED] Deleted the cvar to change the restart time.
*
* 1.02
* [ADDED] Added so the server.cfg will be executed
* every time it restarts by the plugin.
*
* 1.01
* [FIXED] Changed the cvars to pcvars.
*
* 1.0
* [RELEASE] Plugin released.
******
Credits