amx_extendmap adds minutes to mp_timelimit; players can vote once per map to extend, capped so a map cannot run forever.
Daemon666
1.0.0 - Initial release.
| csb_extend_map.sma main | 6b8a579 | 4.6 KB |
README.md
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 tocsb_extend_minuteswhen no argument is given.say /extendstarts a 15-second vote menu shown to every player.- Extension counter enforced against
csb_extend_maxfor both the command path and the vote path. - Reads
mp_timelimitthrough a cached cvar pointer and re-broadcastsget_timeleft().
Installation
- Compile
csb_extend_map.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
No extra modules are required. amx_extendmap needs the ADMIN_MAP flag (e).
Kurulum
1. Put csb_extend_map.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvarlar
| CVAR | Default | Description |
|---|---|---|
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. |
Komutlar
| Command | Access | Description |
|---|---|---|
amx_extendmap |
e (ADMIN_MAP) |
amx_extendmap [minutes] - add time to mp_timelimit. |
say /extend |
|
Start a public vote to extend the current map. |
Değişiklik günlüğü — v1.0.0
1.0.0 - Initial release.Sürümler →
Puan
No ratings yet.
Hakkında
Download v1.0.0
Gereksinimler
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | İsteğe bağlı |
| ReAPI | İsteğe bağlı |
| Metamod | Metamod / Metamod-r |
| Bilinen çakışmalar | Other map-vote / extend plugins that also edit mp_timelimit will double-count extensions. |
Katkıda bulunanlar









