Small-Server Rebound 1.0.0 (olds.ro)
====================================
Map voting: while a server runs low (small maps), real players may come
back. Once more than olds_rebound_players real players have been on the
server for olds_rebound_secs seconds in a row, one normal-pool map that fits
the new player count is nominated for the next map vote, and the players are
told in chat.
Requirements
- AMX Mod X 1.10.0.5490 or newer
- Mistrick's Map Manager (Modular), library "map_manager_core"
(github.com/Mistrick/MapManagerModular)
Install
1. Compile scripting/olds_rebound.sma and copy olds_rebound.amxx to
addons/amxmodx/plugins/, after map_manager_core in plugins.ini.
2. Copy data/lang/olds_rebound.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_rebound.cfg, created on first run)
olds_rebound_players 12 real players the server must exceed (1-31)
olds_rebound_secs 120 seconds above it in a row (5-1800)
olds_rebound_count_bots 0 1 counts bots too: only for trying the plugin
on an empty test server
Command: olds_rebound_status (ADMIN_MAP)
Rules
- Real players: no bots, no HLTV.
- The count starts over when the number drops to the threshold or below,
or when a map vote starts.
- The pool is the core's map list: a map is eligible when the current
player count is within its min-max players, it is not the current map,
and it exists on the server. One is chosen at random.
- The nomination goes into the next vote through the core's upcoming-vote
callback (mapm_prepare_votelist): the map is checked again and pushed
with mapm_push_map_to_votelist. The core refuses a map already in the
vote, so it never appears twice.
- If the players drop before the vote, the nomination is withdrawn.
- One rebound nomination per map.
No downloads: the notice is chat text.