Commit Graph

248 Commits

Author SHA1 Message Date
asofold
866f4fde6c Clean up fastbreak: Add check for frequency of block breaking to leave
the survival block breaking duration to the fastbreak check. Adaptions
to the configuration. Fix creative / speed.
2012-09-12 08:01:32 +02:00
asofold
7cdfeb663a Quick fix for fastbreak: Efficiency on leaves. 2012-09-12 07:40:59 +02:00
asofold
6371e0f20c Bleeding: Improved fast break check, can be switched with the oldcheck
setting. fastbreak.debug to true + nocheatplus.admin.debug gives output
about breaking time and expected breaking time for balancing purposes.
Improved WrongBlock.
2012-09-11 13:23:05 +02:00
asofold
120d17a23c Set up structure for exact breaking times. 2012-09-10 22:04:48 +02:00
asofold
8d41378688 Make wrong block vl decrease over 2 minutes. 2012-09-10 20:57:40 +02:00
asofold
256fd6b26f Add new method for fastbreak (switchable). 2012-09-10 20:54:19 +02:00
asofold
544e0a06be Adjust Knockback sprint time: Only count in if really sprinting, check
on monitor priority level.
2012-09-10 15:52:16 +02:00
asofold
778461da16 Rework actions execution, simplify + optimize, add metrics count
asynchronously.
2012-09-10 15:33:18 +02:00
asofold
0908b79657 Add command ncp removeplayer, to remove player data. @factories: Should
they actually be called factories?
2012-09-10 14:03:21 +02:00
asofold
de51c493d2 AsyncCheckData should be abstract. 2012-09-10 12:58:27 +02:00
asofold
fb15e2f144 Do activate the improbable check, seems ok without fastbreak added. 2012-09-10 12:48:02 +02:00
asofold
f1358ec1a6 Add simple wrong block check to block break. 2012-09-10 12:39:29 +02:00
asofold
070bcac0da Add example string for tempkick. 2012-09-10 11:08:55 +02:00
asofold
310745cde6 Re-add combined check, deactivated by default, inclusion of fastbreak
check configurable, deactivated by default.
2012-09-10 11:07:07 +02:00
asofold
cd856208d2 Add ncp tempkick command + API do deny logins [missing: persist]. 2012-09-10 10:10:45 +02:00
asofold
4d0b28606d Bleeding: Add unused skeleton of an Improbable check. 2012-09-10 08:52:27 +02:00
asofold
de9119d659 Fix check name for history. 2012-09-09 11:39:50 +02:00
asofold
ae317f4154 Fix TickTask, lighter synchronization. 2012-09-09 07:25:38 +02:00
asofold
f9cfd8bd5b Question. 2012-09-09 07:22:56 +02:00
asofold
0b083f9d30 Fix fastbreak for the moment. 2012-09-09 06:02:43 +02:00
asofold
b5ee2fe985 Chat: request permission update on world changes. 2012-09-09 02:37:31 +02:00
asofold
8fde82b113 Fix: read range for globalchat/similarity. 2012-09-09 02:12:37 +02:00
asofold
9a2852c7e0 Fix cached captcha permissions not checked. 2012-09-08 23:53:05 +02:00
asofold
5633ce9315 Remove delay from default command actions. 2012-09-08 23:48:48 +02:00
asofold
703740ea04 Use the actions field. 2012-09-08 23:39:23 +02:00
asofold
af2b9fb2b5 Bleeding: Fully rework asynchronous actions execution. 2012-09-08 23:34:49 +02:00
asofold
39fb4c4b91 Make tolerance for step check configurable. Adds to ConfigFile. Use
maximum for vDistanceAboveLimit.
2012-09-08 21:48:36 +02:00
asofold
1b9b83efc8 Tweak nofall slightly (performance). 2012-09-08 21:33:37 +02:00
asofold
cc7eb2cbce Bleeding: Set up AsyncCheck structures (TickTask/permissions). [Stage 1
- missing: make actions work async where necessary + schedule rest.]
2012-09-08 20:16:10 +02:00
asofold
1d34d68085 selfhit: Set default log delay to 0. 2012-09-08 15:36:37 +02:00
asofold
ad1e1b2cd9 Only save back config if loading was successful (Ticket 179). Adapt
messages on config failures, log on severe level.
2012-09-08 14:34:21 +02:00
asofold
fa8f1cc4cb gobalchat: Add hidden active flags for global and player (works per
world config). Ensure clear calls reset the added counts.
2012-09-08 14:15:56 +02:00
asofold
128836be65 Remove ban and ip-ban from nopwnage actions (keep in strings). Adjust
some messages.
2012-09-08 09:21:08 +02:00
asofold
f83d3b7c10 Adjust kick commands for chat to use delay. 2012-09-08 09:05:23 +02:00
asofold
f3a9250ee9 captcha: adjust to reset on login. 2012-09-08 08:30:08 +02:00
asofold
0160924567 Hide nomovedtooquickly config settings (temp). 2012-09-07 23:23:00 +02:00
asofold
07eec2ece9 Correct config path of selfhit. 2012-09-07 23:04:04 +02:00
asofold
ac9b6473fc Added self-hit check. 2012-09-07 22:46:13 +02:00
asofold
5419b3ceff globalchat: add minwordsize and maxwordsize to methods. Simplify
constructors.
2012-09-07 11:31:47 +02:00
asofold
ad849d8273 Fix nopwnage VL accumulating wrongly. Add nopwnage.debug flag. 2012-09-07 10:53:09 +02:00
asofold
d4103899a5 Re-structure globalchat: rename config paths, add hidden settings, add
similarity check. Adjust default captcha letters (Ticket 194).
2012-09-07 10:31:07 +02:00
asofold
89a5b3221f globalchat: Add cleanup methods. engine: synchronize over engine, adapt
interfaces for per player stuff. Add per player checks for word
repetition.
Add
prefixtree
package, repair generics.
2012-09-05 08:51:11 +02:00
asofold
ecb6c73356 globalchat: synchronize parts over engine. 2012-09-05 01:45:23 +02:00
asofold
f2b29da6a6 Actually it is CompressedWords, rather. 2012-09-05 00:30:48 +02:00
asofold
17ded8adee Fixed some generic setup. 2012-09-04 12:35:09 +02:00
asofold
161548cbff Fix CompressedChars filling up indefinitely, monitor exact node number. 2012-09-04 09:08:19 +02:00
asofold
b262753f4f Change registration order in enable / disable. 2012-09-04 08:52:03 +02:00
asofold
c89e6c6957 Ensure readers/writers are closed. 2012-09-04 08:42:26 +02:00
asofold
3940f275c5 Reset speed on clearNopwnageData. 2012-09-04 07:10:11 +02:00
asofold
97c7f68ad3 Set default settings for chat to something more reasonable. 2012-09-04 06:54:36 +02:00
asofold
da420ec877 Fix some reloading issues. 2012-09-04 06:48:21 +02:00
asofold
47f78f8b02 globalchat: Do not activate engines be default. 2012-09-04 06:05:35 +02:00
asofold
d7525bd73c Fix issue on reloading. 2012-09-04 06:03:43 +02:00
asofold
e506e7f2d0 globalchat: Disable compressed chars by default, active flags for
engines.
2012-09-04 03:15:31 +02:00
asofold
9ea390ac40 Adjust default speedingspeed to 200. 2012-09-04 02:14:09 +02:00
asofold
5f55935d5c Remove trimming from command lists for chat. 2012-09-03 11:56:06 +02:00
asofold
b997a651fb Adjust nopwnage speed check, remove timeout interval for a queue. 2012-09-03 11:16:51 +02:00
asofold
4144e14bac Add convenience methods to PrefixTree + add SimpleCharPrefixTree. 2012-09-03 10:19:57 +02:00
asofold
27a74a4cfb Make checking for updates configurable. 2012-09-03 10:18:16 +02:00
asofold
a68d603348 Fix some command issues. 2012-09-03 09:55:14 +02:00
asofold
acabe72db1 Add speedingspeed and permission (speeding) to survivalfly. 2012-09-03 09:25:43 +02:00
asofold
7005b141cf Add permission for speeding. 2012-09-03 08:46:56 +02:00
asofold
c759d24e7f Attempt to fix step hack detection in a simple way. 2012-09-03 08:39:54 +02:00
asofold
77802bd3e5 Add delayable command "ncp delay", for arbitrary commands. 2012-09-03 05:45:53 +02:00
asofold
a4780bf079 Use parent node as argument for NodeFactory.newNode. 2012-09-03 05:09:33 +02:00
asofold
8534cf91e2 Generic rage. 2012-09-03 05:03:28 +02:00
asofold
167717609c Rename to PrefixTree, some correction. 2012-09-03 03:36:56 +02:00
asofold
3e56b95c02 Corrections for LookupTree. 2012-09-03 02:55:47 +02:00
asofold
0915725410 node is a newly added node, if create == true. 2012-09-03 02:46:26 +02:00
asofold
ae4d4bad7d Revert aggressive renaming effect. 2012-09-03 02:39:34 +02:00
asofold
0094582f00 Bleeding: Add compressed letter tree (experimental). Move stuff a little
for globalchat.
2012-09-03 00:47:40 +02:00
asofold
568314770c Exempt commands from all nopwnage checks but speed and first. 2012-09-02 21:01:17 +02:00
asofold
45951b5013 FlatWordBuckets: Ensure that at least as many entries as added get
released.
2012-09-02 18:58:01 +02:00
asofold
fe439d014f Make "engine" feature configurable, not much of an engine though, yet. 2012-09-02 08:14:26 +02:00
asofold
386a70eda4 Bleeding: Add global word to ActionFreqeuncy map, factor to analysis
package.
2012-09-02 08:01:19 +02:00
asofold
1936a2f158 Allow captcha to work with globalchat, even if nopwnage is disabled. 2012-09-02 05:28:59 +02:00
asofold
3dffddf4b3 Add kick to globalchat actions for some vl. 2012-09-02 05:27:40 +02:00
asofold
7d3f48cd48 Adjust globalchat paramters, added some random criteria. 2012-09-02 04:58:54 +02:00
asofold
488643e0f6 Remove ingame log for globalchat 2012-09-02 04:36:53 +02:00
asofold
ca418d7887 Adjust noPwnageVL: use a queue that expires gradually with time instead
of one single VL entry. Blends in nice with globalchat, if captcha is
off and ban actions removed (nopwnage just kicks then).
2012-09-01 20:57:47 +02:00
asofold
e0c153da45 Adjust default factor for globalchat. 2012-09-01 16:00:25 +02:00
asofold
87d2894fcf Add commands to check like chat to globalchat, add experimental counts. 2012-09-01 15:37:05 +02:00
asofold
c58c086e39 Adjust javadocs. 2012-09-01 13:50:40 +02:00
asofold
9c8ad6ac1b globalchat: switch to add(weight) using floats for ActionFrequency. 2012-09-01 13:43:53 +02:00
asofold
520add8440 synchronize globalchat over data for now. 2012-09-01 12:48:20 +02:00
asofold
450d9d3ba4 Adjust actions for globalchat. 2012-09-01 12:38:48 +02:00
asofold
4508bc30e0 Add "globalchat" check skeleton - currently only monitors 30 seconds
chat frequency per player, delegate to captcha or actions, configurable
paramters.
2012-09-01 12:22:38 +02:00
asofold
8c7ade7034 Remove unnecessary assignment. 2012-09-01 12:20:37 +02:00
asofold
944bfe8192 Add interface for captcha methods. 2012-09-01 06:37:43 +02:00
asofold
a14cf1ee7c Restructuring part 1: Move executeActionsThreadsafe to Check, factor
captcha code into separate methods, mostly.
2012-09-01 06:01:13 +02:00
asofold
f5ef5ac3be Add hidden settings for setting the size for the on-ground
bounding box for moving (creativefly+survivalfly) and nofall checks.
[Using a
bigger default one for nofall reduces false positives a lot.]
2012-08-31 12:47:30 +02:00
asofold
68519185a8 Fix color check not replacing colors. 2012-08-31 12:42:14 +02:00
asofold
b0fc6a9888 Actually correct captcha actions (vl>.. is bound to a log action). 2012-08-31 08:52:10 +02:00
asofold
fd42826477 Tweaks, unlikely. 2012-08-31 07:50:33 +02:00
asofold
a6e01c8b48 Revert "fix", though it would not matter that much, it's probably too
late.
2012-08-31 02:55:33 +02:00
asofold
96d9abf0c4 Fix creative fly checking conditions. 2012-08-31 02:49:26 +02:00
asofold
51c133c106 Correct captcha actions. 2012-08-30 17:20:26 +02:00
asofold
caeccc917c Add extra VL and log message for captcha, reset tries after disconnect. 2012-08-29 07:26:51 +02:00
asofold
d1124c143f Remove nopwnage kick message option, add commands for kick with captcha
and nopwnage.
2012-08-29 07:03:57 +02:00
asofold
a502aab2c8 Clean up command handling slightly, add delayable commands for tell,
kick and ban with reasons displayed if the player is online.
2012-08-29 06:50:26 +02:00