
Knives
Enhance your server with throwing knives!
This plugin introduces throwing knives as craftable weapons that players can create themselves. To make these weapons, you'll need iron ingots and sticks, with the number of knives obtained per craft and their maximum inventory capacity configurable through the configuration file.
To throw a knife, simply right-click. This will consume one knife from your inventory.


Permissions
knives.use:
description: Allows using throwing knives.
default: true
knives.craft:
description: Allows crafting throwing knives.
default: true
Configuration
Edit existing settings or add your own knife variations:
knife1:
craft_amount: 5 # Integer
max_amount: 40 # Integer
damage: 2.0 # Double
cooldown: 500 # Integer, milliseconds
name: "<red>Iron Throwing Knife" # String
lore: # List
- "Sharp knife"
material: IRON_SWORD # Material as enum (for a list of possibilities see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
recipe: > # 2x2 or 3x3 crafting grid with materials separated by '|'. '#' represents an empty cell.
# | # | # |
# | IRON_INGOT | # |
STICK | # | # |
knife2:
craft_amount: 1
max_amount: 10
damage: 1.0
cooldown: 1000
name: "Potato"
lore: # List
- "Unseen vegetable"
- "can be deadly"
material: POTATO
mass: 2.5 # Factor defining object falling speed. Recommended to keep between 0.3 and 3.
recipe: >
# | # |
# | POTATO |