Icon
https://catpalm.net/api/icon/
Get list of icons
GET
https://catpalm.net/api/icon/
Requires icon_get
permission
Headers
Name
Type
Description
{
"icons": [
{
"world": 1,
"x": 0,
"z": -1,
"type": "black",
"name": "TEST!!!!",
"visible": true,
"time": 1673849800000
}
]
}
Players need to wait up to 5 seconds after in-game changes before updating.
Add icons
PUT
https://catpalm.net/api/icon/
Speed limit 0.5 sec/time
Requires icon_put
permission
Headers
Name
Type
Description
Content-Type*
str
application/json
Request Body
Name
Type
Description
world*
int
x*
int
Between +-30050
z*
int
Between +-30050
name*
str
Within 32 words
visible*
bool
Up to 45 icons, no error will be returned if more are added.
Only when the player is online will the icon officially start to take effect.
最后更新于