summaryrefslogtreecommitdiffstats
path: root/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java')
-rw-r--r--EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java b/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java
deleted file mode 100644
index aa72472ff..000000000
--- a/EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.earth2me.essentials.anticheat.actions;
-
-
-/**
- * An action gets executed as the result of a failed check. If it 'really' gets executed depends on how many executions
- * have occurred within the last 60 seconds and how much time was between this and the previous execution
- *
- */
-public abstract class Action
-{
- /**
- * Delay in violations. An "ExecutionHistory" will use this info to make sure that there were at least "delay"
- * attempts to execute this action before it really gets executed.
- */
- public final int delay;
- /**
- * Repeat only every "repeat" seconds. An "ExecutionHistory" will use this info to make sure that there were at
- * least "repeat" seconds between the last execution of this action and this execution.
- */
- public final int repeat;
- /**
- * The name of the action, to identify it, e.g. in the config file
- */
- public final String name;
-
- public Action(String name, int delay, int repeat)
- {
- this.name = name;
- this.delay = delay;
- this.repeat = repeat;
- }
-}