Sueta

AttachmentRestrict | a CrackShotPlus Addon

1.0.1

Specific attachments required before adding an attachment into your crackshot gun

·Plugin

This is a plugin which depending on CrackShotPlus.

CrackShotPlus has an attachment system which allows you to install an attachment to your gun. This plugin allows to install other attachments first before installing an attachment.

Example

When you need to attach a scope mount into your AK-47, You might need to attach the scope base first.

Config.yml

# message when not enough conditions to install an attachment 
no-required: "&cYour attachment doesn't contain <attachment>, so you can't add this attachment!" 
Required-Attachments: 
  AK-47: 
    # attachment name 
    ScopeMount: 
      required: 
       # required attachment list 
        - ScopeBase 
    ScopeBase: 
      required: 
        - Base

If there are any issue or bugs, you can go to the github issue page or PM me, thank you

Similar projects

Plugin →