Resource icon

Skript Tools PAPI - Skript expansion 1.0.0

  • 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!

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:
code_language.skript:
%skript_<variable name>%
You can use {uuid} and {player} in the variable name, examples:

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%}
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:
code_language.skript:
[parse[d]] place[ ]holder [(from|with)] %string% [[(from|for)] %-player%]
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:
code_language.skript:
placeholder parse %string% as %player%

Sorry if I wasn't that descriptive, I might edit this later.
Author
Snow-Pyon
Downloads
1,470
Views
1,470
First release
Last update
Rating
4.00 star(s) 5 ratings

More resources from Snow-Pyon

Latest reviews

Is a bit stupid I can't use the plgin because it probably can't find any plugin.yml please for a fix.
Working good in combination with animatedscoreboard and probably any other papi compatible plugin. Good Work!
Truly amazing and genius! Thanks so much for this! My server can do SO much more now!
I love you bro! I wait for this expansion realy long time!
Actualy everythings works fine!
Thank you! This is what I want so much to use skript variables in other plugins that supports PAPI.

Edit: the variables doesnt work. Example: {%player%.examplevariable}
Snow-Pyon
Snow-Pyon
I just tested it myself with the exact same variable naming and it worked fine, you can tell me more about your issue in a PM or in the Skript-chat (a Discord server):
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.