▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Allium

Allium

A modern, secure Essentials solution

Оцените первым
135
1
Все версииAllium v0.2.4a

Allium v0.2.4a

Release30.06.2026

Список изменений

Allium v0.2.4a

Wiki: https://github.com/castledking/Allium/wiki

Highlights

  • Vault softdepend crash fixed — Allium no longer crashes at startup when Vault is absent. All Vault-typed fields and method signatures were changed to Object, with casts at call sites. VaultEconomyProvider is only created when Vault's Economy class is actually loadable. The FormatChatListener is skipped entirely when Vault Chat isn't available.
  • PacketEvents softdepend crash fixed — Allium no longer crashes at startup when PacketEvents is absent. The Glow command and GlowListener are guarded behind isPacketEventsAvailable(), and the glowCommand field was relaxed from Glow to Object to prevent class loading.
  • CrowBar 128-block radius limit removed — Added shouldBeVisibleIgnoreDistance to PartyManager so players beyond 128 blocks remain visible on the locator bar, with only same-world and forced-visibility checks applied.
  • NPC locator bar flash fixedPartyManager.updatePlayerVisibility now checks viewer.canSee(target) before calling showPlayer, preventing NPC info packets from being resent every 5 ticks when the NPC is already visible.

Bug Fixes

BugRoot CauseFix
Plugin fails to enable without VaultVault types in field/method signatures cause NoClassDefFoundError during class loading; new VaultEconomyProvider runs before Vault availability checkChanged Vault-typed fields/methods to Object; guarded VaultEconomyProvider creation; skipped FormatChatListener when vaultChat == null
Plugin fails to enable without PacketEventsGlow class references PacketEvents types in method signatures; new Glow(this) at unconditional line 1524 forces class loadingGuarded Glow/GlowListener creation behind isPacketEventsAvailable(); changed glowCommand field to Object
Players beyond 128 blocks hidden on CrowBarshouldBeVisible applies distance filtering which limits range to 128 blocksAdded shouldBeVisibleIgnoreDistance that skips distance check while keeping same-world and visibility overrides
NPCs flash on locator bar every 5 ticksupdatePlayerVisibility calls showPlayer unconditionally every intervalGuarded showPlayer behind viewer.canSee(target)

Files Changed (8)

FileChange
PluginStart.javaChanged Vault fields/methods to Object; guarded VaultEconomyProvider and FormatChatListener creation; guarded Glow/GlowListener behind isPacketEventsAvailable()
commands/Glow.javaNo structural change (guarded at call site)
DB/PermissionCache.javagetVaultPermission returns Object
listeners/security/CommandManager.javavaultPermission field / setupVaultPermission now Object
listeners/security/MaintenanceManager.javaperms field / constructor param now Object
managers/core/PartyManager.javaAdded shouldBeVisibleIgnoreDistance; canSee guard in updatePlayerVisibility
packetevents/CrowBarDataSender.javaUses shouldBeVisibleIgnoreDistance instead of shouldBeVisible
listeners/security/ConnectionManager.javavaultChat null guard in reloadChatFormatter

Technical Details

Vault Class Loading Fix

Paper 1.21+'s PluginClassLoader eagerly resolves type references during class definition. Having Vault types in field declarations or method return types causes NoClassDefFoundError even when the code path never executes. Fix: all Vault-typed fields and return types are now Object, with casts at every call site.

PacketEvents Class Loading Fix

Same mechanism as Vault — PacketEvents types in Glow's method signatures crash class loading. Glow is now only instantiated when isPacketEventsAvailable() returns true, so the class is never loaded on servers without PacketEvents.

Support and Feedback

Issues: https://github.com/castledking/Allium/issues Wiki: https://github.com/castledking/Allium/wiki Discord: https://discord.com/invite/pCKdCX6nYr Website: https://castled.codes/

Файлы

Allium.jar(1.56 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

0.2.4a

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.20–26.2

Загрузок

8

Дата публикации

30.06.2026

Загрузил

ID версии

Главная