PingAPI 1.3.3

Listen for and modify outgoing ping responses

  1. Skionz
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Contributors:
    Skionz
    [​IMG]
    PingAPI gives developers more control over how they reply to ping requests. Simply put it provides an improvement to Bukkit's ServerListPingEvent. The Javadocs can be found here.

    It has been a few years since I have worked on this project, but I decided to update it for newer versions of CraftBukkit and keep backwards compatibility. I will try to keep it maintained and up to date from now on. The most important change to note is that creating animations is no longer possible for servers running newer versions of CraftBukkit.

    What can it do?
    • Modify the online player count and the max players
    • Change the player sample (list of players shown when hovering over the player count)
    • Fake the protocol name and version to display text instead of the player count
    • Create server list animations (1.8.3 or earlier)
    Usage
    Make sure to add 'depend: [PingAPI]' to your plugin.yml file
    Check out the source on GitHub

    Images

    1. image.png
    joehot200, Danijel72, Chaka and 5 others like this.

Recent Reviews

  1. Alihan
    Alihan
    5/5,
    Version: 1.3.3
    This plugin is awesome man!
    Please make updatges for higher versions!
    I like your job.
  2. omgmagic
    omgmagic
    5/5,
    Version: 1.3.3
    1.15 compatible please, nice work btw.
    Hope you will update it soon
    for 1.15+

    Thanks
  3. CapuzDE
    CapuzDE
    4/5,
    Version: 1.3.3
    Very good, but don't work for Paperspigot.
    Its really helpfull, for me an my friends as Developer.
    But please Paperspigot support
  4. Stefanus
    Stefanus
    5/5,
    Version: 1.3.3
    Works great on my 1.13.2 server! No errors and spam console. Thanks, keep it up!឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵
  5. Viki_Master2
    Viki_Master2
    5/5,
    Version: 1.3.3
    Great API! Well documented and functional.

    I only have one slight problem with #setPlayerSample:
    When I have the online players set to say 50 and then set a List<String> as the player sample it adds a line at the end saying "... and 46 more ...".
    The List<String> was of length 4, so I assume it thought the list had displayed 4 player names instead of custom message lines? Any help would be appreciated, thanks!
    1. Skionz
      Author's Response
      Unfortunately I don't think there is a way around that. I believe it is built into the client to display that extra message.
  6. noemi1998_
    noemi1998_
    1/5,
    Version: 1.3.3
    I put it in my server plugins folder but it doesn't created a API folder in plugins folder, server said the plugin is loaded
    1. Skionz
      Author's Response
      Why would it create an API folder? This is a tool for developers not server owners
  7. Scholler
    Scholler
    2/5,
    Version: 1.3.3
    Will change my review if you do a tutorial on how to use the API with Maven.
    ----
  8. Malacaritaa
    Malacaritaa
    4/5,
    Version: 0.1.7
    Works, but the animation system only work on 1.7 ;-; old good times
    Pls remove the gif :( its very sad

    100 characters
  9. FECoder
    FECoder
    5/5,
    Version: 0.1.5
    A good plugin thanks.
  10. Sunique
    Sunique
    4/5,
    Version: 0.1.5
    Please add a example of a animation in the description of the plugin :(