The return type for the minecraft:ip_bans
method in the new server managment protocol is incorrect. According to the spec, this method returns a list of Player objects, but it returns a list of ip_ban
objects instead.
Method spec:
{
"description": "Get the ip ban list",
"name": "minecraft:ip_bans",
"params": [],
"result": {
"name": "banlist",
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/player"
}
}
}
},
Actual response data:
[ { ip: '1.1.1.1', source: 'NutellaGolem' } ]
Comments 0
No comments.