advanced peripherals cfgs

This commit is contained in:
Dmitry
2024-08-31 09:54:35 +07:00
parent a8d886c16d
commit e6efe21971
2 changed files with 22 additions and 0 deletions

View File

@@ -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

View File

@@ -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