Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

Remove profiles from the banlist, allowing anyone to connect into the server with uuids of these profiles.

pardon[]

Syntax[]

pardon <targets>

Arguments[]

<targets>: game_profile

Specifies the player profile(s) to remove from the banlist.
Must be a collection of game profiles (player profiles), which can be a player name (must be a real one if the server is in online mode), or a player-type target selector.

Result[]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
target selector fails to resolve to one or more online players Failed
all specified player profiles have not been banned
OtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A1the number of player profiles that is successfully unbanned.

pardon-ip[]

Syntax[]

pardon-ip <target>

Arguments[]

<target>: string

Specifies the IP address to remove from the banlist. Should be a valid IP address.
Must be a string. And it must be in a single word (Allowed characters include: -, +, ., _, A-Z, a-z, and 0-9).

Result[]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
<string> fails to resolve as a IP Failed
all specified IPs have not been banned
OtherwiseRemove the IP address(es) from the banlist,
allowing anyone to connect to the server from that IP address.

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success111

History[]

Java Edition Alpha
v1.0.16Added /pardon and /pardon-ip.
Advertisement