/pardon, pardon-ip
< Commands
This feature is exclusive to Java Edition.
/pardon, pardon-ip| Permission level required |
3 |
|---|---|
| Restrictions |
Dedicated server |
{
"title": "<code>/pardon, pardon-ip</code>",
"rows": [
{
"field": "3",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "Dedicated server<br>",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
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
| Command | Trigger | Java Edition |
|---|---|---|
| Any | The 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. | ||
| 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 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, and0-9).
Result
| Command | Trigger | Java Edition |
|---|---|---|
| Any | The 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. | ||
| Otherwise | Successful |
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. | ||||||