Commands/pardon

From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.
pardon, pardon-ip
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Java Edition Alpha v1.0.16

Removes entries from the banlist.

pardon[edit]

Syntax[edit]

pardon <targets>

Arguments[edit]

<targets>: game_profile

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.
Specifies the player profile(s) to remove from the banlist.

Result[edit]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
if target selector fails to resolve to one or more online players Failed
if all specified player profiles have not been banned
On successRemove the profile(s) from the banlist,
allowing anyone to connect to the server with uuids of these profiles.

Output[edit]

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

pardon-ip[edit]

Syntax[edit]

pardon-ip <target>

Arguments[edit]

<target>: string

Must be a string. And it must be in a single word (no spaces).
Specifies the IP address to remove from the banlist. Should be a valid IP address.

Result[edit]

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

Output[edit]

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

History[edit]

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