HolographicDisplaysAddon by LimeGlass

An addon to hook into HolographicDisplays and DecentHolograms

Events

0

Expressions

2

Effects

7

Conditions

2

Types

0

Sections

0

Structures

0

Total

11

2.0.0-ALPHA 405 days, 8 hours and 1 minute ago

Renaming HolographicDisplaysAddon to Graphisk

Added support for 1.19.4
Added support for DecentHolograms

2.0.0-ALPHA. Syntaxes are the same as HolographicDisplaysAddon https://skripthub.net/docs/?addon=HolographicDisplaysAddon

Report issues at https://github.com/TheLimeGlass/Graphisk/issues

View Update

Refresh 2129 days, 17 hours and 32 minutes ago

Updated all files to newer standards and added Gradle and Github source.

https://github.com/TheLimeGlass/HolographicDisplaysAddon

View Update

Bug fixes 2347 days, 22 hours and 37 minutes ago

Bug fixes in some nullable situations.

Also added, a settable text. Some people were confused about how to set a sting of a line. You needed to remove the line then add it at that line again, but this syntax just makes it easier.


set text (for|in|of) holo[gra(m|phic display)][s] %holograms% to %string% (in|at) line %number%

View Update

Graphisk 2353 days, 16 hours and 32 minutes ago

Graphisk - By LimeGlass
Old name was HolographicDisplaysAddon

Source: https://github.com/TheLimeGlass/Graphisk


An addon to add full support for Hologram plugins.

All of the syntax for this addon are generated below with information on it.

Plugins currently supported:

  • HolographicDisplays 3.0.1
  • DecentHolograms 2.8.1

Planned Support:
  • Holograms
  • HolographicDisplays v2 (Old API support)


Example script:
command /test:
trigger:
set {_hologram} to new hologram at location above player
add text "&5The holographic displays Skript addon test" to hologram {_hologram}
broadcast "%location of hologram {_hologram}%"
wait 3 seconds
set location of hologram {_hologram} to location 3 meters above location of hologram {_hologram}
add item diamond to hologram {_hologram}
add text "&6Testing" to hologram {_hologram}
add item diamond sword to hologram {_hologram} at line 3
wait 3 seconds
add item light green stained glass pane to hologram {_hologram}
add text "&a&l&nBottom line" to hologram {_hologram} at line 4
wait 3 seconds
set {_holograms::*} to all of the holograms
broadcast "%height of holograms {_holograms::*}%"
broadcast "%creation time of holograms {_holograms::*}%"
loop creation time of holograms {_holograms::*}:
broadcast "&6%difference between loop-value and now%"
broadcast "done"
unregister holograms all of the holograms


Syntax:


{
"conditions": [
{
"id": "CondIsHolo",
"name": "Entity is hologram",
"description": [
"Check if an entity is a hologram."
],
"patterns": [
"%entities% (is|are) [a] holo[gra(m|phic display)]",
"%entities% (isn't|is not|aren't|are not) [a] holo[gra(m|phic display)]"
]
},
{
"id": "CondIsDefaultVisible",
"name": "Hologram Default Visibility",
"description": [
"Check if the default visibility is set for holograms."
],
"patterns": [
"%holograms% (is|are) [allow[ing]] placeholders",
"%holograms% (isn't|is not|aren't|are not) [allow[ing]] placeholders",
"%holograms% (is|are) (default visible|visible by default)",
"%holograms% (isn't|is not|aren't|are not) (default visible|visible by default)"
]
},
{
"id": "CondIsVisible",
"name": "Hologram Visible To Players",
"description": [
"Check if holograms are visible to players."
],
"patterns": [
"%holograms% (is|are) visible to %players%",
"%holograms% (isn't|is not|aren't|are not) visible to %players%"
]
},
{
"id": "CondDeleted",
"name": "Hologram is deleted",
"description": [
"Check if a hologram is deleted."
],
"patterns": [
"%holograms% (is|are) deleted",
"%holograms% (isn't|is not|aren't|are not) deleted"
]
}
],
"effects": [
{
"id": "EffClearLines",
"name": "Clear hologram lines",
"description": [
"Clears the lines of hologram(s)."
],
"patterns": [
"clear [all [of]] [the] lines of holo[gra(m|phic display)][s] %holograms%"
]
},
{
"id": "EffAppendItemLine",
"name": "Hologram append item line",
"description": [
"Add a hologram line of an item to the hologram(s)."
],
"patterns": [
"(append|add) item [line] %itemstacks% to holo[gra(m|phic display)][s] %holograms% [(in|at) line %numbers%]",
"(append|add) text [line] %strings% to holo[gra(m|phic display)][s] %holograms% [(in|at) line %numbers%]"
]
},
{
"id": "ExprHologramPlaceholders",
"name": "Hologram placeholder toggle",
"description": [
"Returns a boolean that sets if the hologram(s) should support placeholders or not."
],
"patterns": [
"set [allow[ing]] placeholders of %holograms% to %boolean%",
"make %holograms% [allow[ing]] placeholders"
]
},
{
"id": "SetHologramDefaultVisible",
"name": "Hologram visible default",
"description": [
"Boolean to determine if hologram(s) are visible by default."
],
"patterns": [
"set (default visib(ility|le)|visible by default) of %holograms% to %boolean%",
"make %holograms% (default visib(ility|le)|visible by default)"
]
},
{
"id": "EffHideShow",
"name": "Show/Hide hologram",
"description": [
"Hide or show hologram(s) to player(s)."
],
"patterns": [
"(show|hide) holo[gra(m|phic display)][s] %holograms% [(to|from) %players%]"
]
},
{
"id": "EffTeleport",
"name": "Teleport Hologram",
"description": [
"teleport holograms to locations."
],
"patterns": [
"teleport holo[gra(m|phic display)][s] %holograms% to %location%"
]
},
{
"id": "EffUnregisterHologram",
"name": "Unregister hologram",
"description": [
"Unregister/Delete hologram(s) from existance."
],
"patterns": [
"unregister [holo[gra(m|phic display)][s]] %holograms%"
]
}
],
"expressions": [
{
"id": "ExprHologram",
"name": "Create hologram",
"description": [
"Create a hologram at a location. It is returned as an expression."
],
"return type": "Holograms",
"patterns": [
"[a] new holo[gra(m|phic display)[s]] at [the] %locations%"
]
},
{
"id": "ExprHologramLine",
"name": "Hologram Line",
"description": [
"Modify a line of a hologram."
],
"return type": "Object",
"changers": [
"add",
"set",
"remove",
"remove all",
"delete",
"reset"
],
"patterns": [
"[the] line %numbers% of [holo[gra(m|phic display)[s]]] %holograms%"
]
},
{
"id": "ExprHologramCreated",
"name": "Hologram creation",
"description": [
"Returns the date(s) hologram(s) were created at. Can be used in difference between syntax."
],
"return type": "Date",
"patterns": [
"[the] [all [of]] [the] (time created|creat(ion|ed) (date|time[[ ]stamp])) of %holograms%",
"%holograms%'[s] [all [of]] [the] (time created|creat(ion|ed) (date|time[[ ]stamp]))"
]
},
{
"id": "ExprHologramHeight",
"name": "Hologram height",
"description": [
"Returns the height(s) of the hologram(s). This is determined by how many lines it has. It's overall height."
],
"return type": "double",
"patterns": [
"[the] [all [of]] [the] holo[gra(m|phic display)][s] height[s] of %holograms%",
"%holograms%'[s] [all [of]] [the] holo[gra(m|phic display)][s] height[s]"
]
},
{
"id": "ExprHologramVisibility",
"name": "Hologram viewers",
"description": [
"A modifiable list of players that can view the hologram."
],
"return type": "Player",
"changers": [
"add",
"set",
"remove",
"remove all",
"delete",
"reset"
],
"patterns": [
"[the] [all [of]] [the] (viewer[s]|visibil(e|ity)


    Report any issues at https://github.com/TheLimeGlass/Graphisk/issues

    Enjoy!

    View Update

    © Copyright 2014-2024 skUnity

    All rights reserved.