blob: 271f1c464775b74267a4b2de4551dbdecc3585f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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();
}
|