summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/IPermissionsHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/IPermissionsHandler.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/IPermissionsHandler.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/IPermissionsHandler.java b/Essentials/src/com/earth2me/essentials/IPermissionsHandler.java
new file mode 100644
index 000000000..a7bcc80b7
--- /dev/null
+++ b/Essentials/src/com/earth2me/essentials/IPermissionsHandler.java
@@ -0,0 +1,21 @@
+package com.earth2me.essentials;
+
+import org.bukkit.entity.Player;
+
+
+public interface IPermissionsHandler
+{
+
+ String getGroup(Player base);
+
+ boolean canBuild(Player base, String group);
+
+ boolean inGroup(Player base, String group);
+
+ boolean hasPermission(Player base, String node);
+
+ String getPrefix(Player base);
+
+ String getSuffix(Player base);
+
+}