From 3724525f89c452c1a69467bba4e533830f5a9920 Mon Sep 17 00:00:00 2001 From: Evenprime Date: Mon, 19 Sep 2011 20:20:18 +0200 Subject: [PATCH] Final changes and adaptations for the new nofall check --- plugin.yml | 2 +- src/cc/co/evenprime/bukkit/nocheat/DefaultConfiguration.java | 2 +- src/cc/co/evenprime/bukkit/nocheat/Explainations.java | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index c0900d60..3e6788f8 100644 --- a/plugin.yml +++ b/plugin.yml @@ -3,7 +3,7 @@ name: NoCheat author: Evenprime main: cc.co.evenprime.bukkit.nocheat.NoCheat -version: 2.05 +version: 2.06 permissions: diff --git a/src/cc/co/evenprime/bukkit/nocheat/DefaultConfiguration.java b/src/cc/co/evenprime/bukkit/nocheat/DefaultConfiguration.java index 81935b42..a8e454ee 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/DefaultConfiguration.java +++ b/src/cc/co/evenprime/bukkit/nocheat/DefaultConfiguration.java @@ -83,7 +83,7 @@ public class DefaultConfiguration { walkactions.add(400, "moveLogHighShort moveCancel"); runflyNode.add(new BooleanOption("checknofall", true, false)); - runflyNode.add(new IntegerOption("nofallmultiplier", 100)); + runflyNode.add(new IntegerOption("nofallmultiplier", 200)); ActionListOption nofallactions = new ActionListOption("nofallactions"); runflyNode.add(nofallactions); nofallactions.add(0, "nofallLog nofallCancel"); diff --git a/src/cc/co/evenprime/bukkit/nocheat/Explainations.java b/src/cc/co/evenprime/bukkit/nocheat/Explainations.java index 7b1ed683..a1a92ff6 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/Explainations.java +++ b/src/cc/co/evenprime/bukkit/nocheat/Explainations.java @@ -38,6 +38,10 @@ public class Explainations { set("moving.runfly.sneakingspeedlimit", "Set the speed limit for moving horizontal while sneaking.\nUnit is 1/100 of a block, default is 14"); set("moving.runfly.actions", "What should be done if a player moves faster than the speed limit(s) or jumps higher than allowed.\nUnits are in 1/100 of a block above the limit."); + set("moving.runfly.checknofall", "If true, check if a player is avoiding fall damage by using a nofall hack. EXPERIMENTAL! Feedback is appreciated."); + set("moving.runfly.nofallmultiplier", "How many percent falldamage should be dealt to the player.\nNoCheat will almost always underestimate fall damage, using a value bigger than 100 is advised.\nUnit is percent of the estimated original fall damage, default is 200."); + set("moving.runfly.nofallactions", "What should be done if a player is detected as avoiding fall damage.\nUnit is number of blocks the player fell down."); + set("moving.runfly.allowlimitedflying", "If true, instead of doing the above checks for walking/sprinting/swimming/sneaking,\nallow flying and only limit the flying speed."); set("moving.runfly.flyingspeedlimitvertical", "Set the speed limit for moving vertical while flying.\nUnit is 1/100 of a block, default is 100."); set("moving.runfly.flyingspeedlimithorizontal", "Set the speed limit for moving horizontal while flying.\nUnit is 1/100 of a block, default is 60.");