expression
all holosHyperHologramsA list of the names of every hologram
for each {_name} in all holos:
send "&e%{_name}% &7at %location of holo {_name}%"← All of the Docs HyperHolograms
all holosHyperHologramsA list of the names of every hologram
for each {_name} in all holos:
send "&e%{_name}% &7at %location of holo {_name}%"holo exists <name>HyperHologramsWhether there is one of that name
if holo exists "hub":
set line 2 of holo "hub" to "&7Players online: %server.online_players%"location of holo <name>HyperHologramsWhere it is, as a location
send "&e%{_name}% &7at %location of holo {_name}%"lines of holo <name>HyperHologramsA list of the lines of its first page
set {_lines} to lines of holo "hub"pages of holo <name>HyperHologramsHow many pages it has
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 "<name>":HyperHologramsRuns when a player clicks that hologram. Without a name: any hologram
on holo click "daily":
if {_click} is "right":
execute player command "daily"command /holos:
permission: "holo.manage"
trigger:
for each {_name} in all holos:
send "&e%{_name}% &7at %location of holo {_name}%"
on holo click "daily":
if {_click} is "right":
execute player command "daily"
on holo click:
log "%player.name% clicked the hologram %{_holo}% (%{_click}%)"
| Syntax | Result |
|---|---|
all holos | A list of the names of every hologram |
holo exists <name> | Whether there is one of that name |
location of holo <name> | Where it is, as a location |
lines of holo <name> | A list of the lines of its first page |
pages of holo <name> | How many pages it has |
on holo click "<name>": | Runs when a player clicks that hologram. Without a name: any hologram |
player is who clicked, {_holo} the hologram's name, {_click} one of left, right, shift left and shift right, and {_page} the page they were looking at.