DeluxePouches

Holograms

The floating text above an opening, set globally or per pouch. No hologram plugin needed.

DeluxePouches draws its own holograms, so you do not need HolographicDisplays, DecentHolograms or anything else installed. Two holograms are involved in an opening:

  • The pouch item itself, floating in the middle of the animation.
  • Text above it, saying what was opened and by whom.

Per pouch text

Add a hologram block to any pouch:

pouches.yml
  legendary:
    hologram:
      enabled: true
      height: 1.25
      lines:
        - "&6&l✦ Legendary Pouch ✦"
        - "&7Opened by &f%deluxepouches_player%"
        - "&8&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯"
KeyWhat it doesDefault
enabledTurn the text off for this pouchtrue
heightHow far above the opening the text sits, in blocks0.5
linesThe lines themselves, top to bottomfalls back to the global lines

Colour codes and placeholders both work in the lines.

Global defaults

The hologram block in config.yml covers pouches that do not define their own.

config.yml
hologram:
  enabled: true
  lines:
    - "&6✦ &e%deluxepouches_pouch_name% &6✦"
    - "&7Opened by &f%deluxepouches_player%"
  duration: 5
  height: 0.5
  visibility:
    fade-in: true
    fade-out: true
  animation:
    rise-speed: 0.03
    rotation-speed: 6
KeyWhat it does
linesUsed when a pouch has no lines of its own
durationSeconds the text stays before it disappears
visibility.fade-inFade the text in instead of popping it in
visibility.fade-outFade it out at the end
animation.rise-speedHow fast the floating item rises during the default animation
animation.rotation-speedHow fast it spins

A few keys in that block are decoration and are not read: hologram.enabled, hologram.spacing, hologram.visibility.range, and the particle-trail, particle-type and particle-count entries under hologram.animation. Line spacing is fixed, and turning holograms off is done per pouch with hologram.enabled inside the pouch.

Line order

Lines are drawn top to bottom in the order you write them, which is the order you would expect. Empty strings make a gap.

      lines:
        - "&6&lRARE FIND"
        - ""
        - "&7Opened by &f%deluxepouches_player%"

Cleanup

Holograms are removed when their timer runs out, and every remaining one is deleted when the server stops or the plugin is disabled. If a crash ever leaves an armour stand behind, players cannot interact with it, and a restart clears it.

Do not build in the exact spot where pouches are opened in a public area. Placing a pouch turns that block into a temporary barrier while the animation runs.

On this page