Evie Addon Details

Watch - Add Favorite

EmptyServer - Version 2.3

posted on 2006-09-02 11:22:30
by GODJonez
3
w00ts
w00t!
Requires: Tags: css dods hl2dm map-management server-tools

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
ges_favmap cs_office
ges_bots 4

Version Notes For 2.3 (Announce this update)

Updated on: 2010-03-05 17:04:25 EST by GODJonez
Removed redundant checking that could in some cases break the functionality of the script.
( Previous Versions )