View Single Post
Author Message
91346706501435897134
Member
Join Date: Oct 2017
Old 10-17-2017 , 19:21   [TF2/ANY?] Auto map reload (v1.1, 20/10/2017)
Reply With Quote #1

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
Attached Files
File Type: sp Get Plugin or Get Source (auto_map_reload.sp - 654 views - 1.0 KB)

Last edited by 91346706501435897134; 10-20-2017 at 10:28.
91346706501435897134 is offline