Skip to content

Examples & Recipes

Ready-to-use hologram configurations for common use cases. Copy and paste these commands into your server.

Welcome Hologram

A welcoming hologram at spawn with player info:

/mh hologram create welcome
/mh line set welcome 1 1 &6&l=== Welcome ===
/mh line add welcome 1 &fHello, &a{player}&f!
/mh line add welcome 1 &7Online: &e{online}&7/&e{max_players}
/mh line add welcome 1 &7TPS: &a{tps}
/mh line add welcome 1 &6&l===============

Rules Board

Multi-page rules with navigation:

/mh hologram create rules

# Page 1
/mh line set rules 1 1 &c&l=== Server Rules ===
/mh line add rules 1 &e1. &fBe respectful to all players
/mh line add rules 1 &e2. &fNo griefing or stealing
/mh line add rules 1 &e3. &fNo hacking or exploits
/mh line add rules 1 &8[Page {page}/{pages}] Right-click for more

# Page 2
/mh page add rules &c&l=== Server Rules ===
/mh line add rules 2 &e4. &fKeep chat family-friendly
/mh line add rules 2 &e5. &fFollow staff instructions
/mh line add rules 2 &e6. &fReport bugs, don't exploit them
/mh line add rules 2 &8[Page {page}/{pages}] Right-click for more

# Navigation
/mh page addaction rules 1 RIGHT NEXT_PAGE
/mh page addaction rules 1 LEFT PREV_PAGE
/mh page addaction rules 2 RIGHT NEXT_PAGE
/mh page addaction rules 2 LEFT PREV_PAGE

Warp Menu

Interactive warp selector with sounds:

/mh hologram create warps

/mh line set warps 1 1 &6&l=== Warps ===
/mh line add warps 1 #ICON:COMPASS
/mh line add warps 1 &aLeft-click: &fSpawn
/mh line add warps 1 &bRight-click: &fShop
/mh line add warps 1 &dShift+Right: &fArena

# Left = Spawn
/mh page addaction warps 1 LEFT SOUND:minecraft:entity.enderman.teleport:0.5:1.0
/mh page addaction warps 1 LEFT MESSAGE:&aTeleporting to spawn...
/mh page addaction warps 1 LEFT COMMAND:/spawn

# Right = Shop
/mh page addaction warps 1 RIGHT SOUND:minecraft:entity.enderman.teleport:0.5:1.0
/mh page addaction warps 1 RIGHT MESSAGE:&bTeleporting to shop...
/mh page addaction warps 1 RIGHT COMMAND:/warp shop

# Shift+Right = Arena
/mh page addaction warps 1 SHIFT_RIGHT SOUND:minecraft:entity.enderman.teleport:0.5:1.0
/mh page addaction warps 1 SHIFT_RIGHT MESSAGE:&dTeleporting to arena...
/mh page addaction warps 1 SHIFT_RIGHT COMMAND:/warp arena

VIP Info Board

Shows different content based on permissions:

/mh hologram create vip_board

/mh line set vip_board 1 1 &6&lServer Info
/mh line add vip_board 1 &fWelcome, {player}!
/mh line add vip_board 1 &7Your ping: &e{ping}ms

# Line 4 - VIP only
/mh line add vip_board 1 &d[VIP] &fThank you for supporting us!
/mh line setpermission vip_board 1 4 server.vip

# Line 5 - Staff only
/mh line add vip_board 1 &c[STAFF] &fStaff panel: /staffpanel
/mh line setpermission vip_board 1 5 server.staff

Animated Header

Eye-catching hologram with multiple animation types:

/mh hologram create animated_header

/mh line set animated_header 1 1 {#ANIM:wave}=== SERVER NAME ==={/#ANIM}
/mh line add animated_header 1 &e{#ANIM:typewriter}Welcome to our amazing server!{/#ANIM}
/mh line add animated_header 1 &uRainbow cycling text
/mh line add animated_header 1 {#ANIM:burn}Fire effect across this line{/#ANIM}

Scrolling Announcement

News ticker style announcement:

/mh hologram create announcements

/mh line set announcements 1 1 &6&lAnnouncements
/mh line add announcements 1 &e{#ANIM:scroll}[!] Server event this Saturday at 3PM EST!     Join us for PvP tournaments and prizes!          {/#ANIM}

Info

Add trailing spaces at the end of scrolling text to create a gap between the end and beginning of the text as it wraps around. Commands typed in game lose repeated and trailing spaces (Minecraft collapses them in chat), so add the gap from the server console or in the hologram file.

Entity Display

Showcase entities with labels:

/mh hologram create mob_display

/mh line set mob_display 1 1 &6&lMob Zoo
/mh line add mob_display 1 #ENTITY:minecraft:pig
/mh line add mob_display 1 &7Pig

# A little more room, so the pig's head stays clear of the title
/mh line height mob_display 1 2 1.3

To have multiple entities side by side, create separate holograms and align them:

/mh hologram create mob1
/mh line set mob1 1 1 #ENTITY:minecraft:pig
/mh line add mob1 1 &7Pig

/mh hologram create mob2
/mh line set mob2 1 1 #ENTITY:minecraft:cow
/mh line add mob2 1 &7Cow

# Put mob2 on mob1's position, then shift its lines 3 blocks along X
/mh hologram align mob2 XYZ mob1
/mh line offsetx mob2 1 1 3.0
/mh line offsetx mob2 1 2 3.0

Display player heads:

/mh hologram create hall_of_fame

/mh line set hall_of_fame 1 1 &6&l=== Hall of Fame ===
/mh line add hall_of_fame 1 #HEAD:Steve
/mh line add hall_of_fame 1 &aSteve &7- Builder of the Month
/mh line add hall_of_fame 1 #HEAD:Alex
/mh line add hall_of_fame 1 &bAlex &7- PvP Champion

Shop Sign

A clickable shop: right-click to buy. Replace eco take with your economy mod's command.

Warning

Actions run one after another and a CONSOLE action never stops the chain, so the diamond is given even when eco take fails (for example when the player cannot pay). Let your economy or shop mod do the check and the payout in one command where it can, or gate the chain with a PERMISSION action.

/mh hologram create diamond_shop

/mh line set diamond_shop 1 1 &b&lDiamond Shop
/mh line add diamond_shop 1 #ICON:DIAMOND
/mh line add diamond_shop 1 &fRight-click to buy
/mh line add diamond_shop 1 &7Price: 100 coins

/mh page addaction diamond_shop 1 RIGHT SOUND:minecraft:ui.button.click:1.0:1.0
/mh page addaction diamond_shop 1 RIGHT CONSOLE:eco take {player} 100
/mh page addaction diamond_shop 1 RIGHT CONSOLE:give {player} diamond 1
/mh page addaction diamond_shop 1 RIGHT MESSAGE:&a+1 Diamond purchased!
/mh page addaction diamond_shop 1 RIGHT SOUND:minecraft:entity.experience_orb.pickup:1.0:1.0

Gradient Showcase

Beautiful gradient text examples:

/mh hologram create gradients

/mh line set gradients 1 1 <GRADIENT:FF0000>Red to Blue Gradient</GRADIENT:0000FF>
/mh line add gradients 1 <GRADIENT:FFD700>Gold to Orange</GRADIENT:FF6B00>
/mh line add gradients 1 <GRADIENT:00FF00>Green to Cyan</GRADIENT:00FFFF>
/mh line add gradients 1 <GRADIENT:FF00FF>Pink to Purple</GRADIENT:8B00FF>
/mh line add gradients 1 <RAINBOW>Full Rainbow Text</RAINBOW>

Decorative Border

Using custom replacement characters:

/mh hologram create bordered

/mh line set bordered 1 1 &6[,,,][,,][,] &e&lNOTICE &6[,][,,][,,,]
/mh line add bordered 1 &f
/mh line add bordered 1 &6[p] &fServer maintenance tonight
/mh line add bordered 1 &6[p] &fExpected downtime: 30 min
/mh line add bordered 1 &6[p] &fBackup your builds!
/mh line add bordered 1 &f
/mh line add bordered 1 &6[,,,][,,][,] &e&l======= &6[,][,,][,,,]

Vault Hunters Leaderboard

Top players display (requires Vault Hunters):

/mh hologram create vh_top

# Page 1 - Level Rankings
/mh line set vh_top 1 1 &6&l=== Top Vault Levels ===
/mh line add vh_top 1 &e1. &f{vh_top_level_name:1} &7- Level &a{vh_top_level:1}
/mh line add vh_top 1 &e2. &f{vh_top_level_name:2} &7- Level &a{vh_top_level:2}
/mh line add vh_top 1 &e3. &f{vh_top_level_name:3} &7- Level &a{vh_top_level:3}
/mh line add vh_top 1 &e4. &f{vh_top_level_name:4} &7- Level &a{vh_top_level:4}
/mh line add vh_top 1 &e5. &f{vh_top_level_name:5} &7- Level &a{vh_top_level:5}
/mh line add vh_top 1 &8Right-click: Bounty Rankings

# Page 2 - Bounty Rankings
/mh page add vh_top &d&l=== Top Bounty Hunters ===
/mh line add vh_top 2 &e1. &f{vh_top_bounties_name:1} &7- &d{vh_top_bounties:1} bounties
/mh line add vh_top 2 &e2. &f{vh_top_bounties_name:2} &7- &d{vh_top_bounties:2} bounties
/mh line add vh_top 2 &e3. &f{vh_top_bounties_name:3} &7- &d{vh_top_bounties:3} bounties
/mh line add vh_top 2 &e4. &f{vh_top_bounties_name:4} &7- &d{vh_top_bounties:4} bounties
/mh line add vh_top 2 &e5. &f{vh_top_bounties_name:5} &7- &d{vh_top_bounties:5} bounties
/mh line add vh_top 2 &8Right-click: Level Rankings

# Navigation
/mh page addaction vh_top 1 RIGHT NEXT_PAGE
/mh page addaction vh_top 2 RIGHT NEXT_PAGE

Personal Stats Panel

Per-player stats (each player sees their own):

/mh hologram create stats_panel

/mh line set stats_panel 1 1 &6&l{player}'s Stats
/mh line add stats_panel 1 &7Health: &c{health}&7/&c{max_health}
/mh line add stats_panel 1 &7Food: &e{food}&7/20
/mh line add stats_panel 1 &7XP Level: &a{level}
/mh line add stats_panel 1 &7Ping: &b{ping}ms
/mh line add stats_panel 1 &7World: &d{world}
/mh line add stats_panel 1 &7Position: &f{x} {y} {z}

Tips

  • Use /mh hologram center <name> to align holograms to block centers
  • Use /mh hologram align <name> Y <other> to match heights
  • Set updateInterval higher for holograms with static content to reduce load
  • Add DISABLE_UPDATING flag to completely static holograms
  • Test animations with speed: 1 first, then adjust
  • Use the page info view (/mh page info <holo> <page>) for quick line editing