diff --git a/bin/main/badwords.txt b/bin/main/badwords.txt deleted file mode 100644 index 734afd5..0000000 --- a/bin/main/badwords.txt +++ /dev/null @@ -1,58 +0,0 @@ -# Список запрещенных слов (по одному на строку) -# Строки начинающиеся с # игнорируются -# Фильтр автоматически ловит замены букв (х->x, о->o и т.д.) - -# Основной мат -хуй -хуя -хуе -хую -хуем -хуи -пизда -пизде -пизду -пиздой -пизды -ебать -ебал -ебет -ебут -ебала -ебали -ебаный -ебанный -ебучий -ебучая -ебучее -блять -блядь -бляди -блядей -сука -суки -сучка -сучки -пидор -пидора -пидоры -пидорас -пидорасы -гандон -гандоны -мудак -мудаки -мудила -мудилы -долбоеб -долбоебы -уебан -уебаны -уебок -уебки -говно -говна -говном -дерьмо -дерьма -дерьмом diff --git a/bin/main/com/loki/lochat/LoChat.class b/bin/main/com/loki/lochat/LoChat.class deleted file mode 100644 index 424ce20..0000000 Binary files a/bin/main/com/loki/lochat/LoChat.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/api/filter/MessageFilter.class b/bin/main/com/loki/lochat/api/filter/MessageFilter.class deleted file mode 100644 index 1541fc7..0000000 Binary files a/bin/main/com/loki/lochat/api/filter/MessageFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/CommandManager.class b/bin/main/com/loki/lochat/commands/CommandManager.class deleted file mode 100644 index 2c4cd05..0000000 Binary files a/bin/main/com/loki/lochat/commands/CommandManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/CustomCommand.class b/bin/main/com/loki/lochat/commands/CustomCommand.class deleted file mode 100644 index b65e438..0000000 Binary files a/bin/main/com/loki/lochat/commands/CustomCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/CustomCommandsCommand.class b/bin/main/com/loki/lochat/commands/CustomCommandsCommand.class deleted file mode 100644 index 755e346..0000000 Binary files a/bin/main/com/loki/lochat/commands/CustomCommandsCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/broadcast/AnnounceCommand.class b/bin/main/com/loki/lochat/commands/admin/broadcast/AnnounceCommand.class deleted file mode 100644 index 912f70f..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/broadcast/AnnounceCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/broadcast/DiscordCommand.class b/bin/main/com/loki/lochat/commands/admin/broadcast/DiscordCommand.class deleted file mode 100644 index 942d77d..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/broadcast/DiscordCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/chat/ChatSpyCommand.class b/bin/main/com/loki/lochat/commands/admin/chat/ChatSpyCommand.class deleted file mode 100644 index 049ed8f..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/chat/ChatSpyCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/chat/ClearChatCommand.class b/bin/main/com/loki/lochat/commands/admin/chat/ClearChatCommand.class deleted file mode 100644 index 676df06..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/chat/ClearChatCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/chat/ClearChatConfigCommand.class b/bin/main/com/loki/lochat/commands/admin/chat/ClearChatConfigCommand.class deleted file mode 100644 index 9d88c7e..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/chat/ClearChatConfigCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/system/HubCommand.class b/bin/main/com/loki/lochat/commands/admin/system/HubCommand.class deleted file mode 100644 index fff9ba3..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/system/HubCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/system/LoChatCommand.class b/bin/main/com/loki/lochat/commands/admin/system/LoChatCommand.class deleted file mode 100644 index 70ef80e..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/system/LoChatCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/admin/system/ReloadConfigCommand.class b/bin/main/com/loki/lochat/commands/admin/system/ReloadConfigCommand.class deleted file mode 100644 index 056e12f..0000000 Binary files a/bin/main/com/loki/lochat/commands/admin/system/ReloadConfigCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/base/AdminCommand.class b/bin/main/com/loki/lochat/commands/base/AdminCommand.class deleted file mode 100644 index 7ed7bd9..0000000 Binary files a/bin/main/com/loki/lochat/commands/base/AdminCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/base/BaseCommand.class b/bin/main/com/loki/lochat/commands/base/BaseCommand.class deleted file mode 100644 index 5b067f8..0000000 Binary files a/bin/main/com/loki/lochat/commands/base/BaseCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/base/PlayerCommand.class b/bin/main/com/loki/lochat/commands/base/PlayerCommand.class deleted file mode 100644 index e65ebf6..0000000 Binary files a/bin/main/com/loki/lochat/commands/base/PlayerCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/chat/GlobalChatCommand.class b/bin/main/com/loki/lochat/commands/chat/GlobalChatCommand.class deleted file mode 100644 index 0ccd172..0000000 Binary files a/bin/main/com/loki/lochat/commands/chat/GlobalChatCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/chat/LocalChatCommand.class b/bin/main/com/loki/lochat/commands/chat/LocalChatCommand.class deleted file mode 100644 index be70917..0000000 Binary files a/bin/main/com/loki/lochat/commands/chat/LocalChatCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/messaging/IgnoreCommand.class b/bin/main/com/loki/lochat/commands/messaging/IgnoreCommand.class deleted file mode 100644 index bdfbbbd..0000000 Binary files a/bin/main/com/loki/lochat/commands/messaging/IgnoreCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/messaging/IgnoreListCommand.class b/bin/main/com/loki/lochat/commands/messaging/IgnoreListCommand.class deleted file mode 100644 index dbd4ab6..0000000 Binary files a/bin/main/com/loki/lochat/commands/messaging/IgnoreListCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/messaging/MsgCommand.class b/bin/main/com/loki/lochat/commands/messaging/MsgCommand.class deleted file mode 100644 index 60f57ed..0000000 Binary files a/bin/main/com/loki/lochat/commands/messaging/MsgCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/messaging/ReplyCommand.class b/bin/main/com/loki/lochat/commands/messaging/ReplyCommand.class deleted file mode 100644 index d484c1e..0000000 Binary files a/bin/main/com/loki/lochat/commands/messaging/ReplyCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/messaging/UnignoreCommand.class b/bin/main/com/loki/lochat/commands/messaging/UnignoreCommand.class deleted file mode 100644 index cfbf30d..0000000 Binary files a/bin/main/com/loki/lochat/commands/messaging/UnignoreCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/ban/BanCommand.class b/bin/main/com/loki/lochat/commands/moderation/ban/BanCommand.class deleted file mode 100644 index c3ffbc8..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/ban/BanCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/ban/UnbanCommand.class b/bin/main/com/loki/lochat/commands/moderation/ban/UnbanCommand.class deleted file mode 100644 index a08d338..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/ban/UnbanCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/mute/MuteBlameCommand.class b/bin/main/com/loki/lochat/commands/moderation/mute/MuteBlameCommand.class deleted file mode 100644 index 82af6f0..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/mute/MuteBlameCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/mute/MuteCommand.class b/bin/main/com/loki/lochat/commands/moderation/mute/MuteCommand.class deleted file mode 100644 index e225120..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/mute/MuteCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/mute/MuteHistoryCommand.class b/bin/main/com/loki/lochat/commands/moderation/mute/MuteHistoryCommand.class deleted file mode 100644 index 572cae3..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/mute/MuteHistoryCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/mute/MuteListCommand.class b/bin/main/com/loki/lochat/commands/moderation/mute/MuteListCommand.class deleted file mode 100644 index ced677f..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/mute/MuteListCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/mute/UnmuteCommand.class b/bin/main/com/loki/lochat/commands/moderation/mute/UnmuteCommand.class deleted file mode 100644 index 4d58afc..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/mute/UnmuteCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/warn/SilentWarnCommand.class b/bin/main/com/loki/lochat/commands/moderation/warn/SilentWarnCommand.class deleted file mode 100644 index 25c9dea..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/warn/SilentWarnCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/moderation/warn/WarnCommand.class b/bin/main/com/loki/lochat/commands/moderation/warn/WarnCommand.class deleted file mode 100644 index 713e830..0000000 Binary files a/bin/main/com/loki/lochat/commands/moderation/warn/WarnCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/nick/NickCommand.class b/bin/main/com/loki/lochat/commands/nick/NickCommand.class deleted file mode 100644 index 996d161..0000000 Binary files a/bin/main/com/loki/lochat/commands/nick/NickCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/nick/PlayerInfoCommand.class b/bin/main/com/loki/lochat/commands/nick/PlayerInfoCommand.class deleted file mode 100644 index 3690566..0000000 Binary files a/bin/main/com/loki/lochat/commands/nick/PlayerInfoCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/rp/DoCommand.class b/bin/main/com/loki/lochat/commands/rp/DoCommand.class deleted file mode 100644 index 31124a5..0000000 Binary files a/bin/main/com/loki/lochat/commands/rp/DoCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/rp/MeCommand.class b/bin/main/com/loki/lochat/commands/rp/MeCommand.class deleted file mode 100644 index a66079f..0000000 Binary files a/bin/main/com/loki/lochat/commands/rp/MeCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/rp/RollCommand.class b/bin/main/com/loki/lochat/commands/rp/RollCommand.class deleted file mode 100644 index 203e02d..0000000 Binary files a/bin/main/com/loki/lochat/commands/rp/RollCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/rp/RpUtil.class b/bin/main/com/loki/lochat/commands/rp/RpUtil.class deleted file mode 100644 index b3055dd..0000000 Binary files a/bin/main/com/loki/lochat/commands/rp/RpUtil.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/commands/rp/TryCommand.class b/bin/main/com/loki/lochat/commands/rp/TryCommand.class deleted file mode 100644 index 254a339..0000000 Binary files a/bin/main/com/loki/lochat/commands/rp/TryCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/config/BaseConfig.class b/bin/main/com/loki/lochat/config/BaseConfig.class deleted file mode 100644 index 4bdd5ab..0000000 Binary files a/bin/main/com/loki/lochat/config/BaseConfig.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/config/ConfigManager.class b/bin/main/com/loki/lochat/config/ConfigManager.class deleted file mode 100644 index 3c9f12d..0000000 Binary files a/bin/main/com/loki/lochat/config/ConfigManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/config/RatConfig.class b/bin/main/com/loki/lochat/config/RatConfig.class deleted file mode 100644 index f4315c8..0000000 Binary files a/bin/main/com/loki/lochat/config/RatConfig.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/config/core/ConfigAccessor.class b/bin/main/com/loki/lochat/config/core/ConfigAccessor.class deleted file mode 100644 index 23db555..0000000 Binary files a/bin/main/com/loki/lochat/config/core/ConfigAccessor.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/config/core/ConfigLoader.class b/bin/main/com/loki/lochat/config/core/ConfigLoader.class deleted file mode 100644 index c8f7aa8..0000000 Binary files a/bin/main/com/loki/lochat/config/core/ConfigLoader.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/PluginInitializer.class b/bin/main/com/loki/lochat/core/PluginInitializer.class deleted file mode 100644 index a9d3ec1..0000000 Binary files a/bin/main/com/loki/lochat/core/PluginInitializer.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/PluginShutdown.class b/bin/main/com/loki/lochat/core/PluginShutdown.class deleted file mode 100644 index 14bf7ee..0000000 Binary files a/bin/main/com/loki/lochat/core/PluginShutdown.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/factory/ServiceFactory.class b/bin/main/com/loki/lochat/core/factory/ServiceFactory.class deleted file mode 100644 index 0345592..0000000 Binary files a/bin/main/com/loki/lochat/core/factory/ServiceFactory.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/AdvancedMessageFilter.class b/bin/main/com/loki/lochat/core/filter/AdvancedMessageFilter.class deleted file mode 100644 index 2cef601..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/AdvancedMessageFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/CapsFilter.class b/bin/main/com/loki/lochat/core/filter/CapsFilter.class deleted file mode 100644 index a2e58f1..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/CapsFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/CooldownFilter.class b/bin/main/com/loki/lochat/core/filter/CooldownFilter.class deleted file mode 100644 index 18bb2e2..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/CooldownFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/FilterResult.class b/bin/main/com/loki/lochat/core/filter/FilterResult.class deleted file mode 100644 index 1d93e23..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/FilterResult.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/MuteFilter.class b/bin/main/com/loki/lochat/core/filter/MuteFilter.class deleted file mode 100644 index 4d44009..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/MuteFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/filters/CharacterFilter.class b/bin/main/com/loki/lochat/core/filter/filters/CharacterFilter.class deleted file mode 100644 index ed10363..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/filters/CharacterFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/filters/FloodFilter.class b/bin/main/com/loki/lochat/core/filter/filters/FloodFilter.class deleted file mode 100644 index 6024583..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/filters/FloodFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/filters/SpamFilter.class b/bin/main/com/loki/lochat/core/filter/filters/SpamFilter.class deleted file mode 100644 index bc30ec8..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/filters/SpamFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/filters/SwearFilter.class b/bin/main/com/loki/lochat/core/filter/filters/SwearFilter.class deleted file mode 100644 index 7bd8a6f..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/filters/SwearFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/filter/filters/UrlFilter.class b/bin/main/com/loki/lochat/core/filter/filters/UrlFilter.class deleted file mode 100644 index 92add1d..0000000 Binary files a/bin/main/com/loki/lochat/core/filter/filters/UrlFilter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/registry/ServiceRegistry.class b/bin/main/com/loki/lochat/core/registry/ServiceRegistry.class deleted file mode 100644 index dc6ec99..0000000 Binary files a/bin/main/com/loki/lochat/core/registry/ServiceRegistry.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage$1.class b/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage$1.class deleted file mode 100644 index b598168..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage$1.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage.class b/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage.class deleted file mode 100644 index 71e9cde..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/MuteDataStorage.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager$1.class b/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager$1.class deleted file mode 100644 index 7cf42ab..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager$1.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager.class b/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager.class deleted file mode 100644 index 71383aa..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/MuteHistoryManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/MutePermissionChecker.class b/bin/main/com/loki/lochat/core/service/mute/MutePermissionChecker.class deleted file mode 100644 index 78bbdf9..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/MutePermissionChecker.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/strategies/ChatMuteStrategy.class b/bin/main/com/loki/lochat/core/service/mute/strategies/ChatMuteStrategy.class deleted file mode 100644 index 226ebc2..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/strategies/ChatMuteStrategy.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/strategies/MuteStrategy.class b/bin/main/com/loki/lochat/core/service/mute/strategies/MuteStrategy.class deleted file mode 100644 index d610722..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/strategies/MuteStrategy.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/core/service/mute/strategies/VoiceMuteStrategy.class b/bin/main/com/loki/lochat/core/service/mute/strategies/VoiceMuteStrategy.class deleted file mode 100644 index 4bda532..0000000 Binary files a/bin/main/com/loki/lochat/core/service/mute/strategies/VoiceMuteStrategy.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/data/model/BanRecord.class b/bin/main/com/loki/lochat/data/model/BanRecord.class deleted file mode 100644 index 1aa125a..0000000 Binary files a/bin/main/com/loki/lochat/data/model/BanRecord.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/data/model/ChatMessage.class b/bin/main/com/loki/lochat/data/model/ChatMessage.class deleted file mode 100644 index 3e3ae26..0000000 Binary files a/bin/main/com/loki/lochat/data/model/ChatMessage.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/data/model/MuteData$MuteHistoryEntry.class b/bin/main/com/loki/lochat/data/model/MuteData$MuteHistoryEntry.class deleted file mode 100644 index 79bd7cf..0000000 Binary files a/bin/main/com/loki/lochat/data/model/MuteData$MuteHistoryEntry.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/data/model/MuteData.class b/bin/main/com/loki/lochat/data/model/MuteData.class deleted file mode 100644 index b210c50..0000000 Binary files a/bin/main/com/loki/lochat/data/model/MuteData.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/data/model/WarnEntry.class b/bin/main/com/loki/lochat/data/model/WarnEntry.class deleted file mode 100644 index 838af05..0000000 Binary files a/bin/main/com/loki/lochat/data/model/WarnEntry.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/GradientModule.class b/bin/main/com/loki/lochat/gradient/GradientModule.class deleted file mode 100644 index 1b32019..0000000 Binary files a/bin/main/com/loki/lochat/gradient/GradientModule.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/GradientAdminCommand.class b/bin/main/com/loki/lochat/gradient/commands/GradientAdminCommand.class deleted file mode 100644 index c37eaee..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/GradientAdminCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/GradientColorCommand.class b/bin/main/com/loki/lochat/gradient/commands/GradientColorCommand.class deleted file mode 100644 index 832ca07..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/GradientColorCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/GradientPrefixCommand.class b/bin/main/com/loki/lochat/gradient/commands/GradientPrefixCommand.class deleted file mode 100644 index fba9b52..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/GradientPrefixCommand.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/ColorCommandHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/ColorCommandHandler.class deleted file mode 100644 index b56cbbc..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/ColorCommandHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/PrefixCommandHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/PrefixCommandHandler.class deleted file mode 100644 index 00a6152..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/PrefixCommandHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorCopyHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorCopyHandler.class deleted file mode 100644 index c0bf267..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorCopyHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOffHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOffHandler.class deleted file mode 100644 index c254b34..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOffHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOnHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOnHandler.class deleted file mode 100644 index 3f4a06f..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorOnHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorResetHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorResetHandler.class deleted file mode 100644 index 105e876..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorResetHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorSetHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorSetHandler.class deleted file mode 100644 index 221f72b..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/ColorSetHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/color/SubCommandHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/color/SubCommandHandler.class deleted file mode 100644 index ce51316..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/color/SubCommandHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOffHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOffHandler.class deleted file mode 100644 index f8f403d..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOffHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOnHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOnHandler.class deleted file mode 100644 index 4860e67..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixOnHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixResetHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixResetHandler.class deleted file mode 100644 index c337767..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixResetHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSetHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSetHandler.class deleted file mode 100644 index c113170..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSetHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSubCommandHandler.class b/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSubCommandHandler.class deleted file mode 100644 index 1dad053..0000000 Binary files a/bin/main/com/loki/lochat/gradient/commands/handlers/prefix/PrefixSubCommandHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/config/GradientConfig.class b/bin/main/com/loki/lochat/gradient/config/GradientConfig.class deleted file mode 100644 index 265b326..0000000 Binary files a/bin/main/com/loki/lochat/gradient/config/GradientConfig.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/config/GradientMessages.class b/bin/main/com/loki/lochat/gradient/config/GradientMessages.class deleted file mode 100644 index 5d3594d..0000000 Binary files a/bin/main/com/loki/lochat/gradient/config/GradientMessages.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/data/GradientDataManager.class b/bin/main/com/loki/lochat/gradient/data/GradientDataManager.class deleted file mode 100644 index 2eab80e..0000000 Binary files a/bin/main/com/loki/lochat/gradient/data/GradientDataManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/data/GradientPlayerData.class b/bin/main/com/loki/lochat/gradient/data/GradientPlayerData.class deleted file mode 100644 index 637ed30..0000000 Binary files a/bin/main/com/loki/lochat/gradient/data/GradientPlayerData.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI$ConfirmType.class b/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI$ConfirmType.class deleted file mode 100644 index 999819e..0000000 Binary files a/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI$ConfirmType.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI.class b/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI.class deleted file mode 100644 index 61f1549..0000000 Binary files a/bin/main/com/loki/lochat/gradient/gui/GradientConfirmGUI.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/listeners/GradientGUIListener.class b/bin/main/com/loki/lochat/gradient/listeners/GradientGUIListener.class deleted file mode 100644 index 181303d..0000000 Binary files a/bin/main/com/loki/lochat/gradient/listeners/GradientGUIListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/listeners/GradientPlayerListener.class b/bin/main/com/loki/lochat/gradient/listeners/GradientPlayerListener.class deleted file mode 100644 index 6c31908..0000000 Binary files a/bin/main/com/loki/lochat/gradient/listeners/GradientPlayerListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/service/GradientService.class b/bin/main/com/loki/lochat/gradient/service/GradientService.class deleted file mode 100644 index 1df1e81..0000000 Binary files a/bin/main/com/loki/lochat/gradient/service/GradientService.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/service/PrefixService.class b/bin/main/com/loki/lochat/gradient/service/PrefixService.class deleted file mode 100644 index 7fac04b..0000000 Binary files a/bin/main/com/loki/lochat/gradient/service/PrefixService.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/util/DisplayNameUtil.class b/bin/main/com/loki/lochat/gradient/util/DisplayNameUtil.class deleted file mode 100644 index bac1f4c..0000000 Binary files a/bin/main/com/loki/lochat/gradient/util/DisplayNameUtil.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/gradient/util/GradientUtil.class b/bin/main/com/loki/lochat/gradient/util/GradientUtil.class deleted file mode 100644 index e88ce88..0000000 Binary files a/bin/main/com/loki/lochat/gradient/util/GradientUtil.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/DiscordIntegration.class b/bin/main/com/loki/lochat/integrations/DiscordIntegration.class deleted file mode 100644 index 09b441b..0000000 Binary files a/bin/main/com/loki/lochat/integrations/DiscordIntegration.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/DiscordWebhook.class b/bin/main/com/loki/lochat/integrations/DiscordWebhook.class deleted file mode 100644 index 6f457fa..0000000 Binary files a/bin/main/com/loki/lochat/integrations/DiscordWebhook.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/LibertyBansHook.class b/bin/main/com/loki/lochat/integrations/LibertyBansHook.class deleted file mode 100644 index 6557a13..0000000 Binary files a/bin/main/com/loki/lochat/integrations/LibertyBansHook.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/PlaceholderAPIHook.class b/bin/main/com/loki/lochat/integrations/PlaceholderAPIHook.class deleted file mode 100644 index 4b93daf..0000000 Binary files a/bin/main/com/loki/lochat/integrations/PlaceholderAPIHook.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/SkinsRestorerHook.class b/bin/main/com/loki/lochat/integrations/SkinsRestorerHook.class deleted file mode 100644 index 6099ae8..0000000 Binary files a/bin/main/com/loki/lochat/integrations/SkinsRestorerHook.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/discord/DiscordConfig.class b/bin/main/com/loki/lochat/integrations/discord/DiscordConfig.class deleted file mode 100644 index 3139658..0000000 Binary files a/bin/main/com/loki/lochat/integrations/discord/DiscordConfig.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/integrations/discord/DiscordMessageService.class b/bin/main/com/loki/lochat/integrations/discord/DiscordMessageService.class deleted file mode 100644 index 7e8e740..0000000 Binary files a/bin/main/com/loki/lochat/integrations/discord/DiscordMessageService.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/listener/ChatEventListener$ChatMode.class b/bin/main/com/loki/lochat/listener/ChatEventListener$ChatMode.class deleted file mode 100644 index ebdd5ea..0000000 Binary files a/bin/main/com/loki/lochat/listener/ChatEventListener$ChatMode.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/listener/ChatEventListener.class b/bin/main/com/loki/lochat/listener/ChatEventListener.class deleted file mode 100644 index 58a6906..0000000 Binary files a/bin/main/com/loki/lochat/listener/ChatEventListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/listener/DiscordEventListener.class b/bin/main/com/loki/lochat/listener/DiscordEventListener.class deleted file mode 100644 index 6b20b84..0000000 Binary files a/bin/main/com/loki/lochat/listener/DiscordEventListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/listener/ModerationListener.class b/bin/main/com/loki/lochat/listener/ModerationListener.class deleted file mode 100644 index bd02c19..0000000 Binary files a/bin/main/com/loki/lochat/listener/ModerationListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/listener/PlayerEventListener.class b/bin/main/com/loki/lochat/listener/PlayerEventListener.class deleted file mode 100644 index 8050db1..0000000 Binary files a/bin/main/com/loki/lochat/listener/PlayerEventListener.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/AutoMessageManager.class b/bin/main/com/loki/lochat/managers/AutoMessageManager.class deleted file mode 100644 index 601b13c..0000000 Binary files a/bin/main/com/loki/lochat/managers/AutoMessageManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/CustomCommandManager$CustomCommandData.class b/bin/main/com/loki/lochat/managers/CustomCommandManager$CustomCommandData.class deleted file mode 100644 index 9205f67..0000000 Binary files a/bin/main/com/loki/lochat/managers/CustomCommandManager$CustomCommandData.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/CustomCommandManager.class b/bin/main/com/loki/lochat/managers/CustomCommandManager.class deleted file mode 100644 index 9cf5d11..0000000 Binary files a/bin/main/com/loki/lochat/managers/CustomCommandManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/EmojiManager.class b/bin/main/com/loki/lochat/managers/EmojiManager.class deleted file mode 100644 index 5a556ca..0000000 Binary files a/bin/main/com/loki/lochat/managers/EmojiManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/commands/MessageSender.class b/bin/main/com/loki/lochat/managers/commands/MessageSender.class deleted file mode 100644 index 74243ab..0000000 Binary files a/bin/main/com/loki/lochat/managers/commands/MessageSender.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/managers/commands/PlaceholderProcessor.class b/bin/main/com/loki/lochat/managers/commands/PlaceholderProcessor.class deleted file mode 100644 index 05443ea..0000000 Binary files a/bin/main/com/loki/lochat/managers/commands/PlaceholderProcessor.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/renderer/EnhancedChatRenderer.class b/bin/main/com/loki/lochat/renderer/EnhancedChatRenderer.class deleted file mode 100644 index 853adb6..0000000 Binary files a/bin/main/com/loki/lochat/renderer/EnhancedChatRenderer.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/renderer/components/EmojiComponent.class b/bin/main/com/loki/lochat/renderer/components/EmojiComponent.class deleted file mode 100644 index d333323..0000000 Binary files a/bin/main/com/loki/lochat/renderer/components/EmojiComponent.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/renderer/components/GradientBuilder.class b/bin/main/com/loki/lochat/renderer/components/GradientBuilder.class deleted file mode 100644 index 8d89e50..0000000 Binary files a/bin/main/com/loki/lochat/renderer/components/GradientBuilder.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/renderer/components/UrlProcessor.class b/bin/main/com/loki/lochat/renderer/components/UrlProcessor.class deleted file mode 100644 index bd8a720..0000000 Binary files a/bin/main/com/loki/lochat/renderer/components/UrlProcessor.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/color/ColorConverter.class b/bin/main/com/loki/lochat/utils/color/ColorConverter.class deleted file mode 100644 index 13e103e..0000000 Binary files a/bin/main/com/loki/lochat/utils/color/ColorConverter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/format/ChatFormatter.class b/bin/main/com/loki/lochat/utils/format/ChatFormatter.class deleted file mode 100644 index fc6dffb..0000000 Binary files a/bin/main/com/loki/lochat/utils/format/ChatFormatter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/format/TextFormatter.class b/bin/main/com/loki/lochat/utils/format/TextFormatter.class deleted file mode 100644 index 7db77fd..0000000 Binary files a/bin/main/com/loki/lochat/utils/format/TextFormatter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/format/TimeFormatter.class b/bin/main/com/loki/lochat/utils/format/TimeFormatter.class deleted file mode 100644 index 05e5a77..0000000 Binary files a/bin/main/com/loki/lochat/utils/format/TimeFormatter.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/platform/AdventureManager.class b/bin/main/com/loki/lochat/utils/platform/AdventureManager.class deleted file mode 100644 index 7c63996..0000000 Binary files a/bin/main/com/loki/lochat/utils/platform/AdventureManager.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/platform/FoliaUtil.class b/bin/main/com/loki/lochat/utils/platform/FoliaUtil.class deleted file mode 100644 index d42262d..0000000 Binary files a/bin/main/com/loki/lochat/utils/platform/FoliaUtil.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/player/DistanceUtil.class b/bin/main/com/loki/lochat/utils/player/DistanceUtil.class deleted file mode 100644 index 8af332d..0000000 Binary files a/bin/main/com/loki/lochat/utils/player/DistanceUtil.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/player/MentionHandler.class b/bin/main/com/loki/lochat/utils/player/MentionHandler.class deleted file mode 100644 index d54d83f..0000000 Binary files a/bin/main/com/loki/lochat/utils/player/MentionHandler.class and /dev/null differ diff --git a/bin/main/com/loki/lochat/utils/player/PlayerUtil.class b/bin/main/com/loki/lochat/utils/player/PlayerUtil.class deleted file mode 100644 index 8e2d9cd..0000000 Binary files a/bin/main/com/loki/lochat/utils/player/PlayerUtil.class and /dev/null differ diff --git a/bin/main/config.yml b/bin/main/config.yml deleted file mode 100644 index 7c61714..0000000 --- a/bin/main/config.yml +++ /dev/null @@ -1,208 +0,0 @@ -# LoChat main configuration -# All settings for chat, gradients, moderation, RP commands, sounds, and filters. - -config-version: 6 - -# ── General ──────────────────────────────────────────────────────────────────── - -prefix: "&8[&3LoChat&8]" - -# ── Chat System ──────────────────────────────────────────────────────────────── - -chat: - global: - enabled: true - cooldown: 3 - - local: - enabled: true - cooldown: 1 - radius: 100 - - pm: - enabled: true - cooldown: 2 - - min-message-length: 1 - max-message-length: 2000 - clear-lines: 100 - -# ── Chat Appearance ──────────────────────────────────────────────────────────── - -appearance: - prefixes: - global: - emoji: "&b\u2726" - text: "GLOBAL" - separator: " &8\u25B6 " - message-color: "&7" - - local: - emoji: "&d\u25C6" - text: "LOCAL" - separator: " &8\u25B6 " - message-color: "&7" - - chat-format: - global: "{emoji} {prefix}{separator}{player_prefix}{player}{player_suffix}&f: {message}" - local: "{emoji} {prefix}{separator}{player_prefix}{player}{player_suffix}&f: {message}" - - hover: - enabled: true - format: - - "&8\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550" - - " &b\u2726 &f{player}" - - "" - - " &7Ping: &b{ping}ms" - - " &7Health: &a{health}&7/20" - - " &7Food: &6{food}&7/20" - - "" - - "&8\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550" - - " &7Click to message" - - emojis: - ":heart:": "\u2764" - ":star:": "\u2605" - ":diamond:": "\u2666" - ":check:": "\u2713" - ":cross:": "\u2717" - ":arrow:": "\u2192" - ":smile:": ":)" - ":sad:": ":(" - -# ── Gradient Nicknames & Prefixes ────────────────────────────────────────────── - -gradient: - enabled: true - use-gradient-name: true - use-custom-prefix: true - - display: - update-display-name: true - update-tab-list: true - - limits: - min-colors: 1 - max-colors: 7 - max-prefix-length: 16 - - pricing: - price-per-color: 50 - prefix-price: 500 - prefix-one-time-purchase: true - use-permission-instead-of-cost: false - - cooldowns: - color: 60 - prefix: 120 - - formatting: - prefix-format: "[{prefix}] " - gradient-on-prefix: true - gradient-on-luckperms-prefix: true - gradient-on-luckperms-suffix: true - continuous-gradient: true - - storage: - type: file - sqlite-file: "gradient-data.db" - -# ── RP Commands ──────────────────────────────────────────────────────────────── - -rp: - radius: 100 - cooldowns: - me: 3 - try: 5 - do: 3 - roll: 2 - -# ── Chat Filters ─────────────────────────────────────────────────────────────── - -filters: - swear: - enabled: true - replace: false - replacement: "***" - - url: - enabled: true - replacement: "&7[URL hidden]" - - ip: - enabled: true - replacement: "&7[IP hidden]" - - hidden-urls: - enabled: true - patterns: - - "discord\\.gg" - - "dsc\\.gg" - - "bit\\.ly" - - "tinyurl\\.com" - - spam: - enabled: true - max-repeating-chars: 5 - - flood: - enabled: true - max-same-messages: 3 - - caps: - enabled: true - max-caps-percent: 70 - min-length: 5 - -# ── Moderation ───────────────────────────────────────────────────────────────── - -moderation: - default-mute-duration: "7d" - default-mute-reason: "No reason specified" - default-ban-reason: "No reason specified" - voice-mute-console-command: "" - ban-kick-message: "&cYou have been banned!\n&7Reason: &f{reason}" - -# ── Sounds ───────────────────────────────────────────────────────────────────── - -sounds: - mention: - enabled: true - sound: BLOCK_NOTE_BLOCK_PLING - volume: 1.0 - pitch: 1.5 - - pm: - enabled: true - sound: ENTITY_EXPERIENCE_ORB_PICKUP - volume: 0.8 - pitch: 1.2 - - command: - enabled: false - sound: UI_BUTTON_CLICK - volume: 0.5 - pitch: 1.0 - -# ── Join / Quit / Death Messages ────────────────────────────────────────────── - -messages: - join: - enabled: true - format: "&7\u2726 &b{player} &7joined the server" - - quit: - enabled: true - format: "&7\u2726 &b{player} &7left the server" - - death: - enabled: true - player-kill: "&c\u2620 &7{player} was killed by &f{killer} &7(&f{weapon}&7)" - mob-kill: "&c\u2620 &7{player} was slain by &f{killer}" - default: "&c\u2620 &7{player} {death_message}" - -# ── Hub Command ──────────────────────────────────────────────────────────────── - -hub-command: - enabled: true - server: "hub" diff --git a/bin/main/config/appearance.yml b/bin/main/config/appearance.yml deleted file mode 100644 index cf1b11a..0000000 --- a/bin/main/config/appearance.yml +++ /dev/null @@ -1,98 +0,0 @@ -# LoChat chat appearance -# Controls how messages look in-game: prefixes, format, hover, emojis. - -# ── Chat Prefixes ────────────────────────────────────────────────────────────── - -prefixes: - global: - emoji: "\u2726" - text: "GLOBAL" - separator: " \u25B6 " - message-color: "&7" - - local: - emoji: "\u25C6" - text: "LOCAL" - separator: " \u25B6 " - message-color: "&7" - -# ── Chat Format ──────────────────────────────────────────────────────────────── -# Placeholders: -# {emoji}, {prefix}, {separator} -# {player_prefix}, {player}, {player_suffix} -# {message} - -chat-format: - global: "{emoji} {prefix}{separator}{player_prefix}{player}{player_suffix}&f: {message}" - local: "{emoji} {prefix}{separator}{player_prefix}{player}{player_suffix}&f: {message}" - -# ── Hover on Player Name ─────────────────────────────────────────────────────── - -hover: - enabled: true - format: - - "&8\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550" - - " \u2726 &f{player}" - - "" - - " &7Ping: &b{ping}ms" - - " &7Health: &a{health}&7/20" - - " &7Food: &6{food}&7/20" - - "" - - "&8\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550" - - " &7Click to message" - -# ── Emoji Shortcuts ──────────────────────────────────────────────────────────── -# Text shortcuts replaced in outgoing messages before processing. - -emojis: - ":heart:": "\u2764" - ":hearts:": "\u2665" - ":star:": "\u2605" - ":stars:": "\u2726" - ":diamond:": "\u2666" - ":check:": "\u2713" - ":cross:": "\u2717" - ":arrow:": "\u2192" - ":up:": "\u2191" - ":down:": "\u2193" - ":left:": "\u2190" - ":right:": "\u2192" - ":music:": "\u266A" - ":note:": "\u266B" - ":smile:": ":)" - ":sad:": ":(" - ":shrug:": "\u00AF\\_(\u30C4)_/\u00AF" - -# ── Chat Settings ────────────────────────────────────────────────────────────── - -chat: - local-radius: 100 - clear-lines: 100 - min-message-length: 1 - max-message-length: 2000 - colors: - nobody-heard: "&7" - error: "&c" - success: "&a" - warning: "&6" - info: "&7" - -# ── Discord Embeds ───────────────────────────────────────────────────────────── - -discord: - emojis: - global-chat: "\u2726" - local-chat: "\u25C6" - player-join: "\u25C6" - player-quit: "\u25C7" - player-death: "\u2717" - avatar-urls: - default: "https://mc-heads.net/avatar/minecraft/64" - player: "https://mc-heads.net/avatar/{player}/64" - default-embed-color: "3498DB" - event-titles: - join: "Player joined" - quit: "Player left" - death: "Player died" - global-chat: "Global Chat" - local-chat: "Local Chat" diff --git a/bin/main/config/discord.yml b/bin/main/config/discord.yml deleted file mode 100644 index d8c849c..0000000 --- a/bin/main/config/discord.yml +++ /dev/null @@ -1,73 +0,0 @@ -# LoChat Discord integration -# Relays chat messages and server events to a Discord channel via webhook. - -# ── General ──────────────────────────────────────────────────────────────────── - -enabled: true - -# ── Webhook ──────────────────────────────────────────────────────────────────── - -webhook: - url: "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN" - username: "Minecraft" - avatar-url: "https://mc-heads.net/avatar/minecraft/64" - -# ── Chat Relay ───────────────────────────────────────────────────────────────── - -chat: - enabled: true - global-only: true - format: "**{player}**: {message}" - embed-color: "5865F2" - use-embed: true - -# ── Events ───────────────────────────────────────────────────────────────────── - -events: - enabled: true - - join: - enabled: true - title: "Player joined" - description: "**{player}** joined the server" - color: "00FF00" - thumbnail: "https://mc-heads.net/avatar/{player}/64" - - quit: - enabled: true - title: "Player left" - description: "**{player}** left the server" - color: "FF0000" - thumbnail: "https://mc-heads.net/avatar/{player}/64" - - death: - enabled: true - player-kill: - title: "PvP kill" - description: "**{player}** was killed by **{killer}** using **{weapon}**" - color: "FF0000" - mob-kill: - title: "Mob kill" - description: "**{player}** was slain by **{killer}**" - color: "800080" - default: - title: "Player died" - description: "**{player}** {death_message}" - color: "800080" - thumbnail: "https://mc-heads.net/avatar/{player}/64" - -# ── Filtering ────────────────────────────────────────────────────────────────── - -filter: - ignore-bots: true - min-message-length: 1 - max-message-length: 2000 - sanitize-mentions: true - -# ── Performance ──────────────────────────────────────────────────────────────── - -performance: - async: true - timeout: 10 - retry-attempts: 3 - retry-delay: 1000 diff --git a/bin/main/config/filters.yml b/bin/main/config/filters.yml deleted file mode 100644 index 5638e7f..0000000 --- a/bin/main/config/filters.yml +++ /dev/null @@ -1,65 +0,0 @@ -# LoChat chat filters -# Control spam, swearing, URLs, and other unwanted content. - -# ── Swear Filter ─────────────────────────────────────────────────────────────── -# Uses badwords.txt for the word list. -# Bypass permission: lochat.bypass.swear - -swear: - enabled: true - replace: false - replacement: "***" - -# ── URL Filter ───────────────────────────────────────────────────────────────── -# Blocks URLs in messages. -# Bypass permission: lochat.bypass.urlfilter - -url: - enabled: true - replacement: "&7[URL hidden]" - -# ── IP Filter ────────────────────────────────────────────────────────────────── -# Blocks IP addresses in messages. -# Bypass permission: lochat.bypass.ipfilter - -ip: - enabled: true - replacement: "&7[IP hidden]" - -# ── Hidden URL Filter ────────────────────────────────────────────────────────── -# Blocks known link shorteners and invite links. -# Bypass permission: lochat.bypass.hiddenurls - -hidden-urls: - enabled: true - patterns: - - "discord\\.gg" - - "dsc\\.gg" - - "bit\\.ly" - - "tinyurl\\.com" - - "goo\\.gl" - -# ── Spam Filter ──────────────────────────────────────────────────────────────── -# Blocks messages with excessive repeated characters. -# Bypass permission: lochat.bypass.spam - -spam: - enabled: true - max-repeating-chars: 5 - -# ── Flood Filter ─────────────────────────────────────────────────────────────── -# Blocks identical messages sent in quick succession. -# Bypass permission: lochat.bypass.flood - -flood: - enabled: true - max-same-messages: 3 - -# ── CAPS Filter ──────────────────────────────────────────────────────────────── -# Blocks messages with too many capital letters. -# Bypass permission: lochat.bypass.caps - -caps: - enabled: true - max-caps-percent: 70 - min-length: 5 diff --git a/bin/main/config/messages.yml b/bin/main/config/messages.yml deleted file mode 100644 index f7ff89a..0000000 --- a/bin/main/config/messages.yml +++ /dev/null @@ -1,123 +0,0 @@ -# LoChat system messages -# Internal messages for commands, filters, moderation, and general feedback. - -# ── Commands ─────────────────────────────────────────────────────────────────── - -commands: - mute: - usage: "&cUsage: &f/mute [time] [-s] [reason]" - time-help: "&7Time format: &f1d&7, &f2h&7, &f30m&7, &f60s&7, &fperm" - silent-help: "&7-s &7= silent mute (requires &flochat.mute.silent&7)" - no-silent-permission: "&cNo permission for silent mute" - default-reason: "No reason specified" - default-duration: "7d" - - cooldown: - message: "&cPlease wait &f{remaining} &cseconds" - - clear-chat: - lines-cleared: "&aChat cleared &7({lines} lines)" - no-permission: "&cNo permission to clear chat" - -# ── Local Chat ───────────────────────────────────────────────────────────────── - -local-chat: - nobody-heard: "&7Nobody heard you — no players nearby" - no-players-nearby: "&7No players nearby" - -# ── Filters ──────────────────────────────────────────────────────────────────── - -filters: - caps: - min-length: 3 - blocked-message: "&cPlease don't shout" - auto-lowercase-notice: "&7Message auto-corrected" - spam: - blocked-message: "&cDo not spam" - similar-message: "&cYou already sent a similar message" - swear: - blocked-message: "&cInappropriate language" - replaced-notice: "&7Some words were replaced" - -# ── Mute Messages ────────────────────────────────────────────────────────────── - -mute: - muted-message: "&cYou are muted! &7Reason: &f{reason}&7. Remaining: &f{time}" - muted-permanent: "&cYou are permanently muted! &7Reason: &f{reason}" - player-muted: "&aPlayer &f{player} &amuted for &f{time}&a. Reason: &7{reason}" - player-muted-permanent: "&aPlayer &f{player} &amuted permanently. Reason: &7{reason}" - player-muted-silent: "&8[&7SILENT&8] &f{player} &7muted for &f{time}" - player-unmuted: "&aPlayer &f{player} &aunmuted" - not-muted: "&7Player &f{player} &7is not muted" - player-not-found: "&cPlayer not found!" - invalid-time: "&cInvalid time format!" - already-muted: "&cPlayer is already muted!" - no-silent-unmute-permission: "&cNo permission for silent unmute" - -# ── Gamemodes ────────────────────────────────────────────────────────────────── - -gamemodes: - survival: "Survival" - creative: "Creative" - adventure: "Adventure" - spectator: "Spectator" - -# ── Private Messages ─────────────────────────────────────────────────────────── - -private-messages: - no-reply-target: "&cNobody to reply to" - message-sent: "&aMessage sent to &f{player}" - player-offline: "&cPlayer &f{player} &cis not online" - cannot-message-self: "&cYou cannot message yourself" - -# ── Ignore ───────────────────────────────────────────────────────────────────── - -ignore: - player-ignored: "&aPlayer &f{player} &ais now ignored" - player-unignored: "&aPlayer &f{player} &ais no longer ignored" - already-ignored: "&7Player &f{player} &7is already ignored" - not-ignored: "&7Player &f{player} &7is not ignored" - cannot-ignore-self: "&cYou cannot ignore yourself" - ignore-list-empty: "&7Your ignore list is empty" - ignore-list-header: "&7Ignored players:" - -# ── General ──────────────────────────────────────────────────────────────────── - -general: - no-permission: "&cNo permission!" - player-only: "&cPlayers only!" - invalid-arguments: "&cInvalid arguments!" - command-disabled: "&cCommand disabled!" - feature-disabled: "&cFeature disabled!" - player-not-found: "&cPlayer not found!" - time-formats: - seconds: "s" - minutes: "m" - hours: "h" - days: "d" - permanent: "permanent" - enabled: "&aEnabled" - disabled: "&7Disabled" - online: "&aOnline" - offline: "&7Offline" - -# ── Moderation ───────────────────────────────────────────────────────────────── - -moderation: - default-reason: "No reason specified" - duration-permanent: "permanent" - warn-received: "&6\u26A0 &cYou received a warning! &7Reason: &f{reason}" - warn-staff-confirm: "&aPlayer &f{player} &awarned. &7Reason: &f{reason}" - silent-warn-staff: "&8[&7SILENT&8] &f{player}&7: &7{reason}" - ban-usage: "&cUsage: &f/lban [time|perm] [reason]" - ban-confirm: "&aPlayer &f{player} &abanned. &7Duration: &f{duration}" - unban-confirm: "&aBan lifted for &f{player}" - not-banned: "&cPlayer is not banned!" - already-banned: "&cPlayer is already banned!" - warn-usage: "&cUsage: &f/warn [reason]" - silent-warn-usage: "&cUsage: &f/silentwarn [reason]" - ban-kick-message: | - You are banned from this server. - Reason: {reason} - Moderator: {moderator} - Duration: {duration} diff --git a/bin/main/config/mute.yml b/bin/main/config/mute.yml deleted file mode 100644 index 848fbc6..0000000 --- a/bin/main/config/mute.yml +++ /dev/null @@ -1,249 +0,0 @@ -# LoChat mute system configuration -# Controls mute durations, automatic mutes, escalation, and notifications. - -# ── General Settings ─────────────────────────────────────────────────────────── - -settings: - default-reason: "Chat rule violation" - default-duration: "1h" - max-reason-length: 100 - show-reason: true - show-remaining-time: true - auto-unmute: true - save-history: true - max-history-entries: 50 - -# ── Available Durations ──────────────────────────────────────────────────────── -# Each duration requires a permission. Empty permission = no restriction. - -durations: - "5m": - permission: "lochat.mute.dur.5m" - display: "5 minutes" - - "10m": - permission: "lochat.mute.dur.10m" - display: "10 minutes" - - "30m": - permission: "lochat.mute.dur.30m" - display: "30 minutes" - - "1h": - permission: "lochat.mute.dur.1h" - display: "1 hour" - - "3h": - permission: "lochat.mute.dur.3h" - display: "3 hours" - - "6h": - permission: "lochat.mute.dur.6h" - display: "6 hours" - - "12h": - permission: "lochat.mute.dur.12h" - display: "12 hours" - - "1d": - permission: "lochat.mute.dur.1d" - display: "1 day" - - "3d": - permission: "lochat.mute.dur.3d" - display: "3 days" - - "7d": - permission: "lochat.mute.dur.7d" - display: "7 days" - - "14d": - permission: "lochat.mute.dur.14d" - display: "14 days" - - "30d": - permission: "lochat.mute.dur.30d" - display: "30 days" - - "perm": - permission: "lochat.mute.dur.perm" - display: "Permanent" - -# ── Preset Reasons ───────────────────────────────────────────────────────────── - -reasons: - spam: - text: "Spam" - duration: "30m" - permission: "lochat.mute.reason.spam" - - caps: - text: "Excessive caps" - duration: "15m" - permission: "lochat.mute.reason.caps" - - swear: - text: "Inappropriate language" - duration: "1h" - permission: "lochat.mute.reason.swear" - - flood: - text: "Flood" - duration: "20m" - permission: "lochat.mute.reason.flood" - - advertising: - text: "Advertising" - duration: "3h" - permission: "lochat.mute.reason.advertising" - - insult: - text: "Insulting players" - duration: "2h" - permission: "lochat.mute.reason.insult" - -# ── Auto-Mute ────────────────────────────────────────────────────────────────── - -auto-mute: - enabled: true - - spam: - enabled: true - threshold: 5 - time-window: 10 - duration: "10m" - reason: "Auto-mute: spam" - - swear: - enabled: true - threshold: 3 - duration: "30m" - reason: "Auto-mute: inappropriate language" - - caps: - enabled: true - threshold: 5 - duration: "5m" - reason: "Auto-mute: excessive caps" - - advertising: - enabled: true - threshold: 1 - duration: "1h" - reason: "Auto-mute: advertising" - -# ── Punishment Escalation ────────────────────────────────────────────────────── - -escalation: - enabled: true - period: 30 - - levels: - 1: - duration: "30m" - reason: "First offense" - - 2: - duration: "2h" - reason: "Second offense" - - 3: - duration: "12h" - reason: "Third offense" - - 4: - duration: "3d" - reason: "Fourth offense" - - 5: - duration: "7d" - reason: "Fifth offense" - - 6: - duration: "perm" - reason: "Systematic violations" - -# ── Notifications ────────────────────────────────────────────────────────────── - -notifications: - notify-staff: true - staff-permission: "lochat.mute.notify" - public-mute: false - public-unmute: false - - silent-mute: - enabled: true - permission: "lochat.mute.silent" - notify-permission: "lochat.mute.see-silent" - - formats: - mute: "&c{moderator} &7muted &f{player} &7for &f{duration}&7. Reason: &f{reason}" - unmute: "&a{moderator} &7unmuted &f{player}" - silent-mute: "&6[SILENT] &f{moderator} &7muted &f{player} &7for &f{duration}" - auto-mute: "&c[AUTO] &f{player} &7muted for &f{duration}&7. Reason: &f{reason}" - -# ── Integrations ─────────────────────────────────────────────────────────────── - -integrations: - libertybans: - enabled: false - sync-mutes: true - - advancedban: - enabled: false - sync-mutes: true - - litebans: - enabled: false - sync-mutes: true - - discord: - enabled: false - webhook-url: "" - format: "**{moderator}** muted **{player}** for **{duration}**\nReason: {reason}" - -# ── Storage ──────────────────────────────────────────────────────────────────── - -storage: - type: file - - mysql: - host: "localhost" - port: 3306 - database: "lochat" - username: "root" - password: "password" - table-prefix: "lochat_" - - sqlite: - file: "plugins/LoChat/mutes.db" - - cleanup: - enabled: true - days: 90 - -# ── Extra Features ───────────────────────────────────────────────────────────── - -features: - temporary-mutes: true - - ip-mutes: - enabled: false - permission: "lochat.mute.ip" - - command-mute: - enabled: false - blocked-commands: - - "me" - - "say" - - "tell" - - warnings: - enabled: true - max-warnings: 3 - reset-time: 3600 - - appeals: - enabled: false - command: "/appeal" - permission: "lochat.appeal" diff --git a/bin/main/config/sounds.yml b/bin/main/config/sounds.yml deleted file mode 100644 index 1ca37e1..0000000 --- a/bin/main/config/sounds.yml +++ /dev/null @@ -1,158 +0,0 @@ -# LoChat sound configuration -# Controls sound effects for chat events, moderation, and system actions. - -# ── General ──────────────────────────────────────────────────────────────────── - -settings: - enabled: true - global-volume: 0.5 - global-pitch: 1.0 - allow-disable: true - toggle-command: "/sounds" - -# ── Message Sounds ───────────────────────────────────────────────────────────── - -messages: - private-message: - enabled: true - sound: BLOCK_NOTE_BLOCK_PLING - volume: 0.8 - pitch: 1.2 - receiver-only: true - - mention: - enabled: true - sound: BLOCK_NOTE_BLOCK_BELL - volume: 0.7 - pitch: 1.5 - everyone-sound: BLOCK_NOTE_BLOCK_CHIME - - global-chat: - enabled: false - sound: UI_BUTTON_CLICK - volume: 0.3 - pitch: 1.0 - - local-chat: - enabled: false - sound: UI_BUTTON_CLICK - volume: 0.2 - pitch: 0.8 - - announcement: - enabled: true - sound: BLOCK_NOTE_BLOCK_CHIME - volume: 1.0 - pitch: 1.0 - important-sound: ENTITY_ENDER_DRAGON_GROWL - -# ── System Sounds ────────────────────────────────────────────────────────────── - -system: - join: - enabled: false - sound: ENTITY_PLAYER_LEVELUP - volume: 0.5 - pitch: 1.0 - self-only: true - - quit: - enabled: false - sound: BLOCK_NOTE_BLOCK_BASS - volume: 0.3 - pitch: 0.8 - - mute: - enabled: true - sound: BLOCK_ANVIL_LAND - volume: 0.6 - pitch: 0.5 - target-sound: ENTITY_VILLAGER_NO - - unmute: - enabled: true - sound: ENTITY_PLAYER_LEVELUP - volume: 0.7 - pitch: 1.2 - target-sound: ENTITY_VILLAGER_YES - - clear-chat: - enabled: true - sound: ITEM_BUCKET_EMPTY - volume: 0.5 - pitch: 1.5 - -# ── Gradient Sounds ──────────────────────────────────────────────────────────── - -gradient: - color-set: - enabled: true - sound: BLOCK_NOTE_BLOCK_HARP - volume: 0.6 - pitch: 1.3 - - color-reset: - enabled: true - sound: BLOCK_NOTE_BLOCK_BASS - volume: 0.4 - pitch: 0.7 - - prefix-set: - enabled: true - sound: BLOCK_NOTE_BLOCK_CHIME - volume: 0.7 - pitch: 1.4 - - error: - enabled: true - sound: ENTITY_VILLAGER_NO - volume: 0.5 - pitch: 0.8 - -# ── Command Sounds ───────────────────────────────────────────────────────────── - -commands: - success: - enabled: false - sound: ENTITY_EXPERIENCE_ORB_PICKUP - volume: 0.4 - pitch: 1.2 - - error: - enabled: true - sound: ENTITY_VILLAGER_NO - volume: 0.5 - pitch: 0.8 - - no-permission: - enabled: true - sound: BLOCK_NOTE_BLOCK_BASS - volume: 0.6 - pitch: 0.5 - - player-not-found: - enabled: true - sound: ENTITY_ITEM_BREAK - volume: 0.4 - pitch: 0.6 - -# ── Filter Sounds ────────────────────────────────────────────────────────────── - -filters: - blocked: - enabled: true - sound: ENTITY_VILLAGER_NO - volume: 0.6 - pitch: 0.7 - - warning: - enabled: true - sound: BLOCK_NOTE_BLOCK_PLING - volume: 0.5 - pitch: 0.9 - - auto-fix: - enabled: false - sound: UI_BUTTON_CLICK - volume: 0.3 - pitch: 1.1 diff --git a/bin/main/custom-commands.yml b/bin/main/custom-commands.yml deleted file mode 100644 index 5742840..0000000 --- a/bin/main/custom-commands.yml +++ /dev/null @@ -1,83 +0,0 @@ -# LoChat custom commands -# Define your own commands with custom messages and actions. -# -# Fields: -# enabled - whether the command is active -# permission - required permission (optional) -# message - message content (supports MiniMessage format) -# aliases - alternative command names -# type - chat | broadcast | title | actionbar | bungee -# target - sender | all | permission: -# server - (bungee only) target server name - -help: - enabled: true - message: | - Available commands: - \u2022 /spawn - teleport to spawn - \u2022 /msg - private message - \u2022 /color - gradient nickname - \u2022 /prefix - custom prefix - aliases: [] - type: chat - target: sender - -rules: - enabled: true - message: | - Server Rules - 1. No cheating or hacking - 2. No griefing or stealing - 3. No swearing or insults - 4. No spam - 5. No advertising - aliases: [] - type: chat - target: sender - -discord: - enabled: true - message: | - Join our Discord! - discord.gg/yourserver - aliases: ["ds"] - type: chat - target: sender - -coords: - enabled: true - message: "\u25B6 X: {x} Y: {y} Z: {z} World: {world}" - aliases: ["pos", "position"] - type: chat - target: sender - -ping: - enabled: true - message: "\u25B6 Your ping: {ping}ms" - aliases: [] - type: chat - target: sender - -hub: - enabled: true - message: "Connecting to hub..." - aliases: ["lobby"] - type: bungee - target: sender - server: hub - -broadcast: - enabled: true - permission: "lochat.broadcast" - message: "{message}" - aliases: ["bc"] - type: broadcast - target: all - -maintenance: - enabled: false - permission: "lochat.maintenance" - message: "Server is now in maintenance mode" - aliases: [] - type: title - target: all diff --git a/bin/main/data/data.yml b/bin/main/data/data.yml deleted file mode 100644 index d9e44af..0000000 --- a/bin/main/data/data.yml +++ /dev/null @@ -1,91 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ LoChat Data Storage ║ -# ║ Хранилище данных LoChat ║ -# ║ Версия: 1.5.5-1.20.1 ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# Этот файл содержит основные данные плагина -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -last-updated: 0 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ ДАННЫЕ ИГРОКОВ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -players: {} -# Структура: -# uuid: -# name: "PlayerName" -# display-name: "GradientName" -# first-join: 1234567890 -# last-join: 1234567890 -# total-playtime: 3600000 -# settings: -# sounds-enabled: true -# auto-messages: true -# mentions-enabled: true - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ ГРАДИЕНТНЫЕ НИКИ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -gradients: {} -# Структура: -# uuid: -# colors: ["#FF0000", "#00FF00", "#0000FF"] -# prefix: "[CUSTOM]" -# enabled: true -# created: 1234567890 -# last-updated: 1234567890 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ АКТИВНЫЕ МУТЫ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -mutes: {} -# Структура: -# uuid: -# moderator: "ModeratorUUID" -# reason: "Причина мута" -# start-time: 1234567890 -# end-time: 1234567890 -# silent: false -# active: true - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ ИГНОРИРОВАНИЕ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -ignores: {} -# Структура: -# player-uuid: -# - "ignored-uuid-1" -# - "ignored-uuid-2" - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ СТАТИСТИКА │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -statistics: - total-messages: 0 - messages-today: 0 - last-reset: 0 - top-chatters: {} - # uuid: message-count - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ КЭШИРОВАННЫЕ ДАННЫЕ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -cache: - last-messages: {} - # uuid: "last message" - - cooldowns: {} - # uuid: - # global: 1234567890 - # local: 1234567890 - # pm: 1234567890 - # gradient: 1234567890 \ No newline at end of file diff --git a/bin/main/data/filter-words.json b/bin/main/data/filter-words.json deleted file mode 100644 index 4bdd05c..0000000 --- a/bin/main/data/filter-words.json +++ /dev/null @@ -1,624 +0,0 @@ -{ - "words": [ - "хуй", - "хуя", - "хуе", - "хуи", - "хую", - "хуё", - "пизд", - "пизда", - "пиздец", - "пизду", - "пизды", - "пиздо", - "блять", - "блядь", - "бля", - "бляд", - "ебать", - "ебал", - "ебало", - "ебать", - "ебет", - "ебут", - "ебу", - "ебё", - "ебан", - "сука", - "суки", - "суке", - "суку", - "сукой", - "суко", - "ебан", - "ебана", - "ебану", - "ебань", - "ебля", - "ебли", - "ебло", - "ебля", - "ебут", - "ебуть", - "ебёшь", - "ебёт", - "ебём", - "ебёте", - "ебут", - "ебаный", - "ебаная", - "ебаное", - "ебаные", - "ебаного", - "ебаной", - "ебаному", - "ебаным", - "ебаных", - "ебаным", - "ебаные", - "ебаными", - "ебаных", - "ебанный", - "ебанная", - "ебанное", - "ебанные", - "ебанного", - "ебанной", - "ебанному", - "ебанным", - "ебанных", - "ебанным", - "ебанные", - "ебанными", - "ебанных", - "заеб", - "заеба", - "заебе", - "заеби", - "заебу", - "заебё", - "уеб", - "уеба", - "уебе", - "уеби", - "уебу", - "уебё", - "выеб", - "выеба", - "выебе", - "выеби", - "выебу", - "выебё", - "проеб", - "проеба", - "проебе", - "проеби", - "проебу", - "проебё", - "долбоеб", - "долбоеба", - "долбоебе", - "долбоеби", - "долбоебу", - "долбоебё", - "мудак", - "мудака", - "мудаке", - "мудаки", - "мудаку", - "мудаком", - "мудаки", - "мудаков", - "мудакам", - "мудаками", - "мудаках", - "мудила", - "мудилы", - "мудиле", - "мудилу", - "мудилой", - "мудило", - "гандон", - "гондон", - "гандона", - "гондона", - "гандону", - "гондону", - "гандоном", - "гондоном", - "гандоне", - "гондоне", - "гандонов", - "гондонов", - "гандонам", - "гондонам", - "гандонами", - "гондонами", - "гандонах", - "гондонах", - "пидор", - "пидора", - "пидору", - "пидором", - "пидоре", - "пидоры", - "пидоров", - "пидорам", - "пидорами", - "пидорах", - "пидарас", - "пидараса", - "пидарасу", - "пидарасом", - "пидарасе", - "пидарасы", - "пидарасов", - "пидарасам", - "пидарасами", - "пидарасах", - "педик", - "педика", - "педику", - "педиком", - "педике", - "педики", - "педиков", - "педикам", - "педиками", - "педиках", - "гомик", - "гомика", - "гомику", - "гомиком", - "гомике", - "гомики", - "гомиков", - "гомикам", - "гомиками", - "гомиках", - "шлюха", - "шлюхи", - "шлюхе", - "шлюху", - "шлюхой", - "шлюхо", - "шлюх", - "блядина", - "блядины", - "блядине", - "блядину", - "блядиной", - "блядино", - "блядин", - "шлюшка", - "шлюшки", - "шлюшке", - "шлюшку", - "шлюшкой", - "шлюшко", - "шлюшек", - "проститутка", - "проститутки", - "проститутке", - "проститутку", - "проституткой", - "проститутко", - "проституток", - "проституткам", - "проститутками", - "проститутках", - "еблан", - "еблана", - "еблану", - "ебланом", - "еблане", - "ебланы", - "ебланов", - "ебланам", - "ебланами", - "ебланах", - "ебанутый", - "ебанутого", - "ебанутому", - "ебанутым", - "ебанутом", - "ебанутая", - "ебанутой", - "ебанутую", - "ебанутое", - "ебанутые", - "ебанутых", - "ебанутым", - "ебанутыми", - "ебанутых", - "ебанутый", - "ебанутого", - "ебанутому", - "ебанутым", - "ебанутом", - "ебанутая", - "ебанутой", - "ебанутую", - "ебанутое", - "ебанутые", - "ебанутых", - "ебанутым", - "ебанутыми", - "ебанутых", - "уебан", - "уебана", - "уебану", - "уебаном", - "уебане", - "уебаны", - "уебанов", - "уебанам", - "уебанами", - "уебанах", - "долбоёб", - "долбоёба", - "долбоёбу", - "долбоёбом", - "долбоёбе", - "долбоёбы", - "долбоёбов", - "долбоёбам", - "долбоёбами", - "долбоёбах", - "долбоеб", - "долбоеба", - "долбоебу", - "долбоебом", - "долбоебе", - "долбоебы", - "долбоебов", - "долбоебам", - "долбоебами", - "долбоебах", - "еблан", - "еблана", - "еблану", - "ебланом", - "еблане", - "ебланы", - "ебланов", - "ебланам", - "ебланами", - "ебланах", - "залупа", - "залупы", - "залупе", - "залупу", - "залупой", - "залупо", - "залуп", - "залупка", - "залупки", - "залупке", - "залупку", - "залупкой", - "залупко", - "залупок", - "залупкам", - "залупками", - "залупках", - "мразь", - "мрази", - "мрази", - "мразью", - "мразь", - "мразей", - "мразям", - "мразями", - "мразях", - "мразота", - "мразоты", - "мразоте", - "мразоту", - "мразотой", - "мразото", - "мразот", - "мразотой", - "мразотам", - "мразотами", - "мразотах", - "ублюдок", - "ублюдка", - "ублюдку", - "ублюдком", - "ублюдке", - "ублюдки", - "ублюдков", - "ублюдкам", - "ублюдками", - "ублюдках", - "выблядок", - "выблядка", - "выблядку", - "выблядком", - "выблядке", - "выблядки", - "выблядков", - "выблядкам", - "выблядками", - "выблядках", - "падла", - "падлы", - "падле", - "падлу", - "падлой", - "падло", - "падл", - "падлюга", - "падлюги", - "падлюге", - "падлюгу", - "падлюгой", - "падлюго", - "падлюг", - "падлюгам", - "падлюгами", - "падлюгах", - "гад", - "гада", - "гаду", - "гадом", - "гаде", - "гады", - "гадов", - "гадам", - "гадами", - "гадах", - "гадина", - "гадины", - "гадине", - "гадину", - "гадиной", - "гадино", - "гадин", - "гадинам", - "гадинами", - "гадинах", - "тварь", - "твари", - "твари", - "тварью", - "тварь", - "тварей", - "тварям", - "тварями", - "тварях", - "тварина", - "тварины", - "тварине", - "тварину", - "твариной", - "тварино", - "тварин", - "тваринам", - "тваринами", - "тваринах", - "сволочь", - "сволочи", - "сволочи", - "сволочью", - "сволочь", - "сволочей", - "сволочам", - "сволочами", - "сволочах", - "сволочка", - "сволочки", - "сволочке", - "сволочку", - "сволочкой", - "сволочко", - "сволочек", - "сволочкам", - "сволочками", - "сволочках", - "скотина", - "скотины", - "скотине", - "скотину", - "скотиной", - "скотино", - "скотин", - "скотинам", - "скотинами", - "скотинах", - "скотиняка", - "скотиняки", - "скотиняке", - "скотиняку", - "скотинякой", - "скотиняко", - "скотиняк", - "скотинякам", - "скотиняками", - "скотиняках", - "козел", - "козла", - "козлу", - "козлом", - "козле", - "козлы", - "козлов", - "козлам", - "козлами", - "козлах", - "козлина", - "козлины", - "козлине", - "козлину", - "козлиной", - "козлино", - "козлин", - "козлинам", - "козлинами", - "козлинах", - "козлище", - "козлища", - "козлищу", - "козлищем", - "козлище", - "козлищ", - "козлищам", - "козлищами", - "козлищах", - "козёл", - "козла", - "козлу", - "козлом", - "козле", - "козлы", - "козлов", - "козлам", - "козлами", - "козлах", - "козлина", - "козлины", - "козлине", - "козлину", - "козлиной", - "козлино", - "козлин", - "козлинам", - "козлинами", - "козлинах", - "козлище", - "козлища", - "козлищу", - "козлищем", - "козлище", - "козлищ", - "козлищам", - "козлищами", - "козлищах", - "козёл", - "козла", - "козлу", - "козлом", - "козле", - "козлы", - "козлов", - "козлам", - "козлами", - "козлах", - "козлина", - "козлины", - "козлине", - "козлину", - "козлиной", - "козлино", - "козлин", - "козлинам", - "козлинами", - "козлинах", - "козлище", - "козлища", - "козлищу", - "козлищем", - "козлище", - "козлищ", - "козлищам", - "козлищами", - "козлищах" - ], - "fragments": [ - "хуй", - "хуя", - "хуе", - "хуи", - "хую", - "хуё", - "пизд", - "бля", - "бляд", - "еб", - "еба", - "ебе", - "еби", - "ебу", - "ебё", - "ебан", - "ебал", - "ебан", - "ебля", - "ебли", - "ебло", - "ебут", - "ебуть", - "ебёшь", - "ебёт", - "ебём", - "ебёте", - "ебут", - "ебаный", - "ебаная", - "ебаное", - "ебаные", - "ебаного", - "ебаной", - "ебаному", - "ебаным", - "ебаных", - "ебаным", - "ебаные", - "ебаными", - "ебаных", - "ебанный", - "ебанная", - "ебанное", - "ебанные", - "ебанного", - "ебанной", - "ебанному", - "ебанным", - "ебанных", - "ебанным", - "ебанные", - "ебанными", - "ебанных", - "заеб", - "уеб", - "выеб", - "проеб", - "долбоеб", - "мудак", - "мудил", - "гандон", - "гондон", - "пидор", - "пидарас", - "педик", - "гомик", - "шлюх", - "блядин", - "проститутк", - "еблан", - "ебанут", - "уебан", - "долбоёб", - "долбоеб", - "залуп", - "мраз", - "мразот", - "ублюдок", - "выблядок", - "падл", - "падлюг", - "гад", - "гадин", - "твар", - "тварин", - "сволоч", - "скотин", - "козел", - "козл", - "козёл", - "козлищ" - ] -} - diff --git a/bin/main/data/gradients.yml b/bin/main/data/gradients.yml deleted file mode 100644 index 3b29b00..0000000 --- a/bin/main/data/gradients.yml +++ /dev/null @@ -1,22 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ Gradient Data ║ -# ║ Данные градиентов ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -gradients: {} - -# Пример структуры: -# 550e8400-e29b-41d4-a716-446655440000: -# colors: -# - "#FF0000" -# - "#00FF00" -# - "#0000FF" -# prefix: "[VIP]" -# enabled: true -# created: 1640995200000 -# last-updated: 1640995200000 -# preset-used: "rainbow" -# cost-paid: 300 \ No newline at end of file diff --git a/bin/main/data/ignores.yml b/bin/main/data/ignores.yml deleted file mode 100644 index 45acede..0000000 --- a/bin/main/data/ignores.yml +++ /dev/null @@ -1,19 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ Ignore Data ║ -# ║ Данные игнорирования ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -ignores: {} - -# Пример структуры: -# 550e8400-e29b-41d4-a716-446655440000: -# ignored-players: -# - uuid: "ignored-player-uuid-1" -# name: "IgnoredPlayer1" -# added: 1640995200000 -# - uuid: "ignored-player-uuid-2" -# name: "IgnoredPlayer2" -# added: 1640995300000 \ No newline at end of file diff --git a/bin/main/data/mutes.yml b/bin/main/data/mutes.yml deleted file mode 100644 index c5ec414..0000000 --- a/bin/main/data/mutes.yml +++ /dev/null @@ -1,39 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ Mute Data ║ -# ║ Данные мутов ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -active-mutes: {} -mute-history: {} - -# Пример структуры активных мутов: -# active-mutes: -# 550e8400-e29b-41d4-a716-446655440000: -# id: 1 -# moderator: "admin-uuid" -# moderator-name: "AdminName" -# reason: "Спам в чате" -# start-time: 1640995200000 -# end-time: 1640998800000 -# duration: 3600000 -# silent: false -# active: true -# server: "lobby" - -# Пример истории мутов: -# mute-history: -# 550e8400-e29b-41d4-a716-446655440000: -# - id: 1 -# moderator: "admin-uuid" -# moderator-name: "AdminName" -# reason: "Первое нарушение" -# start-time: 1640995200000 -# end-time: 1640998800000 -# duration: 3600000 -# unmute-reason: "Время истекло" -# unmute-moderator: null -# silent: false -# server: "lobby" \ No newline at end of file diff --git a/bin/main/data/players.yml b/bin/main/data/players.yml deleted file mode 100644 index cd85116..0000000 --- a/bin/main/data/players.yml +++ /dev/null @@ -1,30 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ Player Data ║ -# ║ Данные игроков ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -players: {} - -# Пример структуры: -# 550e8400-e29b-41d4-a716-446655440000: -# name: "PlayerName" -# display-name: "&#FF0000P&#FF3300l&#FF6600a&#FF9900y&#FFcc00e&#FFff00r" -# first-join: 1640995200000 -# last-join: 1640995200000 -# last-quit: 1640995200000 -# total-playtime: 3600000 -# settings: -# sounds-enabled: true -# sound-volume: 1.0 -# auto-messages: true -# mentions-enabled: true -# pm-sounds: true -# statistics: -# messages-sent: 150 -# commands-used: 45 -# mutes-received: 2 -# last-message: "Привет всем!" -# join-count: 25 \ No newline at end of file diff --git a/bin/main/data/statistics.yml b/bin/main/data/statistics.yml deleted file mode 100644 index 71151db..0000000 --- a/bin/main/data/statistics.yml +++ /dev/null @@ -1,76 +0,0 @@ -# ╔══════════════════════════════════════════════════════════════════════════════╗ -# ║ Statistics Data ║ -# ║ Статистика ║ -# ╚══════════════════════════════════════════════════════════════════════════════╝ - -# НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ ВРУЧНУЮ! - -data-version: 1 -last-updated: 0 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ ОБЩАЯ СТАТИСТИКА │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -global: - total-messages: 0 - messages-today: 0 - messages-this-week: 0 - messages-this-month: 0 - last-reset: 0 - peak-online: 0 - peak-online-time: 0 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ СТАТИСТИКА ПО ТИПАМ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -by-type: - global-chat: 0 - local-chat: 0 - private-messages: 0 - announcements: 0 - commands: 0 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ ТОП ИГРОКОВ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -top-players: - by-messages: {} - by-playtime: {} - by-commands: {} - -# Пример: -# by-messages: -# 550e8400-e29b-41d4-a716-446655440000: -# name: "PlayerName" -# count: 1500 -# last-updated: 1640995200000 - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ СТАТИСТИКА МУТОВ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -mute-stats: - total-mutes: 0 - active-mutes: 0 - mutes-today: 0 - mutes-this-week: 0 - mutes-this-month: 0 - top-reasons: {} - top-moderators: {} - -# ┌─────────────────────────────────────────────────────────────────────────────┐ -# │ СТАТИСТИКА ФИЛЬТРОВ │ -# └─────────────────────────────────────────────────────────────────────────────┘ - -filter-stats: - total-blocked: 0 - blocked-today: 0 - by-filter: - caps: 0 - swear: 0 - spam: 0 - advertising: 0 - flood: 0 \ No newline at end of file diff --git a/bin/main/messages.yml b/bin/main/messages.yml deleted file mode 100644 index 2a1c53f..0000000 --- a/bin/main/messages.yml +++ /dev/null @@ -1,166 +0,0 @@ -# LoChat player messages -# All messages sent to players. Supports & color codes and placeholders. - -prefix: "&8[&3LoChat&8]" - -# ── Global Chat ──────────────────────────────────────────────────────────────── - -global: - toggled-on: "&aGlobal chat enabled" - toggled-off: "&cGlobal chat disabled" - disabled: "&cGlobal chat is disabled on this server" - -# ── Local Chat ───────────────────────────────────────────────────────────────── - -local: - no-players: "&cNo players nearby" - nobody-heard: "&7Nobody heard you — no players nearby" - -# ── Private Messages ─────────────────────────────────────────────────────────── - -pm: - format-sent: "&8[&a\u2192&8] &7You &a\u2192 &f{receiver_display}&8: &f{message}" - format-received: "&8[&e\u2190&8] &f{sender_display} &e\u2192 &7You&8: &f{message}" - no-reply: "&cNobody to reply to" - ignored: "&cThis player is ignoring you" - player-offline: "&cPlayer is not online" - self: "&cYou cannot message yourself" - -# ── Ignore List ──────────────────────────────────────────────────────────────── - -ignore: - added: "&aPlayer &f{player} &ais now ignored" - removed: "&aPlayer &f{player} &ais no longer ignored" - already-ignored: "&7Player &f{player} &7is already ignored" - not-ignored: "&7Player &f{player} &7is not ignored" - self: "&cYou cannot ignore yourself" - list-empty: "&7Your ignore list is empty" - list-header: "&8\u2500\u2500\u2500\u2500\u2500 Ignored Players \u2500\u2500\u2500\u2500\u2500" - list-footer: "&7Total: &f{count} &7players" - -# ── Announcements ────────────────────────────────────────────────────────────── - -announce: - reloaded: "&aConfiguration reloaded" - -# ── Chat Spy ─────────────────────────────────────────────────────────────────── - -spy: - enabled: "&aSpy mode enabled" - disabled: "&cSpy mode disabled" - format: "&8[&4SPY&8] &f{sender} &8\u2192 &7{receiver}&8: &f{message}" - chat-format: "&8[&4SPY&8] &f{sender}&8: &f{message}" - -# ── Filters ──────────────────────────────────────────────────────────────────── - -filter: - blocked: "&cMessage blocked" - warning: "&6Warning" - -# ── Cooldowns ────────────────────────────────────────────────────────────────── - -cooldown: - wait: "&cPlease wait &f{time} &cseconds" - -# ── Anti-Spam ────────────────────────────────────────────────────────────────── - -antispam: - caps: "&cPlease don't shout" - repeat: "&cPlease don't repeat characters" - similar: "&cPlease don't send the same message" - -# ── Clear Chat ───────────────────────────────────────────────────────────────── - -clearchat: - cleared: "&aChat cleared by &f{player}" - -# ── Errors ───────────────────────────────────────────────────────────────────── - -errors: - no-permission: "&cNo permission" - player-not-found: "&cPlayer not found" - invalid-usage: "&cUsage: &f{usage}" - -# ── General ──────────────────────────────────────────────────────────────────── - -general: - no-permission: "&cYou don't have permission!" - players-only: "&cThis command is for players only!" - config-reloaded: "&aConfiguration reloaded!" - invalid-player: "&cPlayer &f{player} &cnot found!" - cooldown-active: "&cPlease wait &f{time}&cs" - command-disabled: "&cCommand disabled!" - -# ── Hub ──────────────────────────────────────────────────────────────────────── - -hub: - connecting: "&aConnecting to &f{server}&a..." - -# ── Mute ─────────────────────────────────────────────────────────────────────── - -mute: - muted: "&aPlayer &f{player} &amuted for &f{time}" - unmuted: "&aPlayer &f{player} &aunmuted" - already-muted: "&7Player &f{player} &7is already muted" - not-muted: "&7Player &f{player} &7is not muted" - you-muted: "&cYou are muted! &7Remaining: &f{time}" - permanent: "&cYou are permanently muted!" - -# ── Gradients ────────────────────────────────────────────────────────────────── - -gradient: - color-set: "&aGradient set!" - color-enabled: "&aGradient nickname enabled" - color-disabled: "&7Gradient nickname disabled" - color-reset: "&7Gradient reset" - prefix-set: "&aPrefix set!" - prefix-reset: "&7Prefix reset" - prefix-enabled: "&aPrefix enabled" - prefix-disabled: "&7Prefix disabled" - invalid-hex: "&cInvalid hex color: &f{color}" - invalid-color: "&cInvalid color: &f{color}" - too-many-colors: "&cToo many colors! Maximum: &f{max}" - too-few-colors: "&cToo few colors! Minimum: &f{min}" - cooldown: "&cPlease wait &f{time} &cseconds" - not-enough-points: "&cNot enough points! Need: &f{price}" - player-not-found: "&cPlayer not found" - color-help: "&cUsage: &f/color ..." - color-success: "&aGradient applied!" - color-no-colors: "&7You have no colors set" - prefix-help: "&cUsage: &f/prefix " - prefix-success: "&aPrefix set!" - prefix-success-free: "&aPrefix set!" - prefix-no-prefix: "&7You have no prefix" - prefix-too-long: "&cPrefix too long! Max: &f{max}" - prefix-no-colors: "&cPrefix cannot contain color codes" - only-player: "&cPlayers only!" - no-permission: "&cNo permission!" - reload-success: "&aConfiguration reloaded!" - info-header: "&8\u2500\u2500\u2500\u2500\u2500 &f{player} &8\u2500\u2500\u2500\u2500\u2500" - info-prefix: "&7Prefix: &f{prefix}" - info-colors: "&7Colors: &f{colors}" - -# ── Custom Nicknames ─────────────────────────────────────────────────────────── - -nick: - current: "&7Your nickname: &f{nick}" - usage: "&cUsage: &f/nick &7or &f/nick reset" - no-nick: "&7You have no custom nickname" - reset-success: "&aNickname reset!" - set-success: "&aNickname changed to: &f{nick}" - invalid: "&cInvalid nickname!" - taken: "&cThis nickname is already taken!" - error: "&cFailed to set nickname!" - -# ── RP Commands ──────────────────────────────────────────────────────────────── - -rp: - me: "&7* {player} {action}" - try-format: "&7* {player} tries {action}... &f{result}" - try-success: "&a[Success!]" - try-fail: "&c[Fail!]" - do-format: "&8[Scene] &f{description} &7({player})" - roll-format: "&7* {player} rolls &f{result} &7out of &f{max}" - roll-min-error: "&cMinimum dice value: 2" - roll-max-error: "&cMaximum dice value: 1000000" - roll-invalid-number: "&cPlease specify a number: /roll [max]" diff --git a/bin/main/plugin.yml b/bin/main/plugin.yml deleted file mode 100644 index b6c8071..0000000 --- a/bin/main/plugin.yml +++ /dev/null @@ -1,407 +0,0 @@ -name: LoChat -version: '1.5.5-1.21' -main: com.loki.lochat.LoChat -api-version: '1.21' -folia-supported: true -author: loki -description: Advanced chat plugin for Paper/Folia 1.21 — Spacelegacy edition - -softdepend: - - PlaceholderAPI - - PlayerPoints - - LuckPerms - - LibertyBans - - SkinsRestorer - -commands: - g: - description: Send global message - usage: /g - permission: chat.global.use - aliases: [ п ] - - globalchat: - description: Toggle global chat - usage: /globalchat toggle - permission: chat.global.toggle - aliases: [ пдщифдсрфе ] - - l: - description: Send local message - usage: /l - permission: chat.local.use - aliases: [ д ] - - msg: - description: Send private message - usage: /msg - permission: chat.pm.use - aliases: [ tell, pm, m, ьып, ееддж, цж, зьж, ьж ] - - reply: - description: Reply to last message - usage: /reply - permission: chat.pm.use - aliases: [ r, ответить, кузду, к ] - - ignore: - description: Ignore player - usage: /ignore - permission: chat.pm.ignore - aliases: [ игнор, шптщку ] - - unignore: - description: Unignore player - usage: /unignore - permission: chat.pm.ignore - aliases: [ разигнор, гтшптщку ] - - ignorelist: - description: List ignored players - usage: /ignorelist - permission: chat.pm.ignore - aliases: [ игнорлист, шптщкудшые ] - - announce: - description: Send announcement - usage: /announce - permission: chat.announce.use - aliases: [ объявление, анонс, фттщгтсу ] - - nick: - description: Set custom nickname - usage: /nick [nickname|reset] - permission: lochat.nick - aliases: [ ник, тшсл ] - - chatspy: - description: Toggle chat spy mode - usage: /chatspy - permission: chat.spy - aliases: [ spy, шпион, срфезуж, зуж ] - - clearchat: - description: Clear chat for all players - usage: /clearchat - permission: chat.clear - aliases: [ cc, очиститьчат, сдуфксрфе, сс ] - - clearchatconfig: - description: Configure clear chat message - usage: /clearchatconfig [text] - permission: lochat.clearchat.config - aliases: [ ccc, настройкаочистки ] - - lochat: - description: LoChat admin command - usage: /lochat [reload] - permission: lochat.admin - aliases: [ дщсрфе ] - - color: - description: Set gradient nick color - usage: /color [hex2] ... - permission: gradient.color - aliases: [ gradient, цвет, градиент, сщдщк, пкфвшуте ] - - prefix: - description: Set custom prefix - usage: /prefix - permission: gradient.prefix - aliases: [ префикс, зкуашч ] - - aprefix: - description: Admin gradient commands - usage: /aprefix - permission: gradient.admin - aliases: [ gradientadmin, азкуашч, пкфвшуетефвьшт ] - - lmute: - description: Mute a player - usage: /lmute [time] [-s] [reason] - permission: lochat.mute - aliases: [ mute, мут, ьгеу ] - - lunmute: - description: Unmute a player - usage: /lunmute [-s] - permission: lochat.unmute - aliases: [ unmute, размут, гтьгеу ] - - lmutelist: - description: List all active mutes - usage: /lmutelist - permission: lochat.mutelist - aliases: [ mutelist, мутлист, ьгеудшые ] - - lmutehistory: - description: View mute history of a player - usage: /lmutehistory - permission: lochat.mutehistory - aliases: [ mutehistory, мутистория, ьгеершыещку ] - - lmuteblame: - description: View mutes issued by a moderator - usage: /lmuteblame - permission: lochat.muteblame - aliases: [ muteblame, мутблейм, ьгеуидфьу ] - - warn: - description: Warn a player (visible to them) - usage: /warn [reason] - permission: lochat.warn - aliases: [ w, варн ] - - silentwarn: - description: Silent warn (logged; staff with lochat.warn.notify see) - usage: /silentwarn [reason] - permission: lochat.warn.silent - aliases: [ siw ] - - lban: - description: Ban a player - usage: /lban [time|perm] [reason] - permission: lochat.ban - aliases: [ ban, бан ] - - lunban: - description: Unban a player - usage: /lunban - permission: lochat.unban - aliases: [ unban, разбан ] - - playerinfo: - description: Player info and moderation stats - usage: /playerinfo - permission: lochat.playerinfo - aliases: [ pi, инфо ] - - # ═══════════════════════════════════════════════════════════════════════════════ - # КАСТОМНЫЕ КОМАНДЫ - # ═══════════════════════════════════════════════════════════════════════════════ - - customcommands: - description: Manage custom commands - usage: /customcommands [list|reload|enable|disable] [command] - permission: lochat.customcommands - aliases: [ cc-admin, кастомкоманды ] - - discordadmin: - description: Discord integration management - usage: /discordadmin [status|reload|test] - permission: lochat.discord.admin - aliases: [ dadmin ] - - lochatreload: - description: Reload all LoChat configurations - usage: /lochatreload - permission: lochat.admin.reload - aliases: [ lcreload, перезагрузить ] - - me: - description: RP emote - perform an action visible to nearby players - usage: /me <действие> - permission: lochat.rp.me - aliases: [ меня, эмоут ] - - try: - description: RP try - attempt an action with random success/fail outcome - usage: /try <действие> - permission: lochat.rp.try - aliases: [ попытаться ] - - do: - description: RP do - describe a scene or environment event - usage: /do <описание> - permission: lochat.rp.do - aliases: [ сцена ] - - roll: - description: Roll a dice (1 to max, default 100) - usage: /roll [максимум] - permission: lochat.rp.roll - aliases: [ кубик, dice ] - -permissions: - chat.global.use: - default: true - chat.global.toggle: - default: true - chat.global.color: - default: op - chat.local.use: - default: true - chat.local.color: - default: op - chat.pm.use: - default: true - chat.pm.ignore: - default: true - chat.announce.use: - default: op - chat.announce.reload: - default: op - chat.spy: - default: op - chat.clear: - default: op - chat.bypass.cooldown: - default: op - chat.bypass.filter: - default: op - chat.bypass.antispam: - default: op - chat.mention.use: - default: true - gradient.color: - default: true - gradient.prefix: - default: true - gradient.admin: - default: op - gradient.bypass.cooldown: - default: op - gradient.bypass.cost: - default: op - lochat.admin: - default: op - lochat.mute: - default: op - lochat.unmute: - default: op - lochat.mutelist: - default: op - lochat.mutehistory: - default: op - lochat.muteblame: - default: op - lochat.mute.silent: - description: Can use silent mute (-s flag) - default: op - lochat.mute.see-silent: - description: Can see silent mute notifications - default: op - lochat.mute.dur.10m: - description: Can mute for 10 minutes - default: false - lochat.mute.dur.30m: - description: Can mute for 30 minutes - default: false - lochat.mute.dur.1h: - description: Can mute for 1 hour - default: false - lochat.mute.dur.6h: - description: Can mute for 6 hours - default: false - lochat.mute.dur.12h: - description: Can mute for 12 hours - default: false - lochat.mute.dur.1d: - description: Can mute for 1 day - default: false - lochat.mute.dur.3d: - description: Can mute for 3 days - default: false - lochat.mute.dur.7d: - description: Can mute for 7 days - default: op - lochat.mute.dur.14d: - description: Can mute for 14 days - default: false - lochat.mute.dur.30d: - description: Can mute for 30 days - default: false - lochat.mute.dur.perm: - description: Can mute permanently - default: op - - lochat.warn: - description: Issue a visible warning - default: op - lochat.warn.silent: - description: Issue a silent warning - default: op - lochat.warn.notify: - description: See silent warn notifications - default: op - lochat.ban: - description: Ban players - default: op - lochat.ban.override: - description: Ban players with lochat.bypass.ban - default: op - lochat.unban: - description: Unban players - default: op - lochat.bypass.warn: - description: Immune to /warn - default: false - lochat.bypass.ban: - description: Immune to /lban (unless staff has lochat.ban.override) - default: false - lochat.playerinfo: - description: View player moderation stats - default: op - lochat.clearchat.config: - description: Can configure clear chat message - default: op - lochat.heademoji.use: - description: Can use head emojis in chat - default: true - lochat.nick: - description: Can use custom nicknames - default: true - lochat.mention.everyone: - description: Can mention @everyone - default: op - lochat.mention.here: - description: Can mention @here - default: op - lochat.mention.role: - description: Can mention @role: - default: op - lochat.bypass.urlfilter: - description: Bypass URL filter - default: op - lochat.bypass.ipfilter: - description: Bypass IP filter - default: op - lochat.bypass.caps: - description: Bypass caps filter - default: op - lochat.bypass.hiddenurls: - description: Bypass hidden URLs filter - default: op - lochat.bypass.domains: - description: Bypass domains filter - default: op - - lochat.customcommands: - description: Can manage custom commands - default: op - lochat.discord.admin: - description: Can manage Discord integration - default: op - lochat.admin.reload: - description: Can reload LoChat configurations - default: op - - lochat.rp.me: - description: Can use /me RP emote command - default: true - lochat.rp.try: - description: Can use /try RP command - default: true - lochat.rp.do: - description: Can use /do scene description command - default: true - lochat.rp.roll: - description: Can use /roll dice command - default: true - lochat.rp.bypass.cooldown: - description: Bypass RP commands cooldown - default: op - - lochat.chat.colors: - description: Can use color codes (&7, &#RRGGBB, MiniMessage) in chat messages - default: op diff --git a/bin/test/com/loki/lochat/gradient/data/GradientPlayerDataTest.class b/bin/test/com/loki/lochat/gradient/data/GradientPlayerDataTest.class deleted file mode 100644 index 0f2c611..0000000 Binary files a/bin/test/com/loki/lochat/gradient/data/GradientPlayerDataTest.class and /dev/null differ diff --git a/bin/test/com/loki/lochat/gradient/util/GradientConstantsTest.class b/bin/test/com/loki/lochat/gradient/util/GradientConstantsTest.class deleted file mode 100644 index 6c4f58c..0000000 Binary files a/bin/test/com/loki/lochat/gradient/util/GradientConstantsTest.class and /dev/null differ diff --git a/bin/test/com/loki/lochat/gradient/util/GradientUtilTest.class b/bin/test/com/loki/lochat/gradient/util/GradientUtilTest.class deleted file mode 100644 index bb70bca..0000000 Binary files a/bin/test/com/loki/lochat/gradient/util/GradientUtilTest.class and /dev/null differ diff --git a/bin/test/com/loki/lochat/utils/ChatFormatterTest.class b/bin/test/com/loki/lochat/utils/ChatFormatterTest.class deleted file mode 100644 index 6922b24..0000000 Binary files a/bin/test/com/loki/lochat/utils/ChatFormatterTest.class and /dev/null differ diff --git a/build.gradle.kts b/build.gradle.kts index 99769f0..6c5d9b8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -39,6 +39,13 @@ checkstyle { maxWarnings = 0 } +tasks.withType().configureEach { + reports { + xml.required.set(true) + html.required.set(true) + } +} + java { toolchain { languageVersion.set(JavaLanguageVersion.of(21)) diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index d472b45..a3a9089 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -5,7 +5,7 @@ - + @@ -14,12 +14,8 @@ - - - - - + @@ -27,11 +23,6 @@ - - - - - @@ -45,46 +36,28 @@ - - - - - - - - - - - - - - - + - + + + - - - - - - - + @@ -92,19 +65,25 @@ + - + + + + + - - - - + + + + + diff --git a/src/main/java/com/loki/lochat/commands/moderation/ban/BanCommand.java b/src/main/java/com/loki/lochat/commands/moderation/ban/BanCommand.java index d18941a..82c6bf9 100644 --- a/src/main/java/com/loki/lochat/commands/moderation/ban/BanCommand.java +++ b/src/main/java/com/loki/lochat/commands/moderation/ban/BanCommand.java @@ -121,7 +121,7 @@ public class BanCommand implements CommandExecutor, TabCompleter { long durationMs; if (timeStr == null || timeStr.isEmpty()) { durationMs = 0; - } else if (timeStr.equalsIgnoreCase("perm") || timeStr.equals("0")) { + } else if ("perm".equalsIgnoreCase(timeStr) || "0".equals(timeStr)) { durationMs = 0; } else { durationMs = muteService.parseTime(timeStr); @@ -136,7 +136,7 @@ public class BanCommand implements CommandExecutor, TabCompleter { } private boolean isTimeFormat(String s) { - return s.equalsIgnoreCase("perm") || s.matches("\\d+[dhms]?"); + return "perm".equalsIgnoreCase(s) || s.matches("\\d+[dhms]?"); } @Override diff --git a/src/main/java/com/loki/lochat/commands/moderation/mute/MuteCommand.java b/src/main/java/com/loki/lochat/commands/moderation/mute/MuteCommand.java index 85f41d9..4987710 100644 --- a/src/main/java/com/loki/lochat/commands/moderation/mute/MuteCommand.java +++ b/src/main/java/com/loki/lochat/commands/moderation/mute/MuteCommand.java @@ -89,7 +89,7 @@ public class MuteCommand implements CommandExecutor, TabCompleter { StringBuilder reasonBuilder = new StringBuilder(); for (String arg : args) { - if (arg.equalsIgnoreCase("-s")) { + if ("-s".equalsIgnoreCase(arg)) { silent = true; } else if (targetName == null) { targetName = arg; @@ -126,7 +126,7 @@ public class MuteCommand implements CommandExecutor, TabCompleter { } return dur; } - if (timeStr.equalsIgnoreCase("perm") || timeStr.equals("0")) { + if ("perm".equalsIgnoreCase(timeStr) || "0".equals(timeStr)) { return 0; } long dur = muteService.parseTime(timeStr); @@ -176,7 +176,7 @@ public class MuteCommand implements CommandExecutor, TabCompleter { } private boolean isTimeFormat(String s) { - return s.equalsIgnoreCase("perm") || s.matches("\\d+[dhms]?"); + return "perm".equalsIgnoreCase(s) || s.matches("\\d+[dhms]?"); } @Override diff --git a/src/main/java/com/loki/lochat/commands/moderation/mute/UnmuteCommand.java b/src/main/java/com/loki/lochat/commands/moderation/mute/UnmuteCommand.java index d3d6d1d..d7f4b6b 100644 --- a/src/main/java/com/loki/lochat/commands/moderation/mute/UnmuteCommand.java +++ b/src/main/java/com/loki/lochat/commands/moderation/mute/UnmuteCommand.java @@ -41,7 +41,7 @@ public class UnmuteCommand implements CommandExecutor, TabCompleter { String targetName = null; boolean silent = false; for (String a : args) { - if (a.equalsIgnoreCase("-s")) { + if ("-s".equalsIgnoreCase(a)) { silent = true; } else if (targetName == null) { targetName = a; diff --git a/src/main/java/com/loki/lochat/core/service/PlayerServiceImpl.java b/src/main/java/com/loki/lochat/core/service/PlayerServiceImpl.java index 2d031c1..e698fa8 100644 --- a/src/main/java/com/loki/lochat/core/service/PlayerServiceImpl.java +++ b/src/main/java/com/loki/lochat/core/service/PlayerServiceImpl.java @@ -78,7 +78,7 @@ public class PlayerServiceImpl implements PlayerService { } private Map getCooldownMap(String type) { - return type.equals("global") ? globalCooldowns : localCooldowns; + return "global".equals(type) ? globalCooldowns : localCooldowns; } // ========== Statistics Implementation ========== diff --git a/src/main/java/com/loki/lochat/gradient/commands/GradientColorCommand.java b/src/main/java/com/loki/lochat/gradient/commands/GradientColorCommand.java index 9fa418f..d90f4a3 100644 --- a/src/main/java/com/loki/lochat/gradient/commands/GradientColorCommand.java +++ b/src/main/java/com/loki/lochat/gradient/commands/GradientColorCommand.java @@ -88,7 +88,7 @@ public class GradientColorCommand implements CommandExecutor, TabCompleter { String firstArg = args[0].toLowerCase(); - if (args.length == 2 && firstArg.equals("copy")) { + if (args.length == 2 && "copy".equals(firstArg)) { return Bukkit.getOnlinePlayers().stream().map(Player::getName) .filter(s -> s.toLowerCase().startsWith(args[1].toLowerCase())).toList(); } diff --git a/src/main/java/com/loki/lochat/managers/AutoMessageManager.java b/src/main/java/com/loki/lochat/managers/AutoMessageManager.java index dc51733..6bb551c 100644 --- a/src/main/java/com/loki/lochat/managers/AutoMessageManager.java +++ b/src/main/java/com/loki/lochat/managers/AutoMessageManager.java @@ -132,7 +132,7 @@ public class AutoMessageManager { String messageKey; - if (mode.equals("random")) { + if ("random".equals(mode)) { messageKey = messageOrder.get(random.nextInt(messageOrder.size())); } else { int index = currentIndex.getAndUpdate(i -> (i + 1) % messageOrder.size()); diff --git a/src/main/java/com/loki/lochat/managers/EmojiManager.java b/src/main/java/com/loki/lochat/managers/EmojiManager.java index a0a70d2..5820b91 100644 --- a/src/main/java/com/loki/lochat/managers/EmojiManager.java +++ b/src/main/java/com/loki/lochat/managers/EmojiManager.java @@ -43,7 +43,7 @@ public class EmojiManager { // Загружаем все категории for (String category : config.getKeys(false)) { - if (category.equals("settings")) { + if ("settings".equals(category)) { continue; }