summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/api/ITeleport.java
blob: 559a05f3968f176d636489e169ff8ffb8640f2c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package net.ess3.api;

import net.ess3.economy.Trade;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;


public interface ITeleport
{
	void now(Location loc, boolean cooldown, TeleportCause cause) throws Exception;

	void now(Entity entity, boolean cooldown, TeleportCause cause) throws Exception;

	void back(Trade chargeFor) throws Exception;

	void teleport(Location bed, Trade charge, TeleportCause teleportCause) throws Exception;

	void teleport(Entity entity, Trade chargeFor, TeleportCause cause) throws Exception;

	void home(IUser player, String toLowerCase, Trade charge) throws Exception;

	void respawn(Trade charge, TeleportCause teleportCause) throws Exception;

	void back() throws Exception;

	public void warp(String name, Trade charge, TeleportCause teleportCause) throws Exception;
}