Blocks selected weapons and equipment from being bought by hooking the buy alias commands, with a live admin toggle menu and a per-map config.
CSB Weapon Restrict stops players buying the weapons and equipment you do not want on your server. It hooks the direct buy alias commands (ak47, awp, deagle, hegren, vesthelm, and so on) and returns PLUGIN_HANDLED for anything restricted, telling the player exactly what is blocked in both the centre HUD and chat.
Features
- 31 buyable items covered: every gun plus grenades, kevlar, defuse kit and night vision.
/restrictmenufor admins to toggle any item live, showing[BLOCKED]/[allowed]inline.- Console commands
amx_restrict,amx_unrestrictandamx_restrictlist. - Per-map override:
configs/csb_restrict/<map>.cfgis executed automatically on map start. - No modules required - it loads on any AMX Mod X 1.9.
Per-map config example
configs/csb_restrict/de_dust2.cfg:
amx_restrict awp amx_restrict m249 amx_restrict elite
Installation
- Compile, copy
csb_weapon_restrict.amxxintoplugins/, add it toplugins.ini. - Optionally create per-map cfgs under
configs/csb_restrict/. - Change the map.
Inspired by the AMX Mod X "Restrict Weapons" plugin; independent GPL re-implementation. It blocks the direct buy commands - which is how weapons are actually purchased - rather than editing the buy menu.









