this expansion can be found on the cloud now so if you want it you might be better doing "/papi ecloud download Skript" to get the latest updates.
Hey there, I'm here to publish a recent expansion I have done for PlaceholderAPI which adds the following placeholder:
You can use {uuid} and {player} in the variable name, examples:
Returns "N\A" if the variable isn't set/found.
How to install this?
First of all, you should of course have PlaceholderAPI, then to install it you just have to go to your plugins folder, then the PlaceholderAPI folder and finally the expansions folder, paste this resource there. I asked clip if he can put this on the expansion cloud, still waiting for his answer, for now it'll stay here.
Attention
this doesn't add an expression to Skript which makes you able to use PlaceholderAPI's placeholders in Skript, it just adds a placeholder to use Skript variables as a placeholder outside Skript.
If you want to use placeholders in Skript you can use Skellett's placeholder parse expression:
Remember to enable the PlaceholderAPI's hook in the Config.yml into Skellett's folder!
Or if you're using Umbaska 2, you can use the following:
Sorry if I wasn't that descriptive, I might edit this later.
Hey there, I'm here to publish a recent expansion I have done for PlaceholderAPI which adds the following placeholder:
code_language.skript:
%skript_<variable name>%
code_language.skript:
%skript_test% #should be the variable {test}
%skript_test::{uuid}% #should be the variable {test::%player's uuid%}
%skript_test::{player}% #should be the variable {test::%player%}
How to install this?
First of all, you should of course have PlaceholderAPI, then to install it you just have to go to your plugins folder, then the PlaceholderAPI folder and finally the expansions folder, paste this resource there. I asked clip if he can put this on the expansion cloud, still waiting for his answer, for now it'll stay here.
Attention
this doesn't add an expression to Skript which makes you able to use PlaceholderAPI's placeholders in Skript, it just adds a placeholder to use Skript variables as a placeholder outside Skript.
If you want to use placeholders in Skript you can use Skellett's placeholder parse expression:
code_language.skript:
[parse[d]] place[ ]holder [(from|with)] %string% [[(from|for)] %-player%]
Or if you're using Umbaska 2, you can use the following:
code_language.skript:
placeholder parse %string% as %player%
Sorry if I wasn't that descriptive, I might edit this later.
https://discord.gg/vb9dGbu
Although, I have to say that you shouldn't use that variable naming, it's completely horrid and it'll become into problems in the future. The best variable name that I could think of is:
{exampleVariable::%player%}
Believe me, you should use it.