summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/api/ITeleport.java
blob: 3a5f25f78bac12592259f793db89b20857b8385d (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 com.earth2me.essentials.api;

import com.earth2me.essentials.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;
}