summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-21 02:55:26 +0100
committersnowleo <schneeleo@gmail.com>2011-11-21 02:55:26 +0100
commite3fa24375342bdf58494c26cc125acb7d621cc87 (patch)
tree457ec062b09eb5c6aec08111e76e7991c61efb1a /EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
parent0d0eb1e8bd50d0ed8cbb0a496fa8c6a349e88635 (diff)
downloadEssentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar
Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.gz
Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.lz
Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.xz
Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.zip
Switch to the new I18n class and format cleanup of all classes
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java b/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
index 271f1c464..755baface 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/data/IProtectedBlock.java
@@ -3,13 +3,22 @@ package com.earth2me.essentials.protect.data;
import java.util.List;
import org.bukkit.block.Block;
-public interface IProtectedBlock {
+
+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();
}