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

Allium 0.2.2a для Minecraft 26.1.2 (Paper, Purpur)

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

Файлы · 1

Allium.jarОсновной1,55 МБСкачать
Основной · 1,55 МБ
SHA-1eb51493f37702e2dbf8f231f9bf84d5a892b4dd3SHA-512c185852976aa8cd092109122b1bf0dd14590cc3b0a05d9d4876c25c773a2d66bc11fd4221c86b23cfa7e1b785d0a596fbcf1e1fa25044419d749b393c97d1df1
Скачать

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

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

Highlights

  • Glow command — New /glow command for per-player colored glow outlines using PacketEvents virtual team packets. Supports all 16 vanilla colors, rainbow cycling, and per-color permissions. No scoreboard pollution — teams are sent directly to viewers and never registered on any Bukkit scoreboard.
  • Join/Quit message permissions — Permission-based join/quit message formats via `allium.join_message.andallium.quit_message.`. Set custom formats with LuckPerms metadata.
  • Chat system rewrite — ChatMessageManager, FormatChatListener, and PacketChatTrackerImpl significantly reworked for better PacketEvents integration and staff moderation features.
  • Flight restoration refactor — FlightRestoration rewritten for improved Folia compatibility and reliability.
  • Command management — CommandManager now caches the server's known commands map with a 2-second TTL, eliminating repeated reflection calls. Help command caches available commands per-player with a 3-second TTL.
  • TP companion teleportation — Pet/entity teleport-on-TP moved from TP listener to dedicated TeleportBackListener for cleaner separation.
  • Inventory snapshot optimization — InventoryManager.saveSnapshot() simplified to run directly on the calling thread instead of through SchedulerAdapter.run().

New Commands

CommandDescriptionPermission
`/glow [player]`Set glow color (e.g. /glow red, /glow dark_aqua)allium.glow + `allium.glow.`
/glow rainbow [player]Enable rainbow cycling glowallium.glow.rainbow
/glow off [player]Remove glow effectallium.glow / allium.glow.others

New Permissions

PermissionDescriptionDefault
allium.glowBase glow permission (grants all 16 color sub-permissions)op
`allium.glow.`Per-color (e.g. allium.glow.red, allium.glow.blue)via parent
allium.glow.rainbowRainbow glow modeop
allium.glow.othersTarget other playersop
`allium.join_message.`Custom join message format (value from LP metadata)—
`allium.quit_message.`Custom quit message format (value from LP metadata)—
allium.join_message.*Wildcard — grants all join message formatsstaff
allium.quit_message.*Wildcard — grants all quit message formatsstaff

New Config

join-and-quit-messages:
  join:
    enabled: true
    format: "&e%name% &7has joined the server"
  quit:
    enabled: true
    format: "&e%name% &7has left the server"
  broadcast-scope: server  # server, world, or global

Setting Custom Join/Quit Messages with LuckPerms

Set a permission with a metadata value on a player:

/lp user <player> meta set allium.join_message.vip.a "rift in the universe has spawned %player%"
/lp user <player> meta set allium.quit_message.vip.a "%player% has left through a rift"

Supported placeholders: %name% (display name, respects /nick), %player% (real name), %prefix% (Vault prefix), %suffix% (Vault suffix).

The first matching permission (alphabetical by suffix) is used. If no permission metadata is found, the default config format is used.

Technical Details

Glow
  • Uses PacketEvents WrapperPlayServerTeams with TeamMode.CREATE (includes both team info and player entries in one packet)
  • TeamMode.UPDATE for rainbow color changes, TeamMode.REMOVE for cleanup
  • Packets sent to all online players including the target (the client needs to receive the team packet to render the colored outline)
  • No Bukkit.getScoreboardManager() usage — completely virtual
  • Folia-safe: no region-scheduled tasks needed
Join/Quit Messages
  • Handled via standard PlayerJoinEvent / PlayerQuitEvent (main thread on both Bukkit and Folia)
  • Permission metadata read through Vault Chat's getPlayerInfoString()
  • Falls back to default config format if no permission match found
  • Vanish check: vanished players don't show join/quit messages
Chat System
  • ChatMessageManager rewritten with improved message storage and retrieval
  • PacketChatTrackerImpl updated for better PacketEvents 2.11.1 compatibility
  • FormatChatListener significantly expanded with new formatting options
SchedulerAdapter
  • All scheduled tasks route through SchedulerAdapter which auto-detects Folia
  • Folia path: uses EntityScheduler for entity-specific tasks, GlobalRegionScheduler for global tasks
  • Bukkit path: uses standard BukkitScheduler
  • No raw Bukkit.getScheduler() calls in new code

Files Changed (22)

FileChange
PluginStart.javaGlow command + listener registration, glow field
Glow.javaNew — /glow command with PacketEvents team packets
GlowListener.javaNew — cleanup on player quit
JoinQuitMessages.javaNew — permission-based join/quit messages
ChatMessageManager.javaRewritten — message storage, tracking, moderation
FormatChatListener.javaMajor rewrite — chat formatting, hover, click events
PacketChatTrackerImpl.javaMajor rewrite — PacketEvents 2.11.1 integration
FlightRestoration.javaMajor rewrite — Folia-safe flight state management
CommandManager.javaKnown commands caching, getCachedKnownCommands() API
Help.javaAvailable commands caching, uses CommandManager cache
`TeleportBackListener.java**Extracted from TP — pet/entity companion teleport
TP.javaRemoved inline teleport listener, now delegates
InventoryManager.javaSimplified snapshot saving, removed SchedulerAdapter wrapper
AlliumPlaceholder.javaImport cleanup
GeneralPlaceholder.javaImport cleanup
TFlyManager.javaImport cleanup, formatting
SpawnerChangerManager.javaMinor cleanup
config.ymlNew join-and-quit-messages section
lang.ymlNew glow.* message keys
plugin.ymlNew glow command, permission definitions
pom.xmlPaper version 1.21.8

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 у нас нет. Подробнее