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

🔧Basics Options

PreviousBows ConfigurationNextBow Flags

Last updated 2 years ago

CtrlK
Create Item

To create an item you need to create a subcategory with the name of the bow id after the Category/Section of bows.

bows:
  my-first-bow: # Item id for commands, handling data, etc.
Adding necessary parameters

One of the necessary parameters is the display-name. You can color code the display-name using "&" and the default minecraft colors.

bows:
  my-first-bow: # Item id for commands, handling data, etc.
    display-name: "&5&lMagic Bow!" # Name that will be displayed to the item
Adding enchantments to bows (Optional)

You can add the enchantments you want to the bow by setting the "enchantments" option.

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
You can add a description/lore to bow (Optional, Recommended)

You can add as many lines of lore as you wish as long as you set the "lore" option and respect the indexing.

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"

Example of what it should look like

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"