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.

Addon Ersatz 1.0

Make your own PlaceholderAPI placeholders with Skript

  1. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    Pikachu submitted a new resource:

    Ersatz - Make your own PlaceholderAPI placeholders with Skript

    Read more about this resource...
     
  2. ELROX

    ELROX Active Member

    Joined:
    Jan 26, 2017
    Messages:
    30
    Likes Received:
    1
    Placeholders created with this addon can be used in other plugins that have placeholderapi implemented? or only can be used in scripts?
     
  3. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    They can be used in any PlaceholderAPI compatible plugin
     
    • Like Like x 1
  4. ayoungcoder

    ayoungcoder Member

    Joined:
    Aug 23, 2017
    Messages:
    17
    Likes Received:
    0
    is %player% in the placeholder request the viewer or the relational person its parsed for? if its the viewer, can you add support for this but also for the relational person if it is called with a relational person? (like player views message from tablist and wants to see the color of that persons name, not the player's color)

    edit for reference: it is already relational
     
    #4 ayoungcoder, May 1, 2018
    Last edited: May 1, 2018
  5. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    The player is whatever PlaceholderAPI provides me as the player. Usually, this is the person viewing the placeholder, however, I do not have control over what this value is.
     
  6. Ignte

    Ignte Member

    Joined:
    Jun 18, 2019
    Messages:
    1
    Likes Received:
    0
    > [13:45:34 INFO]: [Ersatz] Enabling Ersatz v1.0
    > [13:45:34 ERROR]: Error occurred while enabling Ersatz v1.0 (Is it up to date?)
    ch.njol.skript.SkriptAPIException: Registering is disabled after initialisation!
    at ch.njol.skript.Skript.checkAcceptRegistrations(Skript.java:908) ~[?:?]
    at ch.njol.skript.Skript.registerAddon(Skript.java:930) ~[?:?]
    at com.pikachu.papiaddon.Main.getAddonInstance(Main.java:41) ~[?:?]
    at com.pikachu.papiaddon.Main.onEnable(Main.java:26) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[server.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [server.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [server.jar:git-PaperSpigot-"4c7641d"]
    at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [PlugMan.jar:?]
    at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114) [PlugMan.jar:?]
    at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [PlugMan.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) [server.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) [server.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-PaperSpigot-"4c7641d"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [server.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [server.jar:git-PaperSpigot-"4c7641d"]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
    > [13:45:34 INFO]: [Ersatz] Disabling Ersatz v1.0


    not working
     
  7. Mattyb0i

    Mattyb0i Member

    Joined:
    Oct 19, 2017
    Messages:
    5
    Likes Received:
    0
    Hey. I try to add placeholders to a embed with Vixio, but my placeholders need a player. I also try using loop all players, but that doesn't seems to work. Can i do it on another way without looping all players or set the variables, when a player joins or something like that? It may not be Vixio, because when i try to use placeholders in a event like every x minutes, the placeholders need a player.
     
Loading...