#Registering a placeholder HELP!

1 messages · Page 1 of 1 (latest)

tame stone
#

Whats wrong here Addon: skript-placeholders and placeholdersAPI plugin

    if {iron.ore.left.4} <= 0:
        set {result.4} to "&cThe ore has depleted wait 30 seconds"
    else:
        set {result.4} to "&7 %{iron.ore.left.4}%/%{iron.ore.max.left.4}%"
        set the result to "%{result.4}%"```
i put %Depleted4% on a hologram with the holographic display plugin and it doesn't show anything?
#

they are all registered on the placeholderAPI

simple badger
#

and without the cap D?
%depleted4%

tame stone
#

still don't work

fair umbra
#

all placeholders have an identifier afaik

#

and yours doesnt

tame stone
#
    if the identifier is "1":
        if {iron.ore.left.1} <= 0:
            set {_result.1} to "&cThe ore has depleted wait 30 seconds"
        else:
            set {_result.1} to "&7 %{iron.ore.left.1}%/%{iron.ore.max.left.1}%"
        set the result to "%{_result.1}%"```
This still doesn't work
fair umbra
#

how did you test it

#

it should be depleted_1

tame stone
fair umbra
#

weird, it doesnt work for me too

#

i used sk placeholders like a week ago and it was working fine

#

something is wrong with your code but i dont see it

tame stone