CSB Map Chooser v1.0.0
CSB Map Chooser runs an end-of-map vote. A short time before the time limit runs out it opens a menu with a handful of random maps taken from the map cycle - excluding the current map and the last few that were played, which are tracked in a file - counts the votes with a HUD countdown and sets amx_nextmap to the winner. Players can instead vote to extend the current map, up to a capped number of extensions.
A clean-room GPL re-implementation inspired by the original AMX Mod X MapChooser.
Features
- Random choices from
mapcyclefile, validated withis_map_valid - Recent maps excluded via a small history file
- Live HUD countdown and one vote per player
- Optional, capped map extension
say /nextmapto check the decision
Installation
- Put
csb_mapchooser.amxxinaddons/amxmodx/plugins/ - Add it to
plugins.ini - Make sure
mp_timelimitis greater than 0
Installation
1. Put csb_mapchooser.amxx in addons/amxmodx/plugins/ 2. Add it to plugins.ini 3. Requires mp_timelimit > 0 4. Uses client_print_color, so AMX Mod X 1.9+ is required
Cvars8
| CVAR | Default | Description |
|---|---|---|
csb_mc_enabled | 1 | Enable the plugin. |
csb_mc_start | 90 | Seconds before the time limit to open the vote. |
csb_mc_choices | 5 | Number of map choices (max 6). |
csb_mc_duration | 20 | How long the vote stays open, in seconds. |
csb_mc_extend | 1 | Offer an 'extend current map' option. |
csb_mc_extendstep | 15 | Minutes added to mp_timelimit per extension. |
csb_mc_extendmax | 2 | Maximum number of extensions per map. |
csb_mc_recent | 3 | How many recently played maps to exclude from the choices. |
Commandes1
| Command | Access | Description |
|---|---|---|
say /nextmap | | Show the map that won the vote. |
Note
Pas encore de notes









