Requesting info and stats for daily objectives
Last updated 2 years ago
Was this helpful?
Returns the currently highlighted category and the next reset time.
GET /api/v1/objectives/daily/info HTTP/1.1 Host: mcplayhd.net Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "status": 1, "path": "text", "timeStamp": "text", "processingTime": 1, "data": { "highlightedCategory": "BEDWARS", "objectivesCompleted": 1, "nextResetTime": "2025-04-25T07:48:46.994Z" } }
Returns the current daily objective of a player and it's progress.
name or uuid of the player
language to display description in
GET /api/v1/objectives/daily/{player} HTTP/1.1 Host: mcplayhd.net Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
The player has an active objective.
{ "status": 1, "path": "text", "timeStamp": "text", "processingTime": 1, "data": { "playerInfo": { "uuid": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "group": "PLAYER" }, "data": { "objective": "BW_PLAY", "description": "text", "required": 1, "counter": 1, "rewardsCollected": true } } }
Returns the daily objective stats of a player.
GET /api/v1/objectives/daily/{player}/stats HTTP/1.1 Host: mcplayhd.net Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
The player has daily objective stats.
{ "status": 1, "path": "text", "timeStamp": "text", "processingTime": 1, "data": { "playerInfo": { "uuid": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "group": "PLAYER" }, "stats": { "total": 1, "streak": 1, "bestStreak": 1, "lastFinished": "2025-04-25T07:48:46.994Z" } } }
Returns all stats of players with an active streak ordered by the streak duration and completion time.
GET /api/v1/objectives/daily/streaks HTTP/1.1 Host: mcplayhd.net Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "status": 1, "path": "text", "timeStamp": "text", "processingTime": 1, "data": { "top": [ { "playerInfo": { "uuid": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "group": "PLAYER" }, "stats": { "total": 1, "streak": 1, "bestStreak": 1, "lastFinished": "2025-04-25T07:48:46.994Z" } } ] } }