Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/banlist

Command

/banlist

Shows the players and IP addresses that are banned from the server.

Syntax

/banlist [(ips|players)]

Details

Permission level3: server operators with level 3 or higher
Works inDedicated multiplayer servers only. It does not exist in singleplayer or in worlds opened to LAN. Needs permission level 3 (admins). Command blocks and functions run at level 2 and cannot use it.
ResultLists every ban with who issued it and the reason, or says "There are no bans". The number /execute store saves is the number of bans listed.
No argumentLists both banned players and banned IP addresses.
playersLists only banned players.
ipsLists only banned IP addresses.

Examples

/banlist

Lists all banned players and IP addresses.

/banlist ips

Lists only the banned IP addresses.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)