From 666a52bf73aeee2f8ea25408eab859429b87223b Mon Sep 17 00:00:00 2001 From: Evenprime Date: Sun, 30 Oct 2011 20:41:11 +0100 Subject: [PATCH] Minor changes to default settings of new blockplace.direction check --- .../evenprime/bukkit/nocheat/config/DefaultConfiguration.java | 4 ++-- src/cc/co/evenprime/bukkit/nocheat/config/Explainations.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java b/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java index 0173c17e..7c3bd385 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java +++ b/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java @@ -131,8 +131,8 @@ public class DefaultConfiguration extends Configuration { setValue(BLOCKPLACE_ONLIQUID_ACTIONS, onliquidActionList); setValue(BLOCKPLACE_DIRECTION_CHECK, true); - setValue(BLOCKPLACE_DIRECTION_PRECISION, 50); - setValue(BLOCKPLACE_DIRECTION_PENALTYTIME, 300); + setValue(BLOCKPLACE_DIRECTION_PRECISION, 75); + setValue(BLOCKPLACE_DIRECTION_PENALTYTIME, 100); ActionList directionActionList = new ActionList(); directionActionList.setActions(0, action.getActions("blockplaceCancel".split(" "))); directionActionList.setActions(10, action.getActions("directionLog blockplaceCancel".split(" "))); diff --git a/src/cc/co/evenprime/bukkit/nocheat/config/Explainations.java b/src/cc/co/evenprime/bukkit/nocheat/config/Explainations.java index 5201767c..d1fad824 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/config/Explainations.java +++ b/src/cc/co/evenprime/bukkit/nocheat/config/Explainations.java @@ -76,8 +76,8 @@ public class Explainations { set(Configuration.BLOCKPLACE_ONLIQUID_ACTIONS, "What should be done if a player is is trying to place non-liquid blocks against liquid blocks.\nUnit is number of place(attempt)s."); set(Configuration.BLOCKPLACE_DIRECTION_CHECK, "If true, check if a player is looking at the block that he's placing."); - set(Configuration.BLOCKPLACE_DIRECTION_PRECISION, "Define how precise a player has to be when placing blocks. Lower values mean more precision, higher values less precision."); - set(Configuration.BLOCKPLACE_DIRECTION_PENALTYTIME, "Define how long after a failed attempt to place blocks a player will be disallowed to place another block. \nUnit is milliseconds, default is 300."); + set(Configuration.BLOCKPLACE_DIRECTION_PRECISION, "Define how precise a player has to be when placing blocks. Lower values mean more precision, higher values less precision. Default 75."); + set(Configuration.BLOCKPLACE_DIRECTION_PENALTYTIME, "Define how long after a failed attempt to place blocks a player will be disallowed to place another block. \nUnit is milliseconds, default is 100."); set(Configuration.BLOCKPLACE_DIRECTION_ACTIONS, "What should be done if a player is placing blocks that are not in his line of sight.\nUnit is number of place(attempt)s outside the line of sight."); set(Configuration.CHAT_CHECK, "If true, do various checks on PlayerChat events.");