Solved Need help with PlaceholderAPI and Skript

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

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

verycoolguy123

Active Member
Jul 31, 2017
70
2
0
I've been trying to use PlaceholderAPI with skript for the past few hours but to no avail. I know that umbaska and skellet both are able to achieve this function, but I haven't found working version of them that support 1.7.10 while still maintaining this feature. If it would be possible, I'd like to know which version of both of these plugins are able to do this OR if there is another, possibly simpler plugin which is also able to achieve this. Thank you in advance!
 
Last edited:
Do the latest versions of PlaceholderAPI works on 1.7? If so any of those should be working. You can try using Skript-Mirror too.
 
Do the latest versions of PlaceholderAPI works on 1.7? If so any of those should be working. You can try using Skript-Mirror too.
Yes, they do. However, the latest version of Umbaska and Skellet do not.
 
Yes, they do. However, the latest version of Umbaska and Skellet do not.
Well, I can't say anything about Umbaska as it isn't supported but @LimeGlass do support his addon and as far I know he stills supports 1.7 so it might be better to wait for a response from him.

But if you don't want wait, you can try using Skript-Mirror as said, it should be like this:

code_language.skript:
on script load:
 
  import "me.clip.placeholderapi.PlaceholderAPI"

#then, somewhere
set {_args::*} to player and "your string with placeholders %%player_name%%" and player #you can use "null object" instead of player if you are using a placeholder that doesn't need one.
set {_parsed-text}
 to {PlaceholderAPI}.setPlaceholders({_args::*})
 
Well, I can't say anything about Umbaska as it isn't supported but @LimeGlass do support his addon and as far I know he stills supports 1.7 so it might be better to wait for a response from him.

But if you don't want wait, you can try using Skript-Mirror as said, it should be like this:

code_language.skript:
on script load:
 
  import "me.clip.placeholderapi.PlaceholderAPI"

#then, somewhere
set {_args::*} to player and "your string with placeholders %%player_name%%" and player #you can use "null object" instead of player if you are using a placeholder that doesn't need one.
set {_parsed-text}
 to {PlaceholderAPI}.setPlaceholders({_args::*})
Skellet does support 1.7.10, but it does not load most of my skripts when it is added for a very odd reason. I am trying to grab the {prefix} placeholder for skript. I will try it out, thanks.
 
Skellet does support 1.7.10, but it does not load most of my skripts when it is added for a very odd reason. I am trying to grab the {prefix} placeholder for skript. I will try it out, thanks.
Skript itself has a "player's prefix" and "player's suffix" expression (you need Vault and a permission manager plugin to make it work tho).
 
Skript itself has a "player's prefix" and "player's suffix" expression (you need Vault and a permission manager plugin to make it work tho).
Thank you very much! I did not think skript had those expressions! I am very grateful to you. Will mark thread as solved. Thanks again.
 
Status
Not open for further replies.