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[]
| Command | Trigger | Java Edition |
|---|---|---|
| any | the 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 | ||
| Otherwise | Successful |
Output[]
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| any | Java Edition | On fail | N/A | 0 | 0 |
| On success | N/A | 1 | the 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, and0-9).
Result[]
| Command | Trigger | Java Edition |
|---|---|---|
| any | the arguments are not specified correctly | Unparseable |
<string> fails to resolve as a IP | Failed | |
| all specified IPs have not been banned | ||
| Otherwise | Remove the IP address(es) from the banlist, allowing anyone to connect to the server from that IP address. |
Output[]
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| any | Java Edition | On fail | 0 | 0 | 0 |
| On success | 1 | 1 | 1 |
History[]
| Java Edition Alpha | |||||
|---|---|---|---|---|---|
| v1.0.16 | Added /pardon and /pardon-ip. | ||||