If you're looking for a permanent solution to block an unruly player from joining your server, you can use the ban feature built into vanilla Minecraft servers.

Before you read this guide, consider any permissions or administrative plugins you may be using. Some plugins may restrict ban-related commands and/or add additional features.


What does it mean to "ban" a player?

By banning someone from your server, you are force-disconnecting them from your server and preventing them from rejoining. This action won't close the player's Minecraft client, but it will show them a message so they will know they have been banned.


Can a banned player reconnect?

Vanilla bans are permanent, so the targetted player will never be able to rejoin unless the ban is lifted. Certain plugins, such as EssentialsX, may allow temporary bans.

Can I ban a player for any reason?

Any reason, or no reason at all, can be used to ban a player from your server.

Can any player ban any player? Can I be banned from my own server?

Only server operators (opped players) or those with access to the server's console have the power to ban players from the server. With the right permissions or access, you can ban any player, including the owner of the server.

How do I ban a player from my server?

To ban an online player from your server, you'll use the ban command.
Once you've executed the command, the targetted player(s) will be force-disconnected from the server and notified of their ban.

As an opped player, this can be done in-game using /ban playerName reasonHere
From your server's console, this can be done using ban playerName reasonHere

Do I have to include a reason?

No. If you do not include a reason for banning the player, the default/generic message will be displayed to them upon disconnect.

How do I ban a player's IP address?

An IP ban prevents any users attempting to connect via the targetted player's IP. This command is useful to prevent same-household players from joining and/or those with multiple Minecraft accounts attempting to bypass a server ban.

To issue an IP ban, you'll use the ip-ban command.
Once you've executed the command, the targetted player(s) will be force-disconnected from the server and notified of their ban.

As an opped player, this can be done in-game using /ip-ban playerName reasonHere
From your server's console, this can be done using ip-ban playerName reasonHere


Can I unban someone?

You can unban any banned players by using pardon (vanilla) or unban (Bukkit/Spigot/etc.) depending on your server type.


What about Hardcore?

If a player dies in hardcore, they will be locked into Spectator mode. If you need help restoring your gameplay, see our Hardcore guide or reach out to our team.

How do I know when to ban someone?

The ban command is most often used to remove unwanted players (e.g. griefers). Whether or not you choose to ban players from your server, and when you do it, is entirely up to you.

Is there a way to keep my server limited to specific players?

To block all connections to your server except for specified players, you can use a whitelist. Only whitelisted players will be able to connect.

Is there a way to ban a player without kicking them?

Technically, yes. Players can be banned by modifying the banned players file(s). However, more recent versions of Minecraft require these server files to have specific formatting including the player's UUID. For this reason, we don't recommend modifying the files directly unless you absolutely must. If a file is improperly formatted, your server will fail to start.

Where do I see who is banned?

You can check your list of banned players (also known as a blacklist or banlist) from your server files or by using the banlist command.

As an opped player, this can be done in-game using /banlist
From your server's console, this can be done using banlist

Did this answer your question?