Watch
-
Add Favorite
Configuration variables (you can use them in e.g. autoexec.cfg or server.cfg):
You might want to add "es_load emptyserver" to your autoexec.cfg to make the script loaded every time the server starts. You might also want to set the configuration variables after loading the script. For example:
Removed redundant checking that could in some cases break the functionality of the script.
( Previous Versions )
Description
If you server is suffering from loss of players on unpopular maps, this script can switch to a more popular map of your choice when the server becomes empty.Configuration variables (you can use them in e.g. autoexec.cfg or server.cfg):
- ges_favmap (def. de_dust) - the map to change to when server is empty
- ges_bots (def. -1) - set this number of bots when changing maps (-1 does not alter bot quota)
- ges_delay (def. 180) - number of seconds between checks for the server status
- ges_threshold (def. 0) - max number of humans playing for server to be considered to be empty
Installation
Download the ZIP and extract to your server, or if you are using EventScripts 2.0 or newer, you can use console command "es_install emptyserver" to get the script.You might want to add "es_load emptyserver" to your autoexec.cfg to make the script loaded every time the server starts. You might also want to set the configuration variables after loading the script. For example:
es_load emptyserver |
Version Notes For 2.3 (Announce this update)
Updated on: 2010-03-05 17:04:25 EST by GODJonezRemoved redundant checking that could in some cases break the functionality of the script.
( Previous Versions )
Discussion
Forum Link: http://forums.mattie.info/cs/forums/viewtopic.php?t=8013
Addon Details
Upload Addon