#PlaceholderAPI and Skript-Placeholders Issue

1 messages · Page 1 of 1 (latest)

fair vessel
#

Here's my code. . . My result for the {_online} and {_bal} is <none> I have the values and I have placeholderAPI all setup and the addons registered.

on join:
    set {_online} to placeholder "%%essentials_safe_online%%"
    set {_bal} to placeholder "%%vault_eco_balance_formatted%%"
    while player is online:
        set title of player's scoreboard to "&2&lSurvival &a&lUniverse"
        set line 7 of player's scoreboard to "&2Balance &a| &f%{_bal}%"
        set line 6 of player's scoreboard to "&2Team &a| &f%{team.%player%}%"
        set line 5 of player's scoreboard to " "
        set line 4 of player's scoreboard to "&2Playtime &a| &f%{playtime.hr.%player%}%&fhr"
        set line 3 of player's scoreboard to "&2Online &a| &f%{_online}%&7/&f250"
        set line 2 of player's scoreboard to " "
        set line 1 of player's scoreboard to "&7mc.interzone.pro"
        wait 1 tick
untold musk
#

@fair vessel What addon are you using for placeholders? ersatz or skript-placeholders?

fair vessel
#

2

untold musk
#

I believe you dont need the %
Try

placeholder "essentials_safe_online"
fair vessel
#

I also tried that.

#

same result

#

I have read on the docs that i can have the %% but isnt required

untold musk
#

You have placeholderAPI downloaded as well as the essentials extension?

fair vessel
#

yep

untold musk
#

Just for shits and giggles can you do

set {_online} to placeholder "essentials_safe_online" from player

Im so use to doing from player that when I saw it, it was the first thing that popped in my head

#

if that doesnt work, can you send your sk info

fair vessel
#

kk ill try ti

#

it worked

#

thanks!!!