HyperScript
Docs

← All of the Docs HyperHolograms

For a time, the nearest, and how far it is seen HyperHolograms

effectcreate holo <name> at <location> with lines <text>, <text> for <duration>HyperHolograms

A hologram that deletes itself when the time is up, and when the server stops. Made again under the same name, the time starts over

create holo "crown" at player's location with lines "&6&lKING"
expressionnearest holo to <location>HyperHolograms

The name of the hologram closest to that place, in the same world; unset if there is none

set {_holo} to nearest holo to player's location
expressionholos within <n> blocks of <location>HyperHolograms

The names of the holograms that near a place, the nearest first

for each {_holo} in holos within 10 blocks of player's location:
    delete holo {_holo}
effectset view distance of holo <name> to <n>HyperHolograms

From how many blocks away it is shown, 1 to 256

set view distance of holo arg.1 to arg.2
Guide and examples
on player death:
    create holo "grave-%player.name%" at player's location with lines "&7Here fell", "&f%player.name%" for 30 seconds

command /nearholo:
    trigger:
        set {_holo} to nearest holo to player's location
        if {_holo} is set:
            send "&7The nearest hologram is &f%{_holo}%&7."
        else:
            send "&7There is no hologram in this world."

command /clearholos:
    permission: "holo.admin"
    trigger:
        for each {_holo} in holos within 10 blocks of player's location:
            delete holo {_holo}

command /holorange <name> <blocks:number>:
    permission: "holo.admin"
    trigger:
        set view distance of holo arg.1 to arg.2
SyntaxEffect
create holo <name> at <location> with lines <text>, <text> for <duration>A hologram that deletes itself when the time is up, and when the server stops. Made again under the same name, the time starts over
nearest holo to <location>The name of the hologram closest to that place, in the same world; unset if there is none
holos within <n> blocks of <location>The names of the holograms that near a place, the nearest first
set view distance of holo <name> to <n>From how many blocks away it is shown, 1 to 256