summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/api/IJails.java
blob: 18866d8e5dc671b077fb8963d57abb456620403b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.earth2me.essentials.api;

import java.util.Collection;
import org.bukkit.Location;


public interface IJails extends IReload
{
	Location getJail(String jailName) throws Exception;

	Collection<String> getList() throws Exception;

	void removeJail(String jail) throws Exception;

	void sendToJail(com.earth2me.essentials.IUser user, String jail) throws Exception;

	void setJail(String jailName, Location loc) throws Exception;
}