Перейти к содержимому

Allium 0.2.4a для Minecraft 26.2 (Paper, Purpur)

Релиз30 июня 2026Minecraft 1.20–26.2PaperPurpurSpigot24 скачиваний на Modrinth
Это не последняя версия. Последняя для 26.2 · Bukkit — 1.0.4+mc1.20-26.3-paperОткрыть 1.0.4+mc1.20-26.3-paper →

Файлы · 1

Allium.jarОсновной1,56 МБСкачать
Основной · 1,56 МБ
SHA-1c7434d0f99a677c26ff820792c8a233df6b8de9dSHA-512d70bebd9f267e37a1aa9e3be960634c3843b5ba751ed6ec2a7e6288591f820bf62c598aede6e532ddab35f1ba337fca5f5a1a51e48435b1b23ed25459c8bceec
Скачать

Что изменилось

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 fixed — PartyManager.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/

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее