Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
FREEDOM251

Freedom251 › Blog › IP ban

How to Unban a Player on a Minecraft Server (Java and Bedrock Commands)

By Freedom251 Team · · 12 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

On a vanilla Minecraft Java Edition server, unban a player with pardon PlayerName in the server console or /pardon PlayerName in in-game chat. For an IP ban, use pardon-ip IP-address instead. In-game unbanning requires operator permission level 3 or higher; a hosting-panel console has full permission.

Bedrock Dedicated Server uses a different administration model. Microsoft’s documented /allowlist commands control who may join, while owner-level permissions and cheats are required for allowlist administration. A Microsoft account enforcement action is separate from your server’s ban list and cannot be reversed by a private-server owner.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

First identify what blocked the player

“Banned” can mean several different things. The correct recovery step depends on the edition, the ban scope and who applied the restriction.

  • Java account ban: the player’s account or username is on the server’s player-ban list. Use pardon.
  • Java IP ban: an address is blocked, potentially affecting every player using that connection. Use pardon-ip.
  • Bedrock access restriction: the server’s allowlist and permission state determine whether the player may join. Use the documented /allowlist commands and check owner permissions.
  • Plugin or mod ban: a moderation plugin may maintain its own database and commands. The vanilla Java commands may not remove that separate restriction.
  • Microsoft account enforcement: the account is restricted at the platform level. A server administrator cannot lift it.

If you control the server, start by confirming whether it is Java Edition or Bedrock Dedicated Server. The command names and authority requirements are not interchangeable. Ask the player for the exact error message and the edition they are using before changing a list.

#1 Best Overall
Minecraft | Java & Bedrock Deluxe Collection | Windows Digital Code
  • DELUXE COLLECTION — Includes Minecraft: Java & Bedrock Edition, three Bedrock add-ons, three exclusive Character Creator items, and 700 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

Unban a player on Java Edition

1. Confirm that you have administrative access

You must control the server or have permission to administer it. In-game commands require operator permission level 3 or higher. A hosting-panel console has full permission, so it can be used even when you are not currently connected to the game.

In chat, Minecraft commands begin with a slash. In a server or hosting-panel console, enter the command without the slash. For example, type /pardon Alex in chat but pardon Alex in the console. A leading slash in a panel console may be rejected, so follow the console’s normal command format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Check whether it is a player ban or an IP ban

Use the ban-list commands before changing anything:

  • banlist shows the available ban information.
  • banlist players checks account or player bans.
  • banlist ips checks IP bans.

The distinction matters. pardon expects a player name, while pardon-ip expects an address. Entering a name in the IP command will not remove an address ban. Likewise, pardoning an address does not remove a separate player-name entry.

3. Remove a player-name ban

  1. Open the server console, or join the server with operator level 3 or higher.
  2. Run banlist players and confirm the exact player name shown on the list.
  3. In the console, enter pardon PlayerName. In chat, enter /pardon PlayerName.
  4. Have the player reconnect to the server.

Use the name exactly as it appears in the ban list. Do not add quotation marks or an explanatory sentence. If the name is misspelled, the command can leave the actual entry untouched. Keep the console response so you can tell whether the server accepted the command.

If the server is running an authentication or moderation plugin, that plugin may use a separate identifier or database; in that case, follow the plugin’s own unban procedure as well. A successful vanilla command only removes the matching vanilla entry.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

4. Remove an IP ban

  1. Run banlist ips to identify the blocked address.
  2. In the console, enter pardon-ip 203.0.113.25, replacing the example with the listed address. In chat, use /pardon-ip 203.0.113.25.
  3. Ask the affected player to reconnect.

The command accepts an IP address, not a player name. Confirm every digit and punctuation mark before submitting it. If several addresses appear, remove only the address that matches the player’s current connection and the restriction you intend to lift.

Rank #2
Minecraft | Java & Bedrock Ultimate Collection | Windows Digital Code
  • ULTIMATE COLLECTION — Includes Minecraft: Java & Bedrock Edition, five Bedrock add-ons, five exclusive Character Creator items, and 1000 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

An IP ban can block other people who share the same home, school or workplace connection. It can also become ineffective when a provider changes a household or mobile address, and a player using a VPN may appear from a different address. For those reasons, a normal account ban is generally more targeted for an individual player.

Using a hosting-panel console

If you administer a rented or managed server, the panel normally provides a Console or Terminal view. Stop using the in-game chat requirement by opening that console and entering the same Java command without a leading slash:

  • pardon PlayerName for a player-name ban
  • pardon-ip IP-address for an IP ban

The panel console has full permission according to the hosting guidance, so you do not need to be online as an operator. This is useful when the banned player cannot join to report the problem, or when you need to correct an IP ban that affects your own connection. Keep the player’s exact name or address visible while entering the command, then ask the player to try again.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not confuse a panel’s file manager with its live console. The live console sends a command to the running server. File editing changes stored data and has additional risks described below.

When pardon does not restore access

A successful Java unban command removes one entry from the vanilla ban list. It does not automatically change every other access control. Work through these checks in order rather than repeatedly issuing the same command.

Check for a separate IP ban

If you removed a player ban but the person still cannot connect, run banlist ips. An address ban can continue blocking the connection even after the account entry is pardoned. Remove it with pardon-ip <IP> if that restriction was intentional and you have confirmed the address.

Check the allowlist

An allowlist is independent of a pardon. A player who is not permitted by the server’s allowlist can still be refused after a ban is removed. Review the server’s allowlist settings and add the player through the method used by that server. Conversely, if the player is listed but should not have access, the allowlist decision itself must be changed; a pardon does not decide allowlist membership.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Minecraft | Standard Edition | XBOX Digital Code
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that is unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world full of surprises.
  • SURVIVAL ADVENTURES — Face mysterious foes, travel across varied landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play solo or join friends in local split-screen and cross-platform play across console, mobile, and PC. Online multiplayer supports up to 8 players.
  • COMMUNITY PLAY — Connect with players on community servers, or subscribe to Realms Plus (sold separately) to play with up to 10 friends on a private server.

Check plugins and moderation systems

Many servers use plugins or mods that keep their own punishment records. The available evidence does not establish one universal plugin command. Look up the documentation for the specific moderation system and remove the player there if necessary. Also check whether a proxy, network-wide moderation tool or another server in the same network is applying the block. A network can show a generic ban message even when the vanilla list is empty.

Check the player’s connection and identity

Ask the player to confirm the exact account name, server address and edition. A player may be connecting from a different IP than the one you pardoned, or may be trying to join a Bedrock server with Java instructions. If the server uses online authentication, verify that the player is signing in with the account that was banned. A name change or a different signed-in account can make a valid pardon appear ineffective.

Check permissions and server state

On Bedrock, an allowlist change may require owner authority, cheats and a reload. On Java, confirm that the command was sent to the intended server instance, especially when a host runs multiple servers or a proxy. Review the console output for a syntax or permission error instead of assuming that a submitted command succeeded.

Check for platform enforcement

If the player cannot join multiple unrelated servers, Realms or other multiplayer sessions, the restriction may be attached to the Microsoft account rather than your server. A private-server administrator cannot reverse that action; the account holder must use Minecraft’s platform appeal or support process.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Unban or restore access on Bedrock Dedicated Server

Bedrock Dedicated Server administration is not a direct Java-style pardon workflow. Microsoft documents /allowlist as an owner-level command that requires cheats. The command manages the server allowlist, so restoring access means making the allowlist and permission state match the access policy you intend to use.

Allowlist command forms

  • /allowlist add <name: id> adds a player identifier.
  • /allowlist remove <name: id> removes a player identifier.
  • /allowlist list displays the current entries.
  • /allowlist reload reloads the allowlist.

Use the command in the Bedrock server environment with the owner-level authority required by the server. If the player should be allowed to join, add the correct name or ID, then reload the list if the server requires it. If the player should remain excluded, remove the entry instead. Do not assume that deleting a Java ban entry will change Bedrock access.

Because the syntax accepts a name or ID, copy the identifier used by that Bedrock server rather than substituting a Java username automatically. Use /allowlist list to inspect the current state before making a change. If the player is already listed but cannot join, the problem may be permissions, another moderation system or an account-level enforcement action.

Rank #4
Minecraft
  • Skins! We have biome settlers, city folk, town folk, and more!
  • The Nether and all its inhabitants. Fight Ghasts and make friends with Pigmen
  • Cross platform play for up to five players between Pocket Edition and Windows 10
  • Revamped touch controls, controller support, and a controller mapping screen
  • Enhanced Weather effects! Accumulating snow and more

Use Bedrock’s command help and permission controls

Bedrock’s broader command reference lists /kick as available without cheats, /permission as a dedicated-server owner command, and /help for checking command syntax. Use /help on the server when you are unsure which form your installed build accepts. Review the permission state if the player is on the allowlist but still cannot join.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Bedrock server software described in the administrator guidance provides kick but not a Java-style native ban command. Therefore, a Bedrock access problem may be caused by the allowlist, permissions, a third-party moderation system or a platform-level account action rather than a vanilla player-ban entry. Treat the error message and the server’s own command help as the starting point.

Bedrock recovery checklist

  1. Confirm that the server is Bedrock Dedicated Server and that you have owner-level access.
  2. Use /allowlist list to see whether the player identifier is present.
  3. If the player should join, use /allowlist add <name: id> with the correct identifier.
  4. Run /allowlist reload when the server requires a reload to apply the file or command change.
  5. Check /permission settings and any moderation plugin or proxy.
  6. Ask the player to reconnect and report the exact message if access is still denied.

Java and Bedrock: what changes

Area Java Edition server Bedrock Dedicated Server
Primary restoration method pardon for a player ban or pardon-ip for an IP ban Manage allowlist membership with /allowlist and verify permissions
Authority In-game operator permission level 3 or higher; hosting console has full permission Microsoft documents allowlist administration as owner-level and requiring cheats
Ban scope covered here Account/player entry or IP address Allowlist and permission state; no Java-style native pardon command is documented in the administrator guidance
Execution location Chat uses a leading slash; a console command does not Use the command form supported by the Bedrock server and check /help
Typical remaining checks Other ban type, allowlist, plugin, proxy or account enforcement Permissions, moderation system, allowlist reload or account enforcement
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Editing Java ban files manually

Java servers store account bans in banned-players.json and IP bans in banned-ips.json. Commands are safer because the server updates its own data format and validates the change.

If manual editing is unavoidable, stop the server first. A running server can rewrite the file and overwrite your change. Preserve a backup, remove only the intended entry, and keep the file valid JSON. Malformed JSON can break the ban list or prevent the server from reading it correctly. Start the server again only after the file has been saved and checked.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not edit the player-ban file when the problem is an IP ban, and do not edit the IP file when the player is blocked by a plugin or Microsoft account enforcement. Each mechanism has a different owner and data source. If you are unsure which file contains the entry, use banlist players and banlist ips before stopping the server.

A practical troubleshooting sequence

  1. Identify the edition: Java and Bedrock use different administration commands.
  2. Confirm authority: use Java operator level 3 or higher, a full-permission console, or Bedrock owner-level access with cheats for allowlist management.
  3. Inspect the relevant list: use banlist players or banlist ips on Java; use /allowlist list on Bedrock.
  4. Remove the matching restriction: use the player name for pardon, the address for pardon-ip, or the correct Bedrock allowlist operation.
  5. Reconnect: have the player try again after the change.
  6. Read the resulting error: distinguish a ban message from an allowlist, permission, connection or authentication message.
  7. Escalate only the remaining layer: check the other ban type, allowlist, plugin or mod, proxy, permissions and platform enforcement.

This order avoids changing unrelated settings and helps you distinguish a server-side ban from an account-wide restriction. It also creates a useful record for another administrator: edition, list inspected, command used and remaining error.

Preventing accidental lockouts

  • Prefer an account ban when the goal is to restrict one player; an IP ban can affect everyone sharing that address.
  • Record whether each punishment is a player ban, IP ban, allowlist decision or plugin action.
  • Keep the server console available to trusted administrators so a correction does not depend on the banned player being online.
  • Back up banned-players.json and banned-ips.json before any manual maintenance.
  • Use the server’s own command help and documentation for plugin or Bedrock-specific syntax rather than assuming Java commands apply everywhere.
  • When lifting a restriction, verify the exact player name or address before submitting the command.
  • After a change, ask the player to reconnect and report the full error rather than repeatedly changing unrelated settings.

When the server owner cannot unban the player

Minecraft account enforcement is broader than a private-server punishment. Minecraft Help states that platform-banned players cannot play on servers, join Realms, or host or join multiplayer games. A server owner can remove a private-server ban, but cannot reverse a Microsoft account action. The affected account holder must follow the platform’s appeal route.

Best Value
Minecraft - Bedrock Edition PS4
  • Play and share with friends on console, mobile and Windows 10
  • discover community creations in the new in-game store
  • access new mini games and game modes through servers

This distinction explains why a player may remain unable to join after pardon, pardon-ip or an allowlist change. Those commands affect your server only. They cannot alter an enforcement decision attached to the player’s Microsoft account.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

What is the Minecraft Java unban command?

Use pardon PlayerName in the server console or /pardon PlayerName in chat. You need operator permission level 3 or higher in game; a hosting-panel console has full permission.

How do I unban an IP address?

Run banlist ips first, then use pardon-ip IP-address in the console or /pardon-ip IP-address in chat. The command requires the address, not the player’s name.

Why does pardon not let the player join?

Check for a separate IP ban, allowlist exclusion, plugin or proxy punishment, incorrect account or edition, and Microsoft account enforcement. A vanilla pardon removes only the matching Java player-ban entry.

Can I unban someone from a Bedrock Dedicated Server with pardon?

Bedrock Dedicated Server does not use the Java-style pardon workflow. Use the owner-level /allowlist commands, verify permissions and reload the allowlist when required.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What Bedrock command adds a player back?

Use /allowlist add <name: id> with the correct Bedrock name or identifier. Check the result with /allowlist list and use /allowlist reload if needed.

Can a server owner reverse a Microsoft account ban?

No. Platform enforcement can prevent the account from playing on servers, joining Realms, or hosting or joining multiplayer games. The account holder must use Minecraft’s platform appeal or support process.

Should I edit banned-players.json manually?

Commands are safer. If manual editing is unavoidable, stop the Java server first, make a backup, preserve valid JSON and remove only the intended entry. Use banned-ips.json for IP bans.

Do I type the slash in the server console?

No. In chat use /pardon PlayerName; in a Java server or hosting-panel console use pardon PlayerName without the leading slash.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Bottom Line

For Java, inspect the correct list and use pardon for a player ban or pardon-ip for an IP ban. For Bedrock, restore intended access through owner-level /allowlist and permission controls. If the restriction is maintained by a plugin, proxy or Microsoft account, the vanilla command cannot remove it.

Quick Recap

Bestseller No. 4
Minecraft
Minecraft
Skins! We have biome settlers, city folk, town folk, and more!; The Nether and all its inhabitants. Fight Ghasts and make friends with Pigmen
$6.99
Bestseller No. 5
Minecraft - Bedrock Edition PS4
Minecraft - Bedrock Edition PS4
Play and share with friends on console, mobile and Windows 10; discover community creations in the new in-game store
$42.98

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

IP banMinecraftMinecraft BedrockMinecraft Java Editionpardon commandserver administration

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.