A Minecraft player tier ranking and leaderboard system. Manage players, assign tiers across gamemodes, and query leaderboards.
http://localhost:7070 — this page is served at /
JSON request & response bodies
Bearer token via Authorization header. Required on all write endpoints.
None currently enforced.
Tiers range from 5 (lowest) to 1 (highest). Each tier has positions. Tiers 1-2 may also be marked as retired.
| Tier | Positions | Retired Variant |
|---|---|---|
| 5 | LOW, MID, HIGH | No |
| 4 | LOW, MID, HIGH | No |
| 3 | LOW, HIGH | No |
| 2 | LOW, HIGH | Yes |
| 1 | LOW, HIGH | Yes |
Register a new player. The Minecraft UUID is validated against Mojang's API.
{
"minecraftUUID": "550e8400-e29b-41d4-a716-446655440000",
"region": "EU"
}
Get full player info including all gamemode profiles and leaderboard ranks.
{
"minecraftUUID": "550e8400-...",
"region": "EU",
"createdAt": "2026-01-15T12:00:00Z",
"gamemodeProfiles": [
{
"gamemode": { "id": 1, "name": "SG", "isActive": true },
"currentTier": { "id": 3, "tierNumber": 4, "tierPosition": "HIGH", "retired": false, "sortOrder": 4 },
"peakTier": { "id": 1, "tierNumber": 3, "tierPosition": "LOW", "retired": false, "sortOrder": 5 },
"leaderboardRank": 12
}
],
"globalLeaderboardRank": 5,
"result": "SUCCESS"
}
Update a player's Minecraft UUID or region.
{
"newMinecraftUUID": "660e8400-e29b-41d4-a716-446655440000",
"newRegion": "NA"
}
Get all gamemode profiles for a player.
{
"profiles": [
{
"gamemode": { "id": 1, "name": "SG", "isActive": true },
"currentTier": { "id": 3, "tierNumber": 4, "tierPosition": "HIGH", "retired": false, "sortOrder": 4 },
"peakTier": { ... },
"leaderboardRank": 12
}
],
"globalLeaderboardRank": 5,
"result": "SUCCESS"
}
Assign or update a player's tier in a specific gamemode. Automatically updates leaderboards.
{
"tierLevel": 3,
"position": "HIGH",
"retired": false
}
Get the leaderboard for a specific gamemode. Optional ?limit=N query param (default 50).
[
{
"rank": 1,
"minecraftUuid": "550e8400-...",
"sortOrder": 12
}
]
Get the global leaderboard (aggregated across all gamemodes). Optional ?limit=N query param (default 50).
[
{
"rank": 1,
"minecraftUuid": "550e8400-...",
"totalSortOrder": 38
}
]
Register a new gamemode.
{
"gamemodeName": "SG",
"isActive": true
}
curl -X POST http://localhost:7070/api/players \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"minecraftUUID": "550e8400-e29b-41d4-a716-446655440000", "region": "EU"}'
Unauthorized requests return 401.