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

Switch game

23 Wikis · pick your game
/pardon

Command

/pardon

Removes one or more players from the server's ban list.

Syntax

/pardon <targets>

Arguments

ArgumentKind of valueWhat to type
<targets>Player profileThe banned player or players to unban, by name. Banned names are suggested while typing.

Details

Permission level3: server operators with level 3 or higher
Works inDedicated servers only: the command does not exist in singleplayer or LAN worlds. Needs permission level 3 (admins): operators with level 3 or higher and the server console. Command blocks and functions cannot run it (their permission level is 2).
ResultReports "Unbanned <player>" for each player who was banned. The number /execute store saves is the number of players unbanned.
Not bannedIf none of the chosen players is banned the command fails with "Nothing changed. The player isn't banned".
IP bansThis only lifts bans on player accounts. Use /pardon-ip for banned IP addresses.

Examples

/pardon Steve

Lets Steve join the server again.

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)