yapzhenyie / GadgetsMenu

Feature-rich cosmetics plugin that provide players with the most powerful features.
http://bit.ly/GadgetsMenu
66 stars 24 forks source link

[FEATURE] Enable/Disable mystery boxes crafting #923

Closed LuuckA21 closed 2 years ago

LuuckA21 commented 2 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Craft-enable: true/false in config.yml

Describe alternatives you've considered No

Additional context In mystery box menu disable anvil for crafting when craft-enable: false

yapzhenyie commented 2 years ago

Inside messages.yml file, you can hide the anvil item to disable crafting.

      Craft-Mystery-Boxes:
        Name: '&aCraft Mystery Boxes'
        Material: ANVIL
        Show: true
        Slot: 50
        Lore:
        - '&7Whenever you find items that you'
        - '&7already have, you will receive'
        - '&bMystery Dust &7instead. You can'
        - '&7use that dust to create Mystery'
        - '&7Boxes to find new loots!'
        - ''
        - '&7You have: &b{MYSTERY_DUST} Mystery Dust'
        - '&eClick to open the Crafting menu.'