/pardon, pardon-ip

This feature is exclusive to Java Edition.
 
/pardon, pardon-ip
Permission level
required

3

Restrictions

Dedicated server

Removes entry/entries from ban list.

pardon

Remove profiles from the ban list, allowing anyone to connect into the server with UUIDs of these profiles.

Syntax

pardon <targets>

Arguments

<targets>: game_profile

Specifies the player profile(s) to remove from the ban list.
Specifies one or more game profiles (player profiles). Must be a player name (should be a real one if the server is in online mode) or a player-type target selector.

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
Target selector fails to resolve to one or more online players. Failed
All specified player profiles is not banned.
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn failN/A00
On successN/A1the number of player profiles that is removed from ban list.

pardon-ip

Remove an IP address from the ban list, allowing anyone to connect to the server from that IP address.

Syntax

pardon-ip <target>

Arguments

<target>: string

Specifies the IP address to remove from the ban list. 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 command is incomplete, or any argument is not specified correctly. Unparseable
<string> fails to resolve as an IP. Failed
The specified IP is not banned.
OtherwiseSuccessful

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.

Navigation