mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-02-06 23:01:32 +01:00
Minor changes to default settings of new blockplace.direction check
This commit is contained in:
parent
04ec82eef6
commit
666a52bf73
@ -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(" ")));
|
||||
|
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user