Mp items prohibited
mp_items_prohibited is a console command available in Counter-Strike: Global Offensive.
It is used to define a list of exact items or weapons that players cannot use or buy on a server. The command was introduced on 2017-03-24.
mp_items_prohibited "<i>,<j>,<k>,..." mp_items_prohibited <i>,<j>,<k>,...
As value, it takes a string of comma-delimited weapon definition indices (numbers) to prohibit on the server. Example values are
On successful prohibition, the game writes the names of the prohibited items in the console.
Prohibited items cannot be bought and cannot be picked up; This is independent from an item's
CanBePickedUp keyvalue. Items picked up before prohibition are unaffected, until they are dropped.
To clear all prohibited items, use the value
For some inventory slots, players can equip different weapons. If the one they have equipped is prohibited, they will have an alternative auto-equipped. This concerns:
- P2000 and USP-S (IDs 32 and 61)
- Tec-9 and CZ75-Auto (IDs 30 and 63)
- Five-SeveN and CZ-75 Auto (IDs 3 and 63)
- Desert Eagle and R8 Revolver (IDs 1 an 64)
- MP7 and MP5-SD (IDs 33 and 23)
- M4A4 and M4A4-S (IDs 16 and 60)
|Command||Game response in console||Effect|
||The Desert Eagle can no longer be bought or picked up. Everyone will have the R8 Revolver equipped in the Desert Eagle slot, assuming they haven't already.|
||The Desert Eagle and the R8 Revolver can no longer be bought or picked up. Trying to buy something in that item slot will do nothing.|
||-||Clears all items from being prohibited. They can be bought and picked up again.|
Table of Indices
Some IDs are not assigned. Also, the list has actually many hundreds of lines and contains every item in CS:GO, including knives, cases, keys, stickers, music kits, coins, medals, sprays, player models etc., see here.
|1||Desert Eagle||Auto-equips R8 Revolver (ID 64).|
|3||Five-SeveN||Auto-equips CZ75-Auto (ID 63) for CTs.|
|16||M4A4||Auto-equips M4A1-S (ID 60) for CTs.|
|23||MP5-SD||Auto-equips MP7 (ID 33).|
|30||Tec-9||Auto-equips CZ75-Auto (ID 63) for Ts.|
|32||P2000||Auto-equips USP-S (ID 61) for CTs.|
|33||MP7||Auto-equips MP5-SD (ID 23).|
|41||Golden Knife||Can always be picked up.|
|42||Knife||Can always be picked up.|
|48||Incendiary Grenade||Can always be picked up.|
|49||C4||If given only on round start, it will be dropped: impossible to plant.|
|51||Kevlar + Helmet|
|54||item_nvg (not item_nvgs!)|
|55||Defuse Kit||Auto-equips the other of these two for CTs.|
Can always be picked up.
They are interchangeable, so prohibit both.
|57||Medi-Shot||Can always be picked up.|
|60||M4A1-S||Auto-equips M4A4 (ID 16) for CTs.|
|61||USP-S||Auto-equips P2000 (ID 32) for CTs.|
|62||Recipe Trade Up|
|63||CZ75-Auto||Auto-equips Tec-9 (ID 30) for Ts and Five-SeveN (ID 3) for CTs.|
|64||R8 Revolver||Auto-equips Desert Eagle (ID 1).|
|68||Tactical Awareness Grenade||Can always be picked up.|
|69||Bare Hands||Can always be picked up.|
|70||Breachcharge||Can always be picked up.|
|72||Tablet||Can always be picked up.|
|74||weapon_melee (Knife)||Can always be picked up.|
|75||Axe||Can always be picked up.|
|76||Hammer||Can always be picked up.|
|78||Wrench||Can always be picked up.|
|80||Spectral Shiv||Can always be picked up.|
|81||Fire Bomb||Can always be picked up.|
|82||Diversion Device||Can always be picked up.|
|83||Frag Grenade||Can always be picked up.|
|84||Snowball||Can always be picked up.|
|85||Bump Mine||Can always be picked up.|