Description
Automatically reloads the current map every 12 hours to avoid server lag.
ConVars
Code:
// timer in seconds (WARNING: RELOAD MAP FOR CHANGES TO TAKE EFFECT)
// -
// Default: "43200.000000"
// Minimum: "3600.000000"
// Maximum: "86400.000000"
sm_auto_map_reload_time "43200.000000"
Changelog
Quote:
20/10/2017 (v1.1)
* Added ConVar sm_auto_map_reload_time <time in seconds>
* Plugin now notifys every player when timer hits 60 seconds.
18/10/2017 (v1.0)
* Initial release.
|
Installation instructions
place auto_map_restart.smx in your addons/sourcemod/plugins folder and then reload your server map.
Plans
- Add more customization