All maps archive
MinecraftMaps.com
Adventure▼
Parkour▼
Survival▼
Puzzle▼
Horror▼
Mini-Games▼
Builds▼
Tools
MinecraftMaps.com

The largest collection of Minecraft maps. Download adventure, parkour, survival, puzzle, and more maps for free.

DiscordTwitter

Categories

Adventure MapsParkour MapsSurvival MapsPuzzle MapsHorror MapsCreation Maps

Resources

Latest MapsPopular MapsHall of FameSearch MapsMinecraft ToolsSubmit a MapMinecraft Seeds

Information

How to Install MapsMinecraft Dungeons 2FAQAbout UsContactPrivacy PolicyTerms of Service

Game Databases

Minecraft Dungeons DatabasePalworld DatabaseOnimusha DatabaseStar Wars Zero Company DatabaseValheim WikiPersona CompendiumSolarpunk ToolsGothic 1 Remake WikiFatekeeper ToolsRomestead DatabaseStardew Valley Database7 Days to Die DatabaseTerraria Seed ViewerPokemon Card PricesLogo Font Generator
AFK Arena|Game Guides|Co-op Games|Pokemon Tools|Anime Filler List|Naruto
Copyright © MinecraftMaps.com 2011-2026. All rights reserved.Built for the community♥·Not affiliated with Mojang or Microsoft

Kick Command Generator - Disconnect Players From Your Server

Pick who to kick, add an optional reason, and copy a ready-to-run /kick command. A kick is instant but temporary: the player can rejoin right away.

1 - Who to kick
Targets one player by exact name

/kick accepts an exact account name or a player selector like @a[tag=afk]. Either way it only reaches players who are online right now; there is nothing to kick once they have logged off.

2 - Reason (optional)

Free text, spaces allowed, no quotes needed. It appears on the player's disconnect screen. Leave it empty and Minecraft shows the default message: Kicked by an operator.

Generated command
/kick Steve

Disconnects Steve if they are online right now. A kicked player can rejoin immediately.

Escalate with /ban
/ban Steve

Same target and reason, but permanent: the player is refused at login until you /pardon them. /ban only exists on dedicated servers.

What a kick does
Instant disconnect

The player is dropped on the spot and sees your reason on the disconnect screen. Chat confirms it with Kicked PlayerName: reason.

Nothing is saved

A kick writes no list entry anywhere. The player can click Reconnect and be back in seconds; use /ban when they should stay out.

Works on LAN too

Unlike /ban, /kick also works in worlds opened to LAN. The world owner can never be kicked; everyone else is fair game.

Permission: /kick needs operator permission level 3. Run it from the server console or an opped account. In an offline singleplayer world it fails with: Cannot kick in an offline singleplayer game.

How the Kick Command Works in Minecraft

The /kick command instantly disconnects an online player from your server and shows them a message of your choice. It needs operator permission level 3, saves nothing to any list, and the player can rejoin the moment they click Reconnect. For a permanent block, use /ban instead.

When the command runs, the targeted player is dropped from the server on the spot. Their disconnect screen shows your reason, or the default text Kicked by an operator if you did not give one, and the chat confirms it with Kicked Steve: reason. That is the entire effect: no file is written, no ban list entry is created, and nothing stops the same player from joining again seconds later.

That makes /kick the warning shot of server moderation. It clears AFK players before a restart, breaks up a chat argument, or forces a client-side glitch to reset by making the player log back in, all without the paperwork of a ban. Unlike the ban family of commands, /kick also works in worlds opened to LAN with cheats enabled, with one rule: the world owner can never be kicked.

Use the generator above to compose the command: pick a name or build a selector, type the reason the player will see, and copy the result into the server console or chat. The second output gives you the matching /ban command in case a kick turns out not to be enough.

Kick Command Syntax

The full syntax is /kick <targets> [<reason>]. Only the target is required:

ArgumentRequiredWhat it accepts<targets>YesA player's exact account name or a player selector such as @a, @p or @a[team=red]. Only online players can be kicked; @e must be limited with type=player. Multiple players are allowed.[<reason>]NoFree text running to the end of the command, spaces included, no quotes needed. It is shown on the kicked player's disconnect screen. Defaults to: Kicked by an operator.

Common examples you can copy directly:

CommandWhat it does/kick SteveDisconnects Steve with the default message: Kicked by an operator./kick Steve AFK for too longDisconnects Steve and shows the custom reason on his disconnect screen./kick @a[tag=afk] Kicked for inactivityKicks every online player carrying the afk scoreboard tag, all with the same reason./kick @a Server restarting, back in one minuteKicks everyone currently online, the polite way to clear the server before a restart./kick @a[team=red] Round over, please rejoinKicks all online members of the red team, useful for resetting minigame lobbies.

/kick requires operator permission level 3. The default op level on a vanilla server is 4, so any opped player can kick, and the server console always can. In a singleplayer world that is not open to LAN the command exists but fails with Cannot kick in an offline singleplayer game, because there is no other player to disconnect.

Kick vs Ban: Picking the Right Command

Kicking and banning look similar in chat but do very different things. The quick comparison:

CommandWhat it does/kick <player> [reason]One-time disconnect. Nothing is saved and the player can rejoin immediately. Works on dedicated servers and LAN worlds./ban <player> [reason]Adds the account to banned-players.json and refuses every login until pardoned. Dedicated servers only./ban-ip <player|ip> [reason]Blocks the connecting IP address, stopping every account on it. For repeat offenders on alt accounts./pardon <player>Lifts a name ban so the player can rejoin. Kicks need no undo command; the player was never on a list.

The practical rule: /kick is for the moment, /ban is for the future. A kick resolves whatever is happening right now, such as an AFK player blocking a farm, someone flooding chat, or a buggy client state that a relog fixes. Because nothing is stored, there is no cleanup later and no risk of accidentally locking out a regular.

The other difference is reach. /kick only works on players who are connected, while /ban accepts an exact account name even when the player is offline. So if a griefer logs out before you can react, a kick is no longer possible, but a ban by name still lands. Many servers chain them: kick with a warning first, then ban with the same reason if the behavior repeats, which is exactly the pair of commands this generator produces.

Frequently Asked Questions

How do you kick someone in Minecraft?

Run /kick followed by the player's exact account name, for example /kick Steve AFK for too long. Everything after the name becomes the reason shown on their disconnect screen. You need operator permission level 3, so run it from the server console or as an opped player.

What is the difference between kick and ban in Minecraft?

A kick disconnects the player once and saves nothing, so they can rejoin immediately. A ban writes the account to banned-players.json and refuses every login until someone runs /pardon. Use /kick as a warning for minor problems and /ban when the player should stay out.

Can you kick a player with a custom message?

Yes. Everything you type after the player name is free text shown on their disconnect screen, spaces included, no quotes needed. For example /kick Steve Server restarting, back in a minute. If you leave the reason out, Minecraft shows the default message: Kicked by an operator.

Why does the /kick command not work in Minecraft?

The three usual causes: you are not opped (kick needs operator permission level 3), the player is not online (kick only reaches connected players, unlike ban), or you are in a singleplayer world that is not open to LAN, where the command fails with: Cannot kick in an offline singleplayer game.

Does /kick work in singleplayer or LAN worlds?

It works in worlds opened to LAN with cheats enabled, which is something /ban cannot do. The world owner can never be kicked; trying it fails with: Cannot kick server owner in LAN game. In a plain singleplayer world that is not published to LAN there is nobody to disconnect and the command errors.

How do you kick all players at once in Minecraft?

Run /kick @a to disconnect every online player in one command, optionally with a reason like /kick @a Server restarting. Selectors can also narrow it down, for example /kick @a[team=red] or /kick @a[tag=afk]. On a LAN world @a skips the host automatically.

Need a permanent block instead? Or browse more Minecraft tools:

Ban Command GeneratorBrowse All Tools

Related tools

Ban CommandBuild /ban commands with a reason, plus /pardonBan-IP CommandBuild /ban-ip commands with reason and IPv4 checkBanlist CommandList banned players and IPs on your serverPardon CommandBuild /pardon commands to unban playersPardon-IP CommandUnban an IP address with a valid /pardon-ipOp CommandGrant operator status with a ready /op command