POST user/create
Create a new user when joined for the first time.
Note
This is a privileged endpoint. Only authorised queries will be processed.
Parameters
uuid
string
The UUID for the Minecraft user.
username
string
The username for the user.
Examples
- Typical
- User already exists
- Invalid
{
"uuid": "0af03841-2894-434c-a4be-965b317244e8", // shadowolfyt
"username": "shadowolfyt"
}
Response
{
"success": true,
"message": "shadowolfyt (0af03841-2894-434c-a4be-965b317244e8) has been successfully created."
}
A new user has been registered. This is called when a player joins a server for the first time. This is different to account registration.
When the uuid is already linked to a username.
{
"uuid": "0af03841-2894-434c-a4be-965b317244e8", // shadowolfyt
"username": "shadowolfyt"
}
Response
{
"success": false,
"message": "This user already exists (somehow), terminating creation."
}
TODO
TODO