How to use ItemBridge - mrrhetorical/COM-Warfare GitHub Wiki
Using ItemBridge
To use ItemBridge for guns and grenades, there is a section in the config titled itemBridge
:
#Item Bridge: Should this plugin attempt to grab weapons and ammo using item bridge?
itemBridge:
enabled: false
#Prefixes to use for each weapon. For each weapon listed under a prefix, it will use the given prefix to grab from item bridge. CaSe SeNSiTiVe.
prefix:
qa:
- M4A1
- AK-47
If you wanted to add an item from a plugin with an ItemBridge prefix of "cod" for the gun titled "Pistol", you would add it as such:
#Item Bridge: Should this plugin attempt to grab weapons and ammo using item bridge?
itemBridge:
enabled: false
#Prefixes to use for each weapon. For each weapon listed under a prefix, it will use the given prefix to grab from item bridge. CaSe SeNSiTiVe.
prefix:
qa:
- M4A1
- AK-47
# New prefix and all weapons associated with it go here
cod:
- Pistol
For an item to be turned into a cod weapon, it must be the same name from ItemBridge as it is in COM-Warare exactly. For example, an ItemBridge item with the name of 'M4A1' will work when there is a weapon in COM-Warfare titled 'M4A1', but it will not work if the name in COM-Warfare is 'm4a1'.