Endiorite Open Source Minecraft Server API
Created by RemBog
GET http://play.endiorite.fr:8080/playersStats/getAll
Example Request:
http://play.endiorite.fr:8080/playersStats/getAll
Response:
[
{
"xuid": "2535435907623454",
"username": "RemBog88",
"kills": 6,
"deaths": 1,
"kill_streak": 4,
"best_kill_streak": 4,
"playing_time": 76962
},
{
"xuid": "9101919276667612",
"username": "RemBog89",
"kills": 2,
"deaths": 9,
"kill_streak": 0,
"best_kill_streak": 2,
"playing_time": 18209
}
]
GET http://play.endiorite.fr:8080/playersStats/get?xuid={xuid}
GET http://play.endiorite.fr:8080/playersStats/get?username={username}
Query Parameters:
xuid(string) — Player’s unique identifier (optional if username provided)username(string) — Player’s username (optional if xuid provided)
Example Requests:
http://play.endiorite.fr:8080/playersStats/get?xuid=2535435907623454http://play.endiorite.fr:8080/playersStats/get?username=RemBog88
Response:
{
"xuid": "2535435907623454",
"username": "RemBog88",
"kills": 6,
"deaths": 1,
"kill_streak": 4,
"best_kill_streak": 4,
"playing_time": 76962
}
GET http://play.endiorite.fr:8080/playersStats/top/{topType}?page={page}&limit={limit}
Path Parameter:
{topType}— The type of stat leaderboard. Possible values:killsdeathskillStreakbestKillStreakplayingTime
Query Parameters (optional):
page(integer, default: 1) — Pagination page numberlimit(integer, default: 10) — Number of results per page
Example Request:
http://play.endiorite.fr:8080/playersStats/top/kills?page=10&limit=5
Response:
[
{"username":"RemBog88","stat":160},
{"username":"RemBog88_1","stat":135},
{"username":"RemBog88Pro","stat":128},
{"username":"RemBog88X","stat":122},
{"username":"RemBog_88","stat":122}
]
GET http://play.endiorite.fr:8080/playersMoney/getAll
Example Request:
http://play.endiorite.fr:8080/playersMoney/getAll
Response:
[
{
"username": "RemBog77",
"money": 1029103.5
},
{
"username": "RemBog88",
"money": 1921
},
{
"username": "RemBog99",
"money": 200810.12
}
]
GET http://play.endiorite.fr:8080/playersMoney/get/{username}
Path Parameter:
{username}— Player's username
Example Request:
http://play.endiorite.fr:8080/playersMoney/get/RemBog88
Response:
{"money":8245.9}
GET http://play.endiorite.fr:8080/playersMoney/top?page={page}&limit={limit}
Query Parameters (optional):
page(integer, default: 1) — Pagination page numberlimit(integer, default: 10) — Number of results per page
Example Request:
http://play.endiorite.fr:8080/playersMoney/top?page=4&limit=20
Response:
[
{"username":"RemBog88","money":96010200.19},
{"username":"RemBog88_1","money":135201.71},
{"username":"RemBog88Pro","money":42820.1},
{"username":"RemBog88X","money":8221.06},
{"username":"RemBog_88","money":39.2}
]
The system is not optimal, but in the future it will be possible to obtain information about cosmetics such as the display name, image, body part it is applied to, rarity, and whether it is a cape or costume.
GET http://play.endiorite.fr:8080/playersCosmetics/getList/{username}
Path Parameter:
{username}— Player's username
Example Request:
http://play.endiorite.fr:8080/playersCosmetics/getList/RemBog88
Response:
{
"Chapeaux": {
"arch_crown": true,
"barrel": false,
"black_beard": true,
...
},
"Dos": {
"angel_wings": fase,
"arrow_quiver": false,
"backpack_character": true,
...
},
"Main Gauche": {
"glass_magnifying": true,
"gun_peacemaker": true,
"ice_septer": false,
...
}
}
GET http://play.endiorite.fr:8080/playersCosmetics/getEquippedList/{username}
Path Parameter:
{username}— Player's username
Example Request:
http://play.endiorite.fr:8080/playersCosmetics/getEquippedList/RemBog88
Response:
{
"cape": null,
"costume": {
"back": {
"category": "Dos",
"cosmetic": "angel_wings"
},
"head": {
"category": "Chapeaux",
"cosmetic": "nether_beetle_hat"
},
"other": null
}
}
You must obtain authorisation from RemBog or Yass to access the following endpoints.
GET http://play.endiorite.fr:8080/userLink/check/{userId}
Path Parameter:
{userId}— The Discord user ID
Example Request:
fetch('http://play.endiorite.fr:8080/userLink/check/629679896670765073', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer SECRET'
}
})
Response:
{isLinked: true, username: RemBog88}
POST http://play.endiorite.fr:8080/userLink/link
Request Body:
{
userId: {userId}
username: {username}
code: {code}
}
Body Parameters:
{userId}— The Discord user ID{username}— The user's in-game username{code}— The randomly generated 6-digit code
Example Request:
fetch('http://play.endiorite.fr:8080/userLink/link', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer SECRET'
},
body: JSON.stringify({
userId: "629679896670765073",
username: "RemBog88",
code: 123456
})
})
Response:
"success": true, "message": "Link created successfully."
POST http://play.endiorite.fr:8080/userLink/unlink/{userId}
Path Parameter:
{userId}— The Discord user ID
Example Request:
fetch('http://play.endiorite.fr:8080/userLink/unlink/629679896670765073', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer SECRET'
}
})
Response:
{"success": true, "message": "Link deleted successfully."}
- Additional endpoints will be added soon. Stay tuned!
API developed free of charge, if you wish to contribute you can send via PayPal to the link below.