
TerritoryCore
A chunk claiming plugin for Minecraft 1.20 1.21+ (Bukkit, Spigot, Paper)
Оцените первым
100
0
Список изменений
Performance & Stability
BaltopGUI.java(Lag Spike Fix): Fixed a severe main-thread lag spike by fetching player heads asynchronously before syncing back to the main thread to populate the inventory.BaltopGUI.java(Memory Leak Fix): Fixed a memory leak whereBaltopGUIregistered a listener on every instantiation without unregistering it. Added anInventoryCloseEventhandler for proper cleanup.ClaimManager.java(Thread Safety): Resolved a critical thread-safety issue insaveAll()by replacing direct async modifications todataConfigwith a localYamlConfigurationinstance, preventingConcurrentModificationExceptionsand data corruption.ClaimChatManager.java(Chat Optimization): Removed unnecessary synchronous task wrappers insideAsyncPlayerChatEventto prevent artificial chat message delays.ExtraClaimListener.java(Movement Optimization): Replaced heavy chunk lookup equality checks (event.getFrom().getChunk().equals(...)) with lightning-fast bitshift coordinate math (X >> 4,Z >> 4) during player movement ticks.
Security, Exploits & Protections
ClaimData.java(Economy Exploit Fix): Prevented an infinite money duplication exploit inwithdraw()by blocking negative withdrawal values.ClaimCommand.java(Claim Limit Enforcement): Added a check inhandleBuyto strictly enforce the single-claim limit per player.ClaimListener.java(Subclaim Access Fix): Fixed an issue where subclaim tenants were incorrectly blocked from interacting with blocks (chests, doors) inside their rented subclaims.ClaimListener.java(Bypass Fixes): Patched claim protection bypasses by implementing explicit checks foronBlockIgnite(Flint and Steel),PlayerBucketEmptyEvent, andPlayerBucketFillEvent.
GUI, Flight & Mechanics
SettingsGUI.java&UpgradesGUI.java(Inventory Exploit): Fixed a bug allowing players to click items in their own bottom inventory to trigger unauthorized GUI actions.SettingsGUI.java(Flight Mode Fix): Fixed flight mode toggling so disabling it properly strips active players from the claim's flight list and removes flight status.ClaimListener.java(Flight State Memory Leak): Fixed a bug and memory leak inupdateClaimEffectswhere players moving directly between two flight-enabled claims were left lingering in the old claim'sflyingPlayerslist.VersionUtil.java(Version Scheme Fix): CorrectedisNewVersionScheme()to accurately evaluate Minecraft 1.20+ versions.VersionUtil.java(Particle Fallback Fix): Fixed particle name handling by swapping out broken definitions forVILLAGER_HAPPYwithHAPPY_VILLAGERfallback.BorderVisualizer.java(Crash Prevention): AddedNumberFormatExceptiontry-catch protection around chunk coordinate parsing and safe null-checks forgetClaimedChunks()to prevent unexpected task crashes.ClaimManager.java(Rename & Alliance Fixes): FixedrenameClaim()to handle case-insensitive name matching correctly and fixed an alliance reference leak indeleteClaim()by clearing deleted owners from allied claims.
Файлы
ClaimPlugin-2.3.2.jar(175.78 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.3.2
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.20–26.2
Загрузок
18
Дата публикации
06.08.2026
