CSB Extend Map v1.0.0
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
Cvarlar3
| 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. |
Komutlar2
| 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. |
Puan
Henüz puan yok









