From 0c29f2f8ca17ec0e30c83c6f7b0726e840fd2181 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Thu, 10 Apr 2025 08:38:21 +0700 Subject: [PATCH] refactor: default `coreCommandSpy` to true since all clones have them now --- build-number.txt | 2 +- src/main/java/me/chayapak1/chomens_bot/Configuration.java | 2 +- src/main/resources/default-config.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-number.txt b/build-number.txt index 925d7600..ef8419e4 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -2576 \ No newline at end of file +2577 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/Configuration.java b/src/main/java/me/chayapak1/chomens_bot/Configuration.java index c65ae5d4..c9d9cb4e 100644 --- a/src/main/java/me/chayapak1/chomens_bot/Configuration.java +++ b/src/main/java/me/chayapak1/chomens_bot/Configuration.java @@ -178,7 +178,7 @@ public class Configuration { public boolean useCore = true; public boolean useCorePlaceBlock = false; public boolean useChat = false; - public boolean coreCommandSpy = false; + public boolean coreCommandSpy = true; public boolean resolveSRV = true; public int reconnectDelay = 2000; public int chatQueueDelay = 125; diff --git a/src/main/resources/default-config.yml b/src/main/resources/default-config.yml index 8121b0e1..a4d4be99 100644 --- a/src/main/resources/default-config.yml +++ b/src/main/resources/default-config.yml @@ -144,7 +144,7 @@ bots: # useCore - if enabled it just sends the command using chat instead of using core. recommended to enable useChat too when this is disabled # useCorePlaceBlock - uses the place block core instead of the main core. only used if useCore is enabled # useChat - when the bot tellraws it will chat instead of using the core to run tellraw - # coreCommandSpy - set to true if server supports enabling player's commandspy though command block + # coreCommandSpy - set to true if server supports enabling player's commandspy through command block, defaults to true # resolveSRV - whether to resolve SRV records on the server. the notchian minecraft doesn't resolve them # essentialsMessages - the messages in essentials that the bot uses for self care (no example is intentional) # coreRateLimit - will ignore commands if reached the ratelimit @@ -163,7 +163,7 @@ bots: # useCore: true # useCorePlaceBlock: false # useChat: false - # coreCommandSpy: false + # coreCommandSpy: true # resolveSRV: true # reconnectDelay: 2000 # chatQueueDelay: 125