MagicBows Wiki
  • 🏹MagicBows Wiki
  • Configuration
    • 🛠️How to install MagicBows
      • 📝Configuration of Config.yml
    • 🏹Bows Configuration
      • 🔧Basics Options
      • 🚩Bow Flags
      • ⚙️Custom options
        • 🎭Teleport
        • ⏱️Cooldown
        • 🎶Sounds and Particles
        • 🤯Explosion
        • 🏠Generate Blocks
    • 🔓Permissions
  • Support
    • 🛠️Support Discord
Powered by GitBook
On this page
  1. Configuration

🔓Permissions

PreviousGenerate BlocksNextSupport Discord

Last updated 2 years ago

CtrlK
Adding a custom permission for each bow

To add a bow permission you must add the "permissions" option.

After that having "enable" set to true you add "perm" which is where you set the permission and lastly you add "message" to set the error message if you do not have permission the general sound will be played when you do not have permission.

bows:
  custom-bow:
    display-name: "&9Custom Bow"
    lore:
      - "&7Made with <3 by josielcm#8990"
    permissions:
      enable: true
      perm: "magicbows.custombow"
      message: "&5Magic Bows &7: You do not have permission to use this bow."
Permission
Usage
Rank

magicbows.command

To access the main command

Admin/Staff

magicbows.error

Show most errors

Staff

magicbows.command.tabcomplete

To be able to access the autocomplete of the main command

Admin/Staff

Customs Permissions

You can add your custom permissions for each bow

Configurator