Home›Java›Mods›ajLb REST
ajLb REST
ModsJava

ajLb REST

Java mod listed for Minecraft 1.8–1.18. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
ajLb-REST
ajLb-REST is an addon for ajLeaderboards that allows you to fetch leaderboards via a REST api


[​IMG]
Currently there is only one endpoint.

/<board>/<type>/<position>

Example response:
GET /statistic_time_played/hourly/1​
Code (Text):
{
  "playerName": "ajgeiss0702",
  "playerDisplayName": "&cpre&r ajgeiss0702",
  "playerPrefix": "&cpre&r ",
  "playerSuffix": "",
  "playerUUID": "4b8881a9-ea3c-31f6-ad69-7707f5f749ef",
  "position": 1,
  "board": "statistic_time_played",
  "type": "hourly",
  "score": 48,
  "scorePretty": "48",
  "scoreFormatted": "48",
  "scoreTime": "48s"
}

[​IMG]
By default, the plugin will start a http server on port 8296, but you can change that in the config

You can also only allow certain boards to be fetched via the api, by adding them to only-allow in the config



[​IMG]
Use code AJG0702 to get 50% off! (new clients only)



[​IMG]
If you have any questions, suggestions, or issues with the plugin, please contact me on any of the below methods:
Discord
Spigot PM
Spigot discussion section

(Discord is preferred and the quickest way to get a response)
​


DO NOT REQUEST SUPPORT THROUGH REVIEWS!

It is much easier (and usually faster) to contact me for support in one of the above areas. Discord is the fastest way to get support because I get instant mobile notifications.​



Some icons made by authors from www.flaticon.com​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ajLb REST is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 285 times (via Spigot). Download it and open it directly in the game.

Explore more