Land
https://catpalm.net/api/land/${land.id}/
Get land information
GET
https://catpalm.net/api/land/${land.id}/info
Path Parameters
land.id*
int
Headers
0
表示所有人
{
"name": "XUAN's home",
"players": {
"0": "Y",
"2": "AIMPRY"
}
}
Set land information
PUT
https://catpalm.net/api/land/${land.id}/info
Speed limit 0.2 sec/time
The license must have the R-ownership of the land
Requires land_change_permission
permission
Path Parameters
land.id*
int
Headers
Request Body
name
str
players
map
{"0":"Y","2":"AIMPRY"}
0
for all
It takes up to 5 seconds before it takes effect in the game.
Do not change name too often.
Get land-specific player permission
GET
https://catpalm.net/api/land/${land.id}/permission/${player.id}
Path Parameters
player.id*
int
0
for all
land.id*
int
Headers
ABDEFGHILMPRSTUVY
Set land-specific player permission
PUT
https://catpalm.net/api/land/${land.id}/permission/${player.id}/${permissions}
The license must have the R-ownership of the land
Requires land_change_permission
permission
Path Parameters
permissions*
str
ABDEFGHILMPRSTUVY
land.id*
int
player.id*
int
0
for all
Headers
It takes up to 5 seconds before it takes effect in the game.
If you want to change a lot of player permissions in the same land, please use the set land information.
最后更新于