summaryrefslogtreecommitdiffstats
path: root/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java')
-rw-r--r--EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java b/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java
new file mode 100644
index 000000000..bb8ee8a7a
--- /dev/null
+++ b/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/NoCheatPlayer.java
@@ -0,0 +1,36 @@
+package com.earth2me.essentials.anticheat;
+
+import com.earth2me.essentials.anticheat.config.ConfigurationCacheStore;
+import com.earth2me.essentials.anticheat.data.DataStore;
+import com.earth2me.essentials.anticheat.data.ExecutionHistory;
+import org.bukkit.entity.Player;
+
+
+public interface NoCheatPlayer
+{
+ public boolean hasPermission(String permission);
+
+ public String getName();
+
+ public Player getPlayer();
+
+ public DataStore getDataStore();
+
+ public boolean isDead();
+
+ public boolean isSprinting();
+
+ public int getTicksLived();
+
+ public ConfigurationCacheStore getConfigurationStore();
+
+ public float getSpeedAmplifier();
+
+ public float getJumpAmplifier();
+
+ public boolean isCreative();
+
+ public ExecutionHistory getExecutionHistory();
+
+ public void dealFallDamage();
+}