Commit graph

8 commits

Author SHA1 Message Date
b922f588d0 fix: Fix hex colors not displaying in tablist, scoreboard and items
- Use LegacyComponentSerializer for proper color parsing
- Fixed TablistManager to deserialize colors
- Fixed ScoreboardManager to deserialize colors
- Fixed ItemBuilder to use Adventure API for item names/lore
- All hex colors (&#RRGGBB) now work correctly in 1.21.1
2026-02-24 14:21:02 +01:00
0a5acdecb0 fix: Fix Sound.valueOf compatibility for 1.21.1
- Added null checks in SoundAction.execute()
- Added fallback for Sound enum compatibility
- Fixed IncompatibleClassChangeError on PlayerJoinEvent
- Added SpaceLegacy ready config (spacelegacy-config.yml)
2026-02-24 14:17:44 +01:00
6e99cf9390 feat: Add server switch broadcast messages
LoVelocity:
- Track server switches (player moving between servers)
- Send plugin messages to hub about switches
- Log server switches

LoHub:
- Receive server switch messages via plugin messaging
- Broadcast to hub chat when player switches servers
- Configurable server display names
- Message format: 'Player connected to Server'

Config:
- server_switch_messages.enabled
- server_switch_messages.switch_message
- server_switch_messages.server_names (hub, grief, survival, etc)

Example: 'Player connected to Grief' when switching from hub to grief server
2026-02-24 14:03:49 +01:00
3ba41c18e7 feat: Update join/leave messages for Velocity network
LoHub:
- Changed join message to 'connected to hub' (Russian)
- Changed quit message to 'left' (Russian)
- Messages show only on actual join/leave, not server switches

LoVelocity:
- Added ServerSwitchListener
- Velocity handles server switches silently
- Backend servers (LoHub) show join/leave messages

Result: Clean join/leave messages across the network
2026-02-24 14:00:41 +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
102341bb2c Complete LoHub implementation: ETAP 4-10 (Custom Items, Launchpad, Double Jump, Player Hider, Scoreboard, Tablist, Announcements) 2026-02-24 00:19:05 +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