Skip to content

Commands & admin API ​

Player commands ​

The proxy handles these itself; the servers never see them.

CommandPermissionWhat it does
/server [name] [dimension|seamless|cinematic]pmproxy.command.serverWithout a name: list servers. With one: go there.
/hub (/lobby)pmproxy.command.hubGo to the lobby (fallback groups).
/glistpmproxy.command.glistPlayers on each server.
/find <player>pmproxy.command.findWhich server a player is on.
/send <player|*> <server|group> [style]pmproxy.command.sendMove a player, or everyone.
/alert <message>pmproxy.command.alertMessage to the whole network.
/gkick <player> [message]pmproxy.command.kickKick from the network.

Who has each permission: permissions.default, permissions.admin and player-groups in config.yml, or the permissions plugin (/perm, alias /lp).

VanillaMine backends also register /server, /hub, /glist, /find, /send and /alert with pocketmine.command.* permissions, for use from a server's console.

Proxy console ​

help, list / glist, find, send, kick, alert, servers, addserver, removeserver, drain, block, unblock, reload, stop.

Admin HTTP API ​

Enable with admin.bind (e.g. 127.0.0.1:8081) and set admin.token. Keep it private.

RequestBodyDoes
GET /api/playersOnline players and their servers.
GET /api/serversServers, state and player counts.
POST /api/serversAdd a server at runtime.
POST /api/send{"player","from","target","style"}Move a player.
POST /api/kick{"player","from","message"}Kick a player.
POST /api/alert{"message","from"}Network-wide message.
POST /api/block{"ip","seconds","unblock"}Block or unblock an address.
POST /api/drain{"server","drain","move"}Stop sending players to a server, optionally move its players away.
POST /api/reloadReload config.yml.
GET /metricsPrometheus metrics.
bash
curl -H "Authorization: Bearer $TOKEN" -d '{"player":"Steve","target":"survival"}' http://127.0.0.1:8081/api/send

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.