Show all bans
/banlistLists banned accounts and banned IP addresses together.

/banlist shows every ban on the server. Add players or ips to see only one kind. Operators use it to check a ban before lifting it, and like the other ban commands it only exists on dedicated servers.
/banlist/banlist ips/banlist players// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
/banlistLists banned accounts and banned IP addresses together.
/banlist playersLists only account bans, with the operator and the reason.
/banlist ipsLists only banned addresses, handy before using /pardon-ip.
Fill in the fields, then copy the command.
Command generatorThe list starts with the number of bans, then each line reads Steve was banned by Alex: Griefing at spawn: who is banned, who did it and why. Without an argument, account and IP bans appear together. If nobody is banned, the answer is There are no bans.
Copy the exact spelling from here before running /pardon or /pardon-ip, since a typo only returns an error. To add a ban, use /ban or /ban-ip.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
In two files in the server folder: banned-players.json for accounts and banned-ips.json for addresses. /banlist reads the same data.
No. /banlist needs operator level 3, so only operators and the server console can read it.
On a server, as an operator or from the server console: /banlist. It does not exist in single player.
Server operator, level 3. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
/banServer/ban-ipServer/pardonServer/pardon-ipServer/kickServer/whitelistServer/stopServer/save-allServer