Skript Holograms icon

Skript Holograms -----

Create holograms in Skript without addons (besides skript reflect)



[​IMG]

Skript Holograms

-----------------------------------------------------------------------------------------------------

Skript Version: Skript-2.8.5

Used Addons:
Skript Reflect: skript-reflect v2.4

-----------------------------------------------------------------------------------------------------
Skript Holograms offers the ability to create simple holograms as well as temporary holograms easily.

If you are new to Skript or dont know how to use this ressource, i will give you a quick explanation. For this ressource to work, you need to download the addon called Skript-Reflect from the download link above. It is reccomendet to use the newest version of both Skript and Skript-Reflect. After you dragged Skript and Skript-Reflect to the Server/plugins/ folder, you need to start and stop the server. After that you will find the Server/plugins/Skript/scripts/ path. There you will need to place the hologramsAPI.sk file. After that you can use the syntax below to create custom holograms from any skript of your choice.

Happy Skripting :)

Example Usage:

Code (Text):

command /holoall:
    trigger:
        send (all registered holograms)
     
command /holosetline <text> <int> <text>:
    trigger:
        if hologram with id arg-1 exists:
            set (line arg-2 of hologram with id arg-1) to arg-3
        else:
            send "Hologram existiert nicht"
         
command /hologetline <text> <int>:
    trigger:
        if hologram with id arg-1 exists:
            set {_line} to (line arg-2 of hologram with id arg-1)
            if {_line} is set:
                send {_line}
            else:
                send "Spalte existiert nicht"
        else:
            send "Hologram existiert nicht"      

command /holo <text> <text>:
    trigger:
        if hologram with id arg-1 doesn't exist:
            create hologram arg-2 with id arg-1 at location of player
        else:
            send "Hologram existiert bereits"
         
command /holoappend <text> <text>:
    trigger:
        if hologram with id arg-1 exists:
            append arg-2 to hologram with id arg-1
        else:
            send "Hologram existiert nicht"

command /holodelete <text>:
    trigger:
        if hologram with id arg-1 exists:
            delete hologram with id arg-1
        else:
            send "Hologram existiert nicht"
         
command /tempholo <text>:
    trigger:
        create temp-holo arg-1 at location of player for 3 seconds
 
Resource Information
Author:
----------
Total Downloads: 326
First Release: Jun 8, 2024
Last Update: Jun 8, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings