Commands/pardon
< Commands
This feature is exclusive to Java Edition.
pardon, pardon-ip
Restrictions | |
---|---|
First introduced |
Removes entries from the banlist.
Contents
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]
Command | Trigger | Java Edition |
---|---|---|
any | the 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 success | Remove the profile(s) from the banlist, allowing anyone to connect to the server with uuids of these profiles. |
Output[edit]
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[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]
Command | Trigger | Java Edition |
---|---|---|
any | the arguments are not specified correctly | Unparseable |
if <string> fails to resolve as a IP | Failed | |
if all specified IPs have not been banned | ||
On success | Remove the IP address(es) from the banlist, allowing anyone to connect to the server from that IP address. |
Output[edit]
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[edit]
Java Edition Alpha | |||||
---|---|---|---|---|---|
v1.0.16 | Added /pardon and /pardon-ip . |