Placeholders with 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 comminuty!

    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!

MaxiMenace

Member
Aug 5, 2024
1
0
1
23
Hello (sorry for my english by advance), i'm making a skript that works similary to advanced mob arena.
I have installed the latest version of skript-placeholders (1.6.0)
Here, i want to create a placeholder for "wave" :


Code:
on placeholderapi placeholder request for the prefix "ctp":
        if the identifier is "wave":
            set the result to "%{wave}%"

When i reload the script, i get the error "Can't understand this section : on placeholderapi placeholder request for the prefix "ctp".

Is my code bad or maybe it's because skript-placeholders don't work ? Here are some specifications :
Server version : Paper 1.20.6 148
Skript version : 2.9.0
 
Last edited:
Hello (sorry for my english by advance), i'm making a skript that works similary to advanced mob arena.
I have installed the latest version of skript-placeholders (1.6.0)
Here, i want to create a placeholder for "wave" :


Code:
on placeholderapi placeholder request for the prefix "ctp":
        if the identifier is "wave":
            set the result to "%{wave}%"

When i reload the script, i get the error "Can't understand this section : on placeholderapi placeholder request for the prefix "ctp".

Is my code bad or maybe it's because skript-placeholders don't work ? Here are some specifications :
Server version : Paper 1.20.6 148
Skript version : 2.9.0
You're looking for the expression:
Code:
on papi request for prefix "example":