HomeJavaModsStaffs
Staffs
Version for Minecraft 1.8.6 users - here .
Version for Minecraft 1.9 users - here .
Version for Minecraft 1.9.4 users - here .
Version for Minecraft 1.10 users - here .

Introduction
Plugin Staffs adds to your server new type of distance weapon. Staffs allow you to shoot your enemies with charges of magic energy. The idea of this plugin is to make another type of simple weapon i.e. without any special effects (for example bare diamond sword don't set on fire enemies or don't poison them etc). There will be ways to add extra features to your staff later.
All changes in short video below
Types of staffs
Spoiler
Magic Wand
[​IMG]

Wooden staff
[​IMG]

Wooden scepter
[​IMG]

Bone staff
[​IMG]

Bone scepter
[​IMG]

Amber staff
[​IMG]

Amber scepter
[​IMG]

Ender Star
[​IMG]
As you can see there are now two global classes - staffs and scepters.
Staffs deal more damage, and scepters reach their maximum power faster.
Magic Wand and Ender Star cannot be crafted. In this case you can add Magic Wand to kit start or something like that, for example. And Ender Star give to VIP members, or for completing some quest etc.

Characteristics
Damage
Average amount of damage dealt by charges launched with this staff. Actual damage will be scaled between 50% and 150% of this amount depending on charging time.

Durability
Number of charges that staff could launch. When it becomes lower than 10% of a maximum, it makes sound of broken glass and message you. And the staff will be broken, when this parameter turns 0.

Charging Time
The time that staff takes to collect maximum of energy.

There is one more parameter that doesn't mentioned in lore.

Distance
Average amount of distance that charge could reach. Has similar scaling as the damage.

Commands
/staffsinfo - gives you book with all information that presented here.
/getstaff [player] [type] [count] - gives you staff (types: wood, bone, amber), player and count is not necessary (staffs.get permission required)
/givestaff - same as getstaff but avaiable through console
examples:
/getstaff wood - gives you 1 wooden staff
/getstaff amber 2 - gives you 2 amber staffs
/getstaff Dummy bone - gives 1 bone staff to player whose nickname is Dummy
/getstaff Dummy wood 3 - gives 3 wooden staffs to player whose nickname is Dummy
Click to expand...
/repairstaff - repairs staff in your hand (staffs.repair permission required)
/repairstaff [player] - repairs staff in player's hand, avaiable via console
/screload - reload configuration files (staffs.configreload permission required)

Config
There are 2 files
messages.yml
Code (Text):
repairsuccess: 'Your staff has been repaired!'
repairstaffmessage: 'Your staff needs to be repaired!'
notstaffinhand: 'Item in your hand is not staff!'
placeholders.yml
Code (Text):
attackdamage: 'Attack Damage'
chargetime: 'Charging Time'
durability: 'Durability'
power:'Power'
staffs.yml
Code (Text):
1:
  type: 'wand'
  name: 'Magic Wand'
  item: 280
  color: DARK_AQUA
  attackdamage: 3.5
  durability: 160
  casttime: 1.75
  distance: 39
2:
  type: 'woodst'
  name: 'Wooden Staff'
  item: 280
  color: DARK_AQUA
  attackdamage: 5
  durability: 250
  casttime: 1.7
  distance: 42
  recipe: 'abaaca0c0'
    a: 265
    b: 388
    c: 280
3:
  type: 'woodsc'
  name: 'Wooden Scepter'
  item: 280
  color: DARK_AQUA
  attackdamage: 4
  durability: 250
  casttime: 1.5
  distance: 42
  recipe: 'abaaca0c0'
    a: 265
    b: 264
    c: 280
4:
  type: 'bonest'
  name: 'Bone Staff'
  item: 352
  color: BLUE
  attackdamage: 6
  durability: 400
  casttime: 1.5
  distance: 46
  recipe: 'abaaca0c0'
    a: 265
    b: 388
    c: 352
5:
  type: 'bonesc'
  name: 'Bone Scepter'
  item: 352
  color: BLUE
  attackdamage: 5
  durability: 400
  casttime: 1.3
  distance: 46
  recipe: 'abaaca0c0'
    a: 265
    b: 264
    c: 352
6:
  type: 'amberst'
  name: 'Amber Staff'
  item: 369
  color: LIGHT_PURPLE
  attackdamage: 8
  durability: 700
  casttime: 1.3
  distance: 55
  recipe: 'abaaca0c0'
    a: 266
    b: 388
    c: 369
7:
  type: 'ambersc'
  name: 'Amber Scepter'
  item: 369
  color: LIGHT_PURPLE
  attackdamage: 7
  durability: 700
  casttime: 1.1
  distance: 55
  recipe: 'abaaca0c0'
    a: 266
    b: 264
    c: 369
8:
  type: 'star'
  name: 'Ender Star'
  item: 399
  color: DARK_PURPLE
  attackdamage: 10
  durability: 2000
  casttime: 0.4
  distance: 60
 
type - name that will be used in /getstaff [type]
name - displayed name
item - id of the item that will be used
color - color of name

Some tips about recipes
Recipe must be nine symbols long!
For example reicpe: 'abcdefghi' in crafting table looks like this
[​IMG]
0 stands for empty slot.

Remember!!! Staffs, crafted or get with command with older config woundn't work with new config.

Permissions
staffs.get - allows to use /getstaff
staffs.repair - allows to use /repairstaff
staffs.configreload - allows to use /screload

Installation
Drag and drop .jar file into plugins folder.

Requirements
Spigot 1.8.6

I hope you will like my first plugin. I appreciate all suggestions and advices. Please let me know about bugs that you have found and what you like or don't like is a discussion session.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Staffs is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 1,181 times (via Spigot). Download it and open it directly in the game.

Explore more