JSONRestAPI 0.2.1

The easiest way to query your server for information!

  1. Chewsterchew
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/ChewMC/JSONRestAPI
    Welcome to JSONRestAPI

    This is the perfect plugin for developers wanting to get some information about their server.

    This plugin requires PlaceholderAPI to function.

    How it works

    The plugin exposes a mini webserver to listen to and parse requests. The requests it responds with are in the config.

    The basic rundown is as follows: you send the server a request, it parses it via PlaceholderAPI, then returns the response in JSON format.

    You can view more about making requests and handling responses on the wiki.

    Why?

    I've always wanted a simple way to get some information about the server, but could never find a plugin to do it. Now, I can request whatever I need via PlaceholderAPI and get whatever information I need!

    I hope you find this plugin useful. It's very simple and very smol.

    Sponsored?

    This plugin is currently not sponsored (and never will be, by a host at least).

    If you would like to support me, feel free to Sponsor me on GitHub Sponsors!

    However, it is endorsed by Rory!

    [​IMG]

Recent Updates

  1. <1.16 Support and MORE fixes
  2. Fix some oopsies!

Recent Reviews

  1. Armagidon
    Armagidon
    4/5,
    Version: 0.1.0
    Cool thing. But is it actually a good idea in using ServerSocket for it, instead of Netty with NIO? I think it's a good thing for single usage, but if there will be more users?
    1. Chewsterchew
      Author's Response
      I would see it being an issue if it took a long time building and sending the response. I sent about 8000 requests in 3 minutes to my server and found no lag from it. Responses take ~5-6ms, according to Postman (mostly downloading and the, etc.) If you would like to switch it over to Netty, I'm open to PRs, but I don't see it as a significant issue as of now. Thank you for the review, however!