The five delivery channels
1. Chat lines
Thelines array defines a multi-line chat message sent to every targeted player. Each string in the list becomes one line in chat. Use an empty string ("") to insert a blank line for spacing.
Add the [center] prefix to any line to have PumpkinAnnouncer calculate the exact pixel width of the text (ignoring all color codes) and pad it with spaces so it appears centred in the default Minecraft chat window.
2. ActionBar
The ActionBar channel displays a single line of text just above the player’s hotbar. Because the client only holds the ActionBar for about one second, PumpkinAnnouncer re-sends the message every tick for the fullduration-seconds you specify, keeping it visible for the entire period.
3. BossBar
The BossBar appears as a coloured progress bar at the top of the screen. You can configure its colour, style (solid or segmented), duration, and whether the bar depletes smoothly to empty over the display period. The BossBar also supports animated gradient text, cycling through a list of hex colours in real time.PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
Style options:
Setting
deplete: true causes the bar to drain from full to empty across the entire duration-seconds. Setting it to false keeps the bar at full the whole time.
The
animated block inside bossbar only affects the text label on the BossBar, not the bar’s colour itself. To animate the text, set animated.enabled: true and provide at least two hex values in gradient-colors.4. Title / Subtitle
The Title channel displays large on-screen text in the centre of the player’s view, with an optional smaller subtitle line beneath it. You control the fade-in, display, and fade-out durations in ticks (20 ticks = 1 second). The title text also supports animated gradients.The
animated block inside title animates only the main title text. The subtitle is rendered as a static MiniMessage string.5. Sound
Set thesound key to any value from the Bukkit Sound enum to play a sound for every targeted player when the announcement fires. Leave the value empty ("") to play no sound.
minecraft: namespace is prepended if absent, so both ENTITY_PLAYER_LEVELUP and minecraft:entity.player.levelup are accepted.
