Description

Server Owners:
This plugin does nothing on its own. It is simply an API for other plugins to implement with.
Developers
Simply add WarpsAPI.jar to your project build path.
This plugin makes use of reflection and therefore "shouldn't" break on craftbukkit updates.
Examples
This API allows you to write your own Warp plugin.
It is simple to install:
1. Open your programming program.
2. Go to your plugin and do right-click.
3. Click on "properties".
4. Click on "Java Build Path".
5. Click "add external JARs".
6. Search the WarpsAPI.
Now it is ready to programming!
So you can use it:
1. Add this to your code:

WarpsAPImain warp = WarpsAPI.WarpsAPImain.getPlugin(WarpsAPImain.class);
2. Now you can use your shortcut like this.
warpList(messagePlayer);
As example:
warpList(p);
This lists all the warps from the warps.yml on (WarpsAPI folder).
---------
createWarp(name, loc, createMessage, messagePlayer);
As example:
createWarp("lobby", p.getLocation(), "Warp was created ", p);
This creates a warp with the specified detail.
---------
removeWarp(name, errorMessage, removeMessage, messagePlayer);
As example:
removeWarp("lobby", "This Warp does not exist", "Warps was removed", p);
This removes a warp with the specified detail.
---------
teleportToWarp(name, player, teleportMessage, errorMessage);
As example:
teleportToWarp("lobby", p, "You have been teleported to a Warp", "This Warp does not exist");
This will teleport you to the specified datail.
-------------------------
Sorry for my bad english very sorry.
With best regards
nflug
-------------------------


