Skip to content

Blacklist attachment groups (perks, ammo, magazines, etc) from guns.

Notifications You must be signed in to change notification settings

sleepyyapril/mwbase_attachment_blacklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Modern Warfare Base: Attachment Group Blacklist

Blacklist attachment groups (perks, ammo, magazines, etc) from guns.

Features

  • Ban specific attachment groups (such as perks, ammo, magazines, etc)
  • Remove special attachment groups with wildcards (such as *_mag to remove the ammo attachment group for every special gun who thinks they're cool)
  • Get a list of all attachment group names with concommand "mw_attgroups" (should only work in console but i might be dumb, untested)
  • Works with every custom weapon addon as long as you add their custom stuff (where wildcards are useful, a feature in this addon)

Eventually:

  • ban specific attachment groups for certain guns, darkrp jobs, and usergroups.

Installation

  • Download the addon as a zip
  • Extract to any folder
  • Drag folder to your server's addons (NOT SINGLEPLAYER FRIENDLY) folder and you're done. Only runs on server start so does not impact performance whatsoever when in-game.
  • Edit through mwbase_attgroup_ban/lua/autorun/attachment_blacklist.lua
  • Use list found through "mw_attgroups" in your player console. Anything super long ending with _mag or something should use wildcards table.

Issues

Please use the issues tab for any issues you encounter with the base addon. There is no support for edited versions, and I won't help you with syntax errors. This addon requires very beginner syntax understanding for tables and table keys.

About

Blacklist attachment groups (perks, ammo, magazines, etc) from guns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages