New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your Minecraft Java Edition Server
Minecraft Java EditionMinecraft Java EditionKick & Ban Players

How to Kick and Ban Players on Your Minecraft Java Edition Server

Kick and ban players on a Minecraft Java Edition server

1 min read
Apr 11, 2026

As an operator you can kick or permanently ban players using commands. The commands work both in the in-game chat and in the server console (without /).

Kick a player

/kick <name> [reason]

The player is removed from the server but can rejoin.

Ban a player

/ban <name> [reason]

The player is permanently banned from the server.

Ban a player by IP

/ban-ip <ip>

The specified IP address is permanently banned from the server.

Unban a player

/pardon <name>

The player's ban is lifted.

Unban an IP

/pardon-ip <ip>

The IP ban is lifted.

All commands

Command Description
/kick <name> [reason] Kick a player
/ban <name> [reason] Ban a player
/ban-ip <ip> Ban an IP address
/pardon <name> Unban a player
/pardon-ip <ip> Unban an IP address
Written byEmeraldHost Team
Last updated on Apr 11, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Minecraft Java Edition

Ready to get started?

Rent your Minecraft Java Edition Server now

Join our Discord community 1257 members online right now