Rest PlaceholderAPI 1.0.3

A Rest API to Interface with PlaceholderAPI

  1. Fredthedoggy
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/fredthedoggy/RestPlaceholderAPI
    Contributors:
    Heretere, Dkim19375
    What Is RestPlaceholderAPI?
    RestPlaceholderAPI (RestPAPI) is a small lightweight plugin, that allows you to easily parse placeholders from an external application, like a Discord bot, or Forums.

    Warning: RestPAPI Does nothing by itself, it just allows for external applications to parse placeholders via a simple Rest (http) API

    How Does it Work?

    RestPAPI parses a specific placeholder, as a specific player when you make a Get request to your server, in the format:
    http://backend.ip: port/<player-uuid>/<placeholder-without-%>, so an example would be http://example.com:8080/da8a8993-adfa-4d29-99b1-9d0f62fbb78d/player_name (returns json containing "Fredthedoggy")

    Security:
    RestPAPI has a List of "Tokens" in the config (It starts with 2 randomly generated Java UUIDs, but can be changed). You must send the header "Token" with the value of one of the tokens in the config, or you will get a 401 (unauthorized) message.

    Plugin Support:
    While it supports placeholderAPI, allowing it to support most PlaceholderAPI supported plugins, some placeholders will return an empty string, due to the fact that they cannot parse as an offline player, but will work when the player is online

    Example Responses:

    Code (Text):
    {"status":"401","message":"Unauthorized"}
    Without Authorization Header

    Code (Text):
    {"status":"404","message":"Invalid URI"}
    With The Wrong URL Scheme

    Code (Text):
    {"status": "200", "message":"Fredthedoggy"}
    Valid Placeholder (%player_name%)

    [​IMG]

    Contact Me:
    My Discord is Fredthedoggy#9887

    Please Use The Discussion System to Ask Questions / Report issues, not the review section. Thank you!
    ajgeiss0702 likes this.

Recent Updates

  1. Jar Size Reduction
  2. Version Correction
  3. Multi Version Support

Recent Reviews

  1. SuperSoda
    SuperSoda
    5/5,
    Version: 1.0.3
    pogpog first :D nice plugin works as expected it's noice ......... ... . . . . .
    1. Fredthedoggy
      Author's Response
      How on earth did you notice it updated this fast... but TY?
  2. SuperSoda
    SuperSoda
    5/5,
    Version: 1.0.2
    you can leave reviews everytime an update comes out lol, so nice plugin yeeeeeee
  3. AustinFRG
    AustinFRG
    5/5,
    Version: 1.0.2
    dad, I am very proud of you. I'm so glad that you're my daughter, I can't believe I raised such a great son
    1. Fredthedoggy
      Author's Response
      Since when can you leave multiple reviews?
      And Thank You?
  4. AustinFRG
    AustinFRG
    5/5,
    Version: 1.0.1
    very epic plugin indeed, yes. u r my dad, thanks mom. i really appreciate it, thanks again
    1. Fredthedoggy
      Author's Response
      Thank You?
  5. Conclure
    Conclure
    5/5,
    Version: 1.0.1
    Nice work, I definitively look forward to see how this will evolve. But maybe add some graphql support as well, I know it's not much data but still could be a potential feature nevertheless.
    1. Fredthedoggy
      Author's Response
      Thank you for the Review! I will look into this.
  6. SuperSoda
    SuperSoda
    5/5,
    Version: 1.0
    I'm surprised nobody has attempted this before. This plugin is a MUST NEED for large servers that want an api
    1. Fredthedoggy
      Author's Response
      Thank you for the Review!