diff options
Diffstat (limited to 'EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/checks/inventory/InventoryData.java')
-rw-r--r-- | EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/checks/inventory/InventoryData.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/checks/inventory/InventoryData.java b/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/checks/inventory/InventoryData.java new file mode 100644 index 000000000..daeef8679 --- /dev/null +++ b/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/checks/inventory/InventoryData.java @@ -0,0 +1,25 @@ +package com.earth2me.essentials.anticheat.checks.inventory; + +import com.earth2me.essentials.anticheat.DataItem; +import org.bukkit.Material; + + +/** + * Player specific data for the inventory checks + * + */ +public class InventoryData implements DataItem +{ + // Keep track of the violation levels of the three checks + public int dropVL; + public int instantBowVL; + public double instantEatVL; + // Time and amount of dropped items + public long dropLastTime; + public int dropCount; + // Times when bow shootinhg and eating started + public long lastBowInteractTime; + public long lastEatInteractTime; + // What the player is eating + public Material foodMaterial; +} |