diff options
author | ementalo <ementalodev@gmx.co.uk> | 2012-07-17 12:26:55 +0100 |
---|---|---|
committer | ementalo <ementalodev@gmx.co.uk> | 2012-07-17 14:21:03 +0100 |
commit | a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3 (patch) | |
tree | 2aa10b6300f6c8d3cb2b298c124180fade74857a /EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java | |
parent | 3c385e69271dfe8530fadc3f67e13ee495e4b0e1 (diff) | |
parent | 9f05e43ecf8e6e1a8fcaef757678e762f0d82573 (diff) | |
download | Essentials-a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3.tar Essentials-a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3.tar.gz Essentials-a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3.tar.lz Essentials-a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3.tar.xz Essentials-a661bce7b3de3f53e2b7b79c1283f0affa6fe9c3.zip |
Merge of server-layer branch
Diffstat (limited to 'EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java')
-rw-r--r-- | EssentialsAntiCheat/src/com/earth2me/essentials/anticheat/actions/Action.java | 32 |
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; - } -} |