Promuj serwer
csb-mapchooser / README.md
1 lines 1.1 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Map Chooser</strong> 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 <code>amx_nextmap</code> to the winner. Players can instead vote to extend the current map, up to a capped number of extensions.</p><p>A clean-room GPL re-implementation inspired by the original AMX Mod X MapChooser.</p><h2>Features</h2><ul><li>Random choices from <code>mapcyclefile</code>, validated with <code>is_map_valid</code></li><li>Recent maps excluded via a small history file</li><li>Live HUD countdown and one vote per player</li><li>Optional, capped map extension</li><li><code>say /nextmap</code> to check the decision</li></ul><h2>Installation</h2><ol><li>Put <code>csb_mapchooser.amxx</code> in <code>addons/amxmodx/plugins/</code></li><li>Add it to <code>plugins.ini</code></li><li>Make sure <code>mp_timelimit</code> is greater than 0</li></ol>