diff --git a/config/Advancedperipherals/general.toml b/config/Advancedperipherals/general.toml index efb0f4139..ec7d08b28 100644 --- a/config/Advancedperipherals/general.toml +++ b/config/Advancedperipherals/general.toml @@ -11,3 +11,9 @@ #Range: > 0 initialCooldownSensitiveLevel = 6000 +[Unsafe] + #By setting this value to true, I understand all operations below are danger to my adventure, and if they caused unexpected behavior in my world, I will not consider it as AP's liability + enableUnsafe = false + #Ignore turtle peripheral item's NBT when equipping. **YOU WILL LOSE ALL NBT ON THE ITEM** + ignoreTurtlePeripheralItemNBT = false + diff --git a/config/Advancedperipherals/peripherals.toml b/config/Advancedperipherals/peripherals.toml index f6af043b7..72728f1b2 100644 --- a/config/Advancedperipherals/peripherals.toml +++ b/config/Advancedperipherals/peripherals.toml @@ -57,6 +57,12 @@ chatBoxMaxRange = -1 #If true, the chat box is able to send messages to other dimensions than its own chatBoxMultiDimensional = true + #If true, the chat box cannot use 'run_command' action + chatBoxPreventRunCommand = false + #If true, the chat box will wrap and execute 'run_command' or 'suggest_command' action with zero permission, in order to prevent operators accidently run dangerous commands. + chatBoxWrapCommand = true + #These commands below will not be able to send by 'run_command' or 'suggest_command' action. It will match as prefix if starts with '/', other wise use regex pattern + chatBoxBannedCommands = ["/execute", "/op", "/deop", "/gamemode", "/gamerule", "/stop", "/give", "/fill", "/setblock", "/summon", "/whitelist", "^/ban-(?:ip)?\\s*", "^/pardon-(?:ip)?\\s*", "^/save-(?:on|off)\\s*"] [Peripherals.ME_Bridge] #Enable the Me Bridge or not. @@ -103,6 +109,12 @@ [Peripherals.Compass_Turtle] #Enable the compass turtle or not. enableCompassTurtle = true + #The maximum distance the compass can locate accurately with in each axis. + #Range: 0 ~ 8 + compassAccurePlaceRadius = 3 + #The free distance the compass can locate accurately with in each axis. + #Range: 0 ~ 4 + compassAccurePlaceFreeRadius = 1 [Peripherals.Powered_Peripherals] #Enable RF storage for peripherals, that could use it @@ -158,4 +170,8 @@ scanEntitiesExtraBlockCost = 0.17 #Range: > 1000 chatMessageCooldown = 1000 + #Range: > 1000 + accurePlaceCooldown = 1000 + #Range: > 0 + accurePlaceCost = 1