CSB Map Chooser

v1.0.0 0 загрузок Daemon666 Обновлено: Jul 14, 2026

End-of-map vote with random maps from the map cycle, a HUD countdown, recent-map exclusion and an optional extend option.

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 with is_map_valid
  • Recent maps excluded via a small history file
  • Live HUD countdown and one vote per player
  • Optional, capped map extension
  • say /nextmap to check the decision

Installation

  1. Put csb_mapchooser.amxx in addons/amxmodx/plugins/
  2. Add it to plugins.ini
  3. Make sure mp_timelimit is greater than 0

Установка

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

Cvar-ы

CVARDefaultDescription
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.

Команды

CommandAccessDescription
say /nextmap Show the map that won the vote.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Оригинальный автор: AMX Mod X Dev Team Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_mapchooser.sma main 10.1 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Известные конфликты The stock AMX Mod X mapchooser.amxx - run only one map-vote plugin.
Назад к плагинам