POST server/create
Create a server.
Note
This is a privileged endpoint. Only authorised queries will be processed.
Parameters
actioningUser
string
User initiating the action.
displayName
string
Display name for the server.
serverConnectionAddress
string
The connection details for the server.
position
integer
The display position the server should have.
Examples
- Typical
- Invalid
{
"name": "Java",
"fqdn": "www.minecraft-server.com/java",
"ipAddress": "123.45.678.9",
"port": 1337,
"visible": true,
"position": 1
}
Response
{
"success": true,
"message": "The server Java (www.minecraft-server.com/java) has been successfully created!"
}
A new minecraft server has been created. The ipAddress and port are there because the API will query the server every (TODO: x minutes) amount of minutes and will notify via Discord in a chat that it struggled to ping correctly and may notify for maintainence.
TODO