1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-28 23:29:08 +02:00

[trunk] Protect refactors (formally known as 3.0) needs ***EXTENSIVE*** testing

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1574 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo
2011-06-02 23:09:59 +00:00
parent 3dab3d8df8
commit f6cedda1e2
16 changed files with 971 additions and 870 deletions

View File

@@ -0,0 +1,15 @@
package com.earth2me.essentials.protect.data;
import java.util.List;
import java.util.Set;
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);
}