From f1c98135a2eb9833ee30c70d032568ea2775f89e Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 6 Oct 2024 20:46:51 +0700 Subject: [PATCH] 1.21 + a LOT of fixies and a bit of optimization. WorldPlugin is still broken with some debug lines --- .idea/jarRepositories.xml | 5 ++ README.md | 2 +- build.gradle | 12 ++- .../java/me/chayapak1/chomens_bot/Bot.java | 25 +++--- .../chatParsers/CreayunChatParser.java | 4 +- .../chatParsers/KaboomChatParser.java | 4 +- .../chatParsers/MinecraftChatParser.java | 7 +- .../chatParsers/U203aChatParser.java | 7 +- .../command/DiscordCommandContext.java | 4 +- .../command/IRCCommandContext.java | 4 +- .../chomens_bot/commands/MailCommand.java | 2 +- .../chomens_bot/commands/MusicCommand.java | 6 +- .../chomens_bot/commands/UrbanCommand.java | 2 +- .../chayapak1/chomens_bot/data/BossBar.java | 4 +- .../chomens_bot/data/BotBossBar.java | 4 +- .../chomens_bot/data/PlayerEntry.java | 6 +- .../me/chayapak1/chomens_bot/data/Team.java | 6 +- .../plugins/BossbarManagerPlugin.java | 12 +-- .../chomens_bot/plugins/ChatPlugin.java | 39 ++++----- .../plugins/CommandHandlerPlugin.java | 2 - .../chomens_bot/plugins/CorePlugin.java | 80 ++++++++++++------- .../chomens_bot/plugins/DiscordPlugin.java | 12 +-- .../plugins/FormatCheckerPlugin.java | 10 ++- .../chomens_bot/plugins/IRCPlugin.java | 4 +- .../chomens_bot/plugins/LoggerPlugin.java | 4 +- .../plugins/MusicPlayerPlugin.java | 8 +- .../plugins/PacketSnifferPlugin.java | 4 +- .../chomens_bot/plugins/PlayersPlugin.java | 16 ++-- .../chomens_bot/plugins/PositionPlugin.java | 20 ++--- .../chomens_bot/plugins/SelfCarePlugin.java | 28 +++---- .../plugins/ServerPluginsManagerPlugin.java | 4 +- .../chomens_bot/plugins/TPSPlugin.java | 14 ++-- .../plugins/TabCompletePlugin.java | 8 +- .../chomens_bot/plugins/TeamPlugin.java | 6 +- .../chomens_bot/plugins/VoiceChatPlugin.java | 29 +++---- .../chomens_bot/plugins/WorldPlugin.java | 50 ++++++------ .../chomens_bot/song/MidiConverter.java | 2 +- .../chomens_bot/util/ComponentUtilities.java | 8 +- .../chomens_bot/util/UUIDUtilities.java | 12 ++- .../chomens_bot/voiceChat/NetworkMessage.java | 2 +- src/main/resources/default-config.yml | 2 +- 41 files changed, 256 insertions(+), 224 deletions(-) diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 5976bcd..78b7d7a 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -51,5 +51,10 @@