APickledWalrus / skript-placeholders

Placeholder integration for Skript.
MIT License
32 stars 9 forks source link

Show a variable on SB per player #62

Closed 1kdani closed 3 months ago

1kdani commented 3 months ago

skript-placeholders version: latest

So my question is: I converted a skript variable into a placeholder, like this:

on papi request with prefix "server": if the identifier is "vedelem": set the result to "%{vedelem::%player%}%"

and it works perfectly, when I write it to myself with "/papi parse me %server_vedelem%", but I want it to be visible on scoreboard. But when I add "%server_vedelem%" to scoreboard, it just displays "", I think because it doesn't know which player's variable to display. How can I fix it to display the player's number to every player on scoreboard?

Sorry if my eng is not correct. :(

Description

1kdani commented 3 months ago

Never mind, I fixed it by replaceing server with player