Commit graph

27 commits

Author SHA1 Message Date
fe64b3d51f fix command and refactoring config 2026-03-10 16:58:10 +01:00
1e5e8d8638 feat(lohub): Add complete configuration system with 6 config files
- Added messages.yml for all plugin messages with customizable prefix
- Added commands.yml for custom commands (discord, website, store, rules, heal, clearinventory)
- Added serverselector.yml for GUI server selector menu
- Added data.yml for persistent data storage (chat_locked, spawn location)
- Updated ConfigManager to load all config files
- Updated ChatLockManager to use data.yml instead of chatlock.dat
- Updated SpawnManager to use data.yml instead of spawn.yml
- Updated all commands to use messages.yml
- Updated listeners to use messages.yml
- Removed duplicate config files from root directory
- Added CONFIG_GUIDE.md documentation
2026-02-24 13:27:18 +01:00
e78d8a2de4 Update to Minecraft 1.21.8, add checkstyle, fix compilation errors
- Update Paper API: 1.20.1 -> 1.21.4
- Update plugin version: 1.5.5-1.20.1 -> 1.5.5-1.21.8
- Add checkstyle plugin with reasonable rules
- Fix Enchantment.LUCK -> Enchantment.UNBREAKING
- Fix EntityType.FIREWORK -> EntityType.FIREWORK_ROCKET
- Remove unused imports
- Add temp_*/ to .gitignore
- 118 files changed, 1633 insertions(+), 1301 deletions(-)
2026-02-24 00:04:03 +01:00
6a4c8a7886 feat: LoHub Action system + Join system implementation 2026-02-23 17:27:34 +01:00
4ee5393a5e refactor: Remove all legacy managers, complete SOLID migration 2026-02-23 12:17:37 +01:00
74482851aa refactor: Remove emoji system and chat filters, implement SOLID architecture 2026-02-23 12:10:51 +01:00
e616667c78 Fix missing features and improve code quality
Features fixed:
- Added chat filter functionality (block/warn/censor modes)
- Fixed spy command to monitor all chat messages
- Added proper spy notifications for global/local chat

Code quality improvements:
- Created PlayerUtil to eliminate code duplication in player lookup
- Refactored ChatListener into smaller, focused methods
- Added Constants class to replace magic numbers
- Improved SOLID principles compliance
- Fixed all compilation warnings

All features from README are now implemented and working.
2026-01-23 21:52:17 +01:00
3aa6291765 Fix legacy color codes (§) support in ChatFormatter
- Added conversion for § color codes to MiniMessage format
- Now supports both & and § legacy color codes
2026-01-03 12:42:23 +01:00
8ac304cc07 Fix &#RRGGBB color format support with lowercase normalization 2026-01-01 23:43:22 +01:00
798e52eff9 v1.5.5: Add &b&l formatting support, fix teleport issue, add display settings to config, hide TextDisplay on sneak 2026-01-01 23:14:16 +01:00
000f1962e0 Add support for legacy color formats &#RRGGBB and #RRGGBB in YAML configs 2025-12-31 14:52:42 +01:00
8712a98a87 Fix TextDisplay height + visibility settings + fix PM placeholders showing gradient names 2025-12-31 14:37:14 +01:00
d8721138d9 Remove ChatColor system - unified all color handling in GradientModule + fix color formats 2025-12-31 14:29:49 +01:00
7b76f75e36 Fix gradient colors in chat - convert &#RRGGBB to MiniMessage <#RRGGBB> format 2025-12-30 23:00:43 +01:00
30d2c97e4f Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:46:58 +01:00
2bc9cfd761 Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:34:25 +01:00
8c6fb2c92e Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:17:45 +01:00
8824ccd60f Fix MiniMessage HEX format - use <color:#rrggbb> instead of <#rrggbb> 2025-12-30 22:04:07 +01:00
f4752000c8 Fix HEX color parsing - normalize to lowercase - Added normalizeMiniMessageHex to convert existing <#RRGGBB> tags to lowercase - convertHexColors now outputs lowercase hex codes - Added send/getComponent methods to MessageConfig 2025-12-30 22:01:48 +01:00
ee67dcc12a Переделал настройки цветов: /chatcolor теперь принимает &b формат, добавлена поддержка #RRGGBB в конфигах 2025-12-30 20:35:10 +01:00
c6442bc88f fix: chatcolor now works when player doesn't use color codes 2025-12-30 13:48:47 +01:00
5c1230bc16 fix: TAB hex format and chat color codes support 2025-12-30 13:43:12 +01:00
ed796a4264 v1.5.3: Улучшена обработка цветовых кодов 2025-12-30 13:05:16 +01:00
4f88f09d21 v1.5.3: Улучшена обработка цветовых кодов 2025-12-30 12:52:51 +01:00
f52bd29e7d v1.5.0: Добавлены кастомные команды, алиасы, цвета чата, многоядерная сборка
- Система кастомных команд с алиасами (custom-commands.yml)
- Команда /chatcolor для установки цвета сообщений
- Исправлена ошибка с legacy кодами в PM
- Настройки объявлений (title, actionbar)
- Автообновление конфигов
- Отображение префикса над игроком
- Многоядерная сборка Gradle
- Добавлены алиасы для команд (русские и английские)
- Права на использование цветовых кодов
2025-12-30 12:29:39 +01:00
c09a3a399f lol 2025-12-29 21:59:15 +01:00
252b0a60db Initial commit: LoChat v1.0.0 with Gradient module 2025-12-29 14:57:49 +01:00