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
  2. 🏹Bows Configuration

🚩Bow Flags

PreviousBasics OptionsNextCustom options

Last updated 2 years ago

CtrlK
Hide enchantments
bows:
  my-first-bow: # Item id for commands, handling data, etc.
    display-name: "&5&lMagic Bow!" # Name that will be displayed to the item
    enchantments: # Add the enchantments you want.
      ARROW_DAMAGE: 1 # Enchantment and enchantment level
      ARROW_KNOCKBACK: 1
    lore: # Add descriptions for the bow.
      - "&7Made with <3 by josielcm#8990"
    hide-enchant: true # Hide bow charms

To hide the enchantments to give it a nicer touch to the view or for whatever you want you have to add "hide-enchant" to find it should be set to "true" if it is set to "false" it will not work.

Set unbreakable
bows:
  my-first-bow: # Item id for commands, handling data, etc.
    display-name: "&5&lMagic Bow!" # Name that will be displayed to the item
    enchantments: # Add the enchantments you want.
      ARROW_DAMAGE: 1 # Enchantment and enchantment level
      ARROW_KNOCKBACK: 1
    lore: # Add descriptions for the bow.
      - "&7Made with <3 by josielcm#8990"
    hide-enchant: true # Hide bow charms
    unbreakable: true

To set the bow to unbreakable set "unbreakable" to true.

Hide unbreakable
bows:
  my-first-bow: # Item id for commands, handling data, etc.
    display-name: "&5&lMagic Bow!" # Name that will be displayed to the item
    enchantments: # Add the enchantments you want.
      ARROW_DAMAGE: 1 # Enchantment and enchantment level
      ARROW_KNOCKBACK: 1
    lore: # Add descriptions for the bow.
      - "&7Made with <3 by josielcm#8990"
    hide-enchant: true # Hide bow charms
    unbreakable: true
    hide-unbreakable: true

To hide unbreakable you need to set "hide-unbreakable" to true.

Fall Damage
bows:
  my-first-bow:
    display-name: "&5&lMagic Bow!"
    enchantments:
      ARROW_DAMAGE: 1
    lore:
      - "&7Made with <3 by josielcm#8990"
    fall-damage: false # This

If you want to cancel the fall damage when the user has the item in hand you can set this option to false to cancel and true if it will execute the damage, this option is useful if you use the teleport option in this bow.