Minecraft server administrators may want to allow other players to join the server without linking accounts. This is where the alt account management endpoints come in. Here are the features
If you want in-depth documentation visit here
For claiming alt accounts, a "claimer" must be provided and the alt UUID being claimed.
Curl Example
# POST /alts/{claimer}/{alt account name being claimed}
curl -X POST http://localhost:5353/alts/dhmci/Notch \
-H 'Authorization: 124324ce5e874587b08df602e8c5c797'
Example Response HTTP 200 OK
<empty>
This is for listing all the claimed alt accounts.
Curl Example
# GET /alts
curl -X GET http://localhost:5353/alts \
-H 'Authorization: 124324ce5e874587b08df602e8c5c797'
Example Response
{
"alt_accs": [
{
"alt_owner": "5bce3068e4f3489fb66b5723b2a7cdb1",
"alt_id": "069a79f444e94726a5befca90e38aaf5",
"alt_name": "Notch"
}
]
}
Notes
- alt_owner is dhmci's Minecraft player UUID without hyphens.
- alt_id is Notch's Minecraft player UUID without hyphens.
You might want to see what a player's alt accounts are, this endpoint is for filtering that list for you.
Curl Example
# GET /alts/{owner}
curl -X GET http://localhost:5353/alts/dhmci \
-H 'Authorization: 124324ce5e874587b08df602e8c5c797'
Example Response
{
"alt_accs":[
{
"alt_owner": "5bce3068e4f3489fb66b5723b2a7cdb1",
"alt_id": "069a79f444e94726a5befca90e38aaf5",
"alt_name": "Notch"
}
],
"owner":"dhmci"
}
Notes
- alt_owner is dhmci's Minecraft player UUID without hyphens.
- alt_id is Notch's Minecraft player UUID without hyphens.
Remove a given alt account, will respond 200 even if they don't exist in the database.
Curl Example
# DELETE /alts/{alt name}
curl -X DELETE http://localhost:5353/alts/Notch \
-H 'Authorization: 124324ce5e874587b08df602e8c5c797'
Example Response HTTP 200 OK
<empty>