End-of-map vote with random maps from the map cycle, a HUD countdown, recent-map exclusion and an optional extend option.
Daemon666
1.0.0 - Initial release.
| csb_mapchooser.sma main | a4d452f | 10.1 KB |
README.md
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
Instalación
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
Cvars
| 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. |
Comandos
| Command | Access | Description |
|---|---|---|
say /nextmap |
|
Show the map that won the vote. |
Registro de cambios — v1.0.0
1.0.0 - Initial release.Versiones →
Valoración
No ratings yet.
Acerca de
Download v1.0.0
Requisitos
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opcional |
| ReAPI | Opcional |
| Metamod | Metamod / Metamod-r |
| Conflictos conocidos | The stock AMX Mod X mapchooser.amxx - run only one map-vote plugin. |
Colaboradores









