
5.1K
8
Список изменений
Version 1.6
🐛 Bug Fixes
- Fixed memory leak: Player data maps now cleaned up on player quit (EventListener, CommandHandler, VisualizationManager)
- Fixed chat exploit vulnerability: Removed vulnerable
onPlayerChathandler that could be exploited - Fixed typos in messages.yml: "Memeber" → "Member", "Premissions" → "Permissions"
- Fixed hardcoded messages: CommandHandler now uses config for all messages
- Fixed soft-depend syntax: Changed
soft-depend: WorldGuard\`` tosoft-depend: [WorldGuard]` in plugin.yml - Added CONTAINER permission: Separate permission check for chests, furnaces, barrels, etc.
🔧 Optimizations
- Thread Safety: Replaced HashMap with ConcurrentHashMap in ClaimManager, TrustManager, and VisualizationManager
- Memory Management: Added comprehensive player data cleanup on quit via PlayerJoinListener
- Separated Block Types: Container blocks and interactable blocks now have separate permission checks
✨ New Features
- Command Aliases: Added
/cas alias for/claimand/ucas alias for/unclaim - Improved Tab Completion: Now suggests online players for trust/untrust/member commands
- CONTAINER Permission: New permission type for accessing chests, furnaces, hoppers, etc.
🎨 GUI Improvements
-
TrustListGUI Overhaul:
- 54-slot inventory with glass pane borders
- Online/offline status indicator (green/red) for trusted players
- Info item showing total trusted count
- Better organized layout with player heads in center area
-
TrustMenuGUI Overhaul:
- 27-slot inventory with glass pane borders
- Player head with online status at top
- Permission-specific icons (Bricks for BUILD, Lever for INTERACT, Chest for CONTAINER, Ender Pearl for TELEPORT)
- Permission descriptions in lore
- Clear enabled/disabled status indicators
-
VisitorMenuGUI Overhaul:
- 27-slot inventory with glass pane borders
- Info item explaining visitor permissions
- Warning for dangerous permissions (BUILD)
- Same permission icons and descriptions as TrustMenuGUI
📋 Technical Changes
- Config version bumped to 5
- Plugin version bumped to 1.6
- Added
cleanupPlayer()methods to EventListener, CommandHandler, and VisualizationManager - Extended PlayerJoinListener to handle PlayerQuitEvent
Файлы
LandClaimPlugin-1.6.jar(72.70 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6
Загрузчики
PaperPurpur
Версии игры
1.21–1.21.11
Загрузок
32
Дата публикации
4 мес. назад
