summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
blob: 6580ce7f8851d9eee8f9ab65b0f92b9f525b95ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
}