Spigot PlaceholderAPI 2.11.1

A resource that allows information from your favorite plugins be shown practically anywhere!

  1. clip

    Benefactor

    They should. I'll push the heroes expansion to GitHub tonight and you can check it out and possibly contribute if you want to improve it or enhance it since you are the heroes author.

    Edit. Realized I am using the free version to access the API. Has anything changed since it went premium? If so it may not work anymore.
     
  2. We have the API exposed so you can download - theres been MANY changes between the free to premium... its called "primary" and "secondary" for classes now. Note, I was testing the placeholderAPI through BossShopPro --- it wasnt matching my class when I used the
    Code (Text):
    '%heroes_main_class_name%:match:paladin'
    The API link below should function - if not I can grant you access to the resource, NP.
    API | Java Docs Here
     
  3. clip

    Benefactor

    Okay I will get a new version started tonight and push it to a repo so hopefully others can contribute and we can get all the placeholders implemented that Heroes can offer.
     
  4. that would be awesome thanks!
     
  5. Hey, i have a problem, when i stop my server the server crashes with this message in console:
    "unregistered placeholder expansion mcmmo"

    Im running a 1.8.8 server with the recommend build for 1.8 from mcmmo
     
  6. clip

    Benefactor

  7. Read the plugin page.
     
  8. thanks! got it downloaded... time to test out %heroes_class%
    That works! Yes!
     
  9. probedwars support?
    thx :D
     
  10. clip

    Benefactor

    There are a lot more to add. I will have some time tonight so I'll try to get some more done. Any chance you could throw together a list of useful placeholders that you think would be essential to have when it comes to Heroes @Kainzo
     
  11. Thanks @clip - the attributes come to mind right away... Ill need to think about that...

    Numbers/Matches for the below...
    • Strength
    • Constitution
    • Dexterity
    • Endurance
    • Intellect
    • Wisdom
    • Charisma
    Bonus exp total...
    Shielding (its a stat similar to health)
     
  12. clip

    Benefactor

    clip updated PlaceholderAPI with a new update entry:

    2.8.6 Expansion cloud API v2 update

    Read the rest of this update entry...
     
  13. One error
    [02:34:43] [Server thread/INFO]: larsan issued server command: /papijsp reload
    [02:34:43] [Server thread/ERROR]: Could not pass event PlayerCommandPreprocessEvent to PlaceholderAPI v2.8.6
    org.bukkit.event.EventException
    at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:79) ~[?:?]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1336) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1179) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_151]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_151]
    at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-7d78b81-7e19325]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
    Caused by: java.lang.NoSuchMethodError: me.clip.placeholderapi.util.Msg.msg(Lorg/bukkit/command/CommandSender;Ljava/lang/String;)V
    at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onCmdExecute(JavascriptExpansion.java:91) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
    at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:69) ~[?:?]
    ... 16 more
     
  14. Why does not the script support% skript_coin.%player% but it does not work correct it
     
  15. Okay, after looking over more areas I'd like to see Placeholders for Heroes... this is what I can come up with.

    currnet class skill stats for prep/slots on skills
    • skill-prepare-limit: 7
    • base-max-skill-prepare-points: 30
    • max-skill-prepare-points-per-level: 2

    per skill being able to see the skill prepare cost or if the skill is learned or prepared
    • prepare-cost: 20
    • prepared-use: true
    • learned-use: false
     
  16. error
    Code (Text):

    [16:34:27 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.8.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at me.incomprehendable.dev.pwp.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:98) ~[?:?]
            at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1043) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:880) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    Caused by: java.lang.IllegalStateException: ReflectionHelper is not set up!
            at me.clip.placeholderapi.util.jsonmessage.JSONMessage$ReflectionHelper.createTextPacket(JSONMessage.java:608) ~[?:?]
            at me.clip.placeholderapi.util.jsonmessage.JSONMessage.send(JSONMessage.java:158) ~[?:?]
            at me.clip.placeholderapi.commands.ExpansionCloudCommands.onCommand(ExpansionCloudCommands.java:351) ~[?:?]
            at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:97) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.7.10-SNAPSHOT-b1657.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
            ... 13 more
     
  17. Is there an option to add 2 Server to Online Player's? I have 2 Bedwars Server and i want to show in my Menu the Players of the 2 Servers :/
     
  18. Are referring to adding the playercount of bother together? If you aren't using Bungeecord, you could just use a Javascript placeholder (one you make yourself) that uses the Pinger placeholders on both the servers and returns the output.
     
    • Informative Informative x 1
  19. The Problem is i'm using bungeecord and i want to show the count of the 2 server in my lobby :D