CSB Extend Map

v1.0.0 14 изтегляния Daemon666 Последна актуализация: Jul 16, 2026

amx_extendmap adds minutes to mp_timelimit; players can vote once per map to extend, capped so a map cannot run forever.

CSB Extend Map covers both ways a map gets stretched: an admin command and a player vote. amx_extendmap [minutes] adds time to mp_timelimit and re-announces the new time left; say /extend opens a yes/no vote to everyone on the server, and if it passes the map is extended by a configurable amount. A csb_extend_max cap counts every extension so a busy map can never be kept alive indefinitely.

Inspired by the map-extension commands in the AMX Mod X map management plugin. Independent GPL re-implementation.

Features

  • amx_extendmap [minutes] — defaults to csb_extend_minutes when no argument is given.
  • say /extend starts a 15-second vote menu shown to every player.
  • Extension counter enforced against csb_extend_max for both the command path and the vote path.
  • Reads mp_timelimit through a cached cvar pointer and re-broadcasts get_timeleft().

Installation

  1. Compile csb_extend_map.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

No extra modules are required. amx_extendmap needs the ADMIN_MAP flag (e).

Инсталация

1. Put csb_extend_map.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map

Cvar-и

CVARDefaultDescription
csb_extend_minutes 15 Minutes added by amx_extendmap when no argument is given.
csb_extend_max 3 Maximum number of extensions allowed on one map (command + vote combined).
csb_extend_votemin 15 Minutes added when a player vote passes.

Команди

CommandAccessDescription
amx_extendmap e (ADMIN_MAP) amx_extendmap [minutes] - add time to mp_timelimit.
say /extend Start a public vote to extend the current map.

Списък с промени — v1.0.0

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Оригинален автор: AMX Mod X Development Team (Map Management) Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Изтегли .sma
Файлове:
csb_extend_map.sma main 4.6 KB

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Известни конфликти Other map-vote / extend plugins that also edit mp_timelimit will double-count extensions.
Обратно към плъгините