Reads mapcycle.txt (or maps.ini) into a paginated menu; picking a map confirms, then changes level now or at round end. Includes amx_mapsearch.
CSB Admin Map Menu turns your map list into a point-and-click change. On load it reads mapcycle.txt (falling back to addons/amxmodx/configs/maps.ini), validates every entry with is_map_valid so dead maps never appear, and builds a paginated menu. Pick a map and it asks whether to change now or at the end of the round.
Inspired by the AMX Mod X maps menu. Independent GPL re-implementation.
Features
amx_mapmenuopens the paginated, validated map list.- Confirmation step: change immediately or schedule for round end.
amx_mapsearch <part of name>filters the list by substring and opens a menu of the matches.- Handles both plain and
{ ... }-suffixed mapcycle lines, and skips comments. - The map change is announced to everyone and written to the AMXX log.
Installation
- Compile
csb_admin_map_menu.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
Both commands need the ADMIN_MAP flag (e). If mapcycle.txt is empty the plugin tries maps.ini; if both are empty the menu reports that no maps were loaded.









