Mineuniverse
Log in Register
Plugins

Magic Wands API

Wand api hook for plugins
by _ForgeUser9047045
Download Claim this project
2,868 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

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

  1. make a wand class and make it implement Wand (look below for example)
  2. register the wand - WandManager.add(Wand Class);
  3. 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

Example Example

Wands V 1.0.0
MC 1.4.7
Release 2013-02-17 Get

More from _ForgeUser9047045

IFly
3,546
Idie
1,276

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677