// Adaptative deathmatch server, it set fraglimit and runs the mapcycle that fit the number of human players // default starting config fraglimit 20 //bot_nochat 0 // Load map cycles files exec mapcycle_small_dm.cfg exec mapcycle_medium_dm.cfg exec mapcycle_big_dm.cfg set auto_mapcycle "vstr mapcycle_small_dm" set g_mapcycles "mapcycle_small_dm mapcycle_medium_dm mapcycle_big_dm" // in this config, only deathmatch map are loaded set mapcycle "vstr auto_mapcycle" // select your starting mapcycle // Events exec clear_event.cfg set onEvent_playerDownTo0_do "bot_minplayers 0 ; kickbots ; bot_nochat 1" // save server resources: when no human player are online, bots are removed set onEvent_playerUpTo1_do "bot_minplayers 3 ; bot_nochat 0" set onEvent_playerDownTo1_do "bot_nochat 0" // bot chat when there is only one human player online set onEvent_playerUpTo2_do "bot_nochat 1" set onEvent_playerDownTo3_do "set auto_mapcycle vstr mapcycle_small_dm ; set mapcycle vstr auto_mapcycle ; fraglimit 20" set onEvent_playerUpTo5_do "set auto_mapcycle vstr mapcycle_medium_dm ; fraglimit 25" set onEvent_playerDownTo6_do "set auto_mapcycle vstr mapcycle_medium_dm ; fraglimit 25" set onEvent_playerUpTo8_do "set auto_mapcycle vstr mapcycle_big_dm ; fraglimit 30" set nextmap vstr mapcycle vstr nextmap