Custom Bows

EXAMPLE BOW FILE:



#####################################
# This is an example custom         #
# Feel free to edit as you please!  #
#####################################
#
#========================================================================================================
#           ***NAME***
# Name of the bow - this name will show up in-game, and supports colours with & 
name: 'Example Bow'
#========================================================================================================
#           ***DESCRIPTION***
# Description of the bow. This will show up in-game as well.
# To add more another line, just add another.. for example:
# 6: 'My test'
# Make sure it's aligned correctly!
description:
    1: '&dThis is line 1'
    2: '&aThis is line 2'
    3: '&6This is line 3'
    4: 'This is line 4'
    5: '&3This is line 5'
#========================================================================================================
#          ***PERMISSION***
# Permission to craft this item
permission: MoarStuff.Bows.DefaultBow
#========================================================================================================
#           ***ITEM TYPE***
# The ID of the item that is the result of crafting
item-type: 261
#========================================================================================================
#               *** CRAFTING ***
# If it is shapeless, just add the ingredient ids int here. for example:
# ingredients:
# - 02 
# - 07
#
# For shaped, ingredients is a bit more confusing.
# Each number represents a possible spot in the recipe. 
# Next to the number, after the semicolon, add the item id which it represents
# For example:
# 1: 2 
# We just made it so that '1' represents 2 or 'grass'. 
# When we call it in our shape, it will represent grass in the crafting table spot.
# The numbers are ordered like so: 
# TOP LEFT, TOP MIDDLE, TOP RIGHT, MIDDLE LEFT, MIDDLE MIDDLE, MIDDLE RIGHT, BOTTOM LEFT, BOTTOM MIDDLE, BOTTOM RIGHT
# **warning** - if you want to use air, leave the ingredient spot blank
recipe:
    shapeless:
        ingredients: []
    shaped:
        ingredients:
            a: 
            b:
            c:
            d:
            e:
            f:
            g:
            h:
            i:
        shape: aaa,aaa,aaa
#========================================================================================================
#           *** EFFECTS ***
#
# This is one of the most tricky parts of this whole plugin. If you mess anything up here, it may cause errors
# or maybe even server crashes. But don't worry, it's pretty simple if you can understand english. If not,
# post on plugin page asking for help, or maybe help me translate? :D
#
# Bows only have the option to check when the bow fires, or when the arrow from the bow hits. 
#
effects:
    on_shoot:
        # Your effect here
    on_hit:
       # your effect here



This is all really self-explanitory, check this page for effects!


Comments

Posts Quoted:
Reply
Clear All Quotes