HyperScript
Docs

← All of the Docs HyperHolograms

Pages and who sees it HyperHolograms

effectadd page to holo <name> with lines <text>, <text>HyperHolograms

Give it another page

add page to holo "help" with lines "&6&lCommands", "&f/spawn &7- go to spawn", "&f/shop &7- open the shop"
expressionshow page <n> of holo <name> to <who>HyperHolograms

Turn it to that page for one player; others see what they saw

show page 2 of holo "help" to player
expressionshow holo <name> to <who>HyperHolograms

Let a player see it

show holo "staffnotes" to player
effecthide holo <name> from <who>HyperHolograms

Hide it from a player

hide holo "staffnotes" from all players
expressionshow holo <name> to all players / hide holo <name> from all playersHyperHolograms

For everybody, and for whoever joins later

show holo "staffnotes" to all players
Guide and examples
on load:
    create holo "help" at {help.spot} with lines "&6&lHelp", "&7Click for the next page"
    if pages of holo "help" < 2:
        add page to holo "help" with lines "&6&lCommands", "&f/spawn &7- go to spawn", "&f/shop &7- open the shop"

on holo click "help":
    if {_page} is 1:
        show page 2 of holo "help" to player
    else:
        show page 1 of holo "help" to player

on player join:
    if player has permission "staff.see":
        show holo "staffnotes" to player

command /hidenotes:
    permission: "staff.see"
    trigger:
        hide holo "staffnotes" from all players

command /shownotes:
    permission: "staff.see"
    trigger:
        show holo "staffnotes" to all players
SyntaxEffect
add page to holo <name> with lines <text>, <text>Give it another page
show page <n> of holo <name> to <who>Turn it to that page for one player; others see what they saw
show holo <name> to <who>Let a player see it
hide holo <name> from <who>Hide it from a player
show holo <name> to all players / hide holo <name> from all playersFor everybody, and for whoever joins later
  • To show a hologram to a few players only: hide holo ... from all players once, then show holo ... to player for those who should see it.