Individual Holograms

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

zTak

Active Member
Mar 3, 2018
84
6
8
21
Hi,

is it possible to show coins of each player in a hologram? So it is the same hologram, but every player see his own coins. Does any1 know?
 
I don't think you can do it all in one hologram (with packets you probably can). I haven't done anything like this but what you can probably do is make holograms for specific players and hide them.

Addon (With ProtocolLib):
https://forums.skunity.com/resources/skript-holo.748/

Docs:
https://skripthub.net/docs/?addon=skript-holo

What you can do is create a hologram per player at the location you want with their data and hide it from other players.

code_language.skript:
create a hologram with lines "&bExample Money" and "&a%player's balance%" at %location% and store it in {player-holos::%uuid of player%::1}
hide the last created hologram from all players
reveal the last created hologram to player

I have never tested this and I do not know if you can do this in one hologram (you probably can with packets).

If all else fails, you can make your variables work with placeholderapi (Ersatz or skript-placeholders addons) and just use HolographicDisplays + HolographicExtension to make the holograms you need.
 
Last edited:
Status
Not open for further replies.