summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
blob: 755bafaced7560efff303e46cc2bc55480830bf7 (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
package com.earth2me.essentials.protect.data;

import java.util.List;
import org.bukkit.block.Block;


public interface IProtectedBlock
{
	public void clearProtections();

	public void importProtections(List<OwnedBlock> blocks);

	public List<OwnedBlock> exportProtections();

	public void protectBlock(Block block, String playerName);

	public boolean isProtected(Block block, String playerName);

	public List<String> getOwners(Block block);

	public int unprotectBlock(Block block);

	public void onPluginDeactivation();
}