Skip to main content
POST
https://api.duckybot.xyz
/
create
/
region
Create map region
curl --request POST \
  --url https://api.duckybot.xyz/create/region \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "name": "<string>",
  "points": [
    {
      "index": 123,
      "x": 123,
      "z": 123
    }
  ]
}
'
{
  "code": 200,
  "message": "Region 'Spawn' was successfully created."
}
{
  "code": 200,
  "message": "Region 'Spawn' was successfully created."
}

Body Fields

code
string
required
The configuration session code used to create this region. This cannot be externally generated, and is provided by Ducky through URL parameters.
name
string
required
The name of the region.
points
object[]
required
The points of the region.