News
Game
Guides
Downloads
Versions
/banlist
COMMANDS SERVER ADMIN SERVER · LEVEL 3 Added in 1.14 or earlier

/banlist command in Minecraft

/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.

Syntax

/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.

Examples

Show all bans

/banlist

Lists banned accounts and banned IP addresses together.

Java 26.3

Show banned players only

/banlist players

Lists only account bans, with the operator and the reason.

Java 26.3

Show banned IPs only

/banlist ips

Lists only banned addresses, handy before using /pardon-ip.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

Reading the list

The 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

/banlist: FAQ

Where are bans stored?

In two files in the server folder: banned-players.json for accounts and banned-ips.json for addresses. /banlist reads the same data.

Can normal players see the ban list?

No. /banlist needs operator level 3, so only operators and the server console can read it.

How do I use /banlist?

On a server, as an operator or from the server console: /banlist. It does not exist in single player.

Who can use /banlist?

Server operator, level 3. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.

Related commands

/banServer/ban-ipServer/pardonServer/pardon-ipServer/kickServer/whitelistServer/stopServer/save-allServer