1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript Tools PAPI - Skript expansion 1.0.0

an expansion that let's you use variables with PlaceholderAPI!

  1. Snow-Pyon
    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 (Skript):
    1. %skript_<variable name>%
    You can use {uuid} and {player} in the variable name, examples:

    Code (Skript):
    1. %skript_test% #should be the variable {test}
    2. %skript_test::{uuid}% #should be the variable {test::%player's uuid%}
    3. %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 (Skript):
    1. [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 (Skript):
    1. placeholder parse %string% as %player%
    Sorry if I wasn't that descriptive, I might edit this later.
    Cengiz Elginoz and Ayham Alali like this.

Recent Reviews

  1. LeJaden
    LeJaden
    1/5,
    Version: 1.0.0
    Is a bit stupid I can't use the plgin because it probably can't find any plugin.yml please for a fix.
  2. Tinkot
    Tinkot
    5/5,
    Version: 1.0.0
    Working good in combination with animatedscoreboard and probably any other papi compatible plugin. Good Work!
  3. BrettPlayMC
    BrettPlayMC
    5/5,
    Version: 1.0.0
    Truly amazing and genius! Thanks so much for this! My server can do SO much more now!
  4. helomi
    helomi
    5/5,
    Version: 1.0.0
    I love you bro! I wait for this expansion realy long time!
    Actualy everythings works fine!
  5. Cengiz Elginoz
    Cengiz Elginoz
    4/5,
    Version: 1.0.0
    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}
    1. Snow-Pyon
      Author's Response
      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.