CS2 Weapon Restrict Config Generator
Build a WeaponRestrict.json for the
CS2Plugins/WeaponRestrict
CounterStrikeSharp plugin. Set per-team AWP quotas, hard weapon limits, and an optional VIP bypass flag.
Simple alternative — no plugin needed
Use the built-in mp_items_prohibited cvar to ban weapons outright — no CounterStrikeSharp plugin required. Separate multiple weapons with a space.
mp_items_prohibited weapon_awp
Global Settings
Prepended to all plugin chat messages.
{0} = weapon name · {1} = limit value.
Leave blank to disable VIP bypass. Example: @css/vip
Sniper Rifles
AWP
weapon_awp
0.20 = 1 per 5 players · 0.50 = 1 per 2 players
SSG 08 (Scout)
weapon_ssg08
G3SG1
weapon_g3sg1
SCAR-20
weapon_scar20
Rifles
AK-47
weapon_ak47
M4A4
weapon_m4a1
M4A1-S
weapon_m4a1_silencer
SG 553 (Krieg)
weapon_sg556
AUG
weapon_aug
Galil AR
weapon_galilar
FAMAS
weapon_famas
Heavy
Negev
weapon_negev
M249
weapon_m249
Pistols
Desert Eagle
weapon_deagle
WeaponRestrict.json
{
"MessagePrefix": "[WR]",
"RestrictMessage": "{0} is restricted to {1} per team",
"DoTeamCheck": true,
"AllowPickup": false,
"RestrictWarmup": false,
"VIPFlag": "@css/vip",
"Weapons": {
"weapon_awp": {
"Type": "Quota",
"Value": 0.20
}
}
}
Place this file at csgo/addons/counterstrikesharp/plugins/WeaponRestrict/WeaponRestrict.json and reload the plugin with css_plugins reload WeaponRestrict.
Run your own Counter-Strike 2 server.
Rent a private Counter-Strike 2 server on real hardware — full control-panel access, your mods, your configs, your rules. It's your server; run it your way.
Don't want to run it yourself? Our managed services & consulting team will set it up and keep it running for you — game servers, Windows, Linux, and cloud, from 10+ years of MSP work.