Simple really, we kill the old wands.
This plugin i would like to replace all of the wands plugins are currently using.
Config
<none>
Permissions
<none>
how to make a wand
- make a wand class and make it implement Wand (look below for example)
- register the wand - WandManager.add(Wand Class);
- make sure you have depend: Wands in you config
Examples
Wand Class
public class ProtectionWand implements Wand { public HashMap<String,Location[]> selections = new HashMap<String,Location[]>(); @Override public void onRightClick(ItemStack itemStack, Player player, Block bockedClick, BlockFace face) { } @Override public void onLeftClick(ItemStack itemStack, Player player, Block bockedClick, BlockFace face) { } @Override public boolean canCreate(ItemStack itemStack, Player player) { return true; } @Override public String getName() { return ChatColor.GOLD+"Protection Wand"; } }
Pictures :D