Direct answer
Use kick to disconnect once, ban to block rejoining and pardon to remove an account or IP ban.
Recommended procedure
- From the console or with sufficient permission, use
kick PlayerName reasonfor an immediate disconnect andban PlayerName reasonfor a persistent account ban. - Inspect
banlist playersandbanlist ipswhen investigating a rejection. Usepardon PlayerNameorpardon-ip ADDRESSonly for the matching ban type. - Record moderation reasons privately and check whether a proxy or moderation plugin also maintains its own ban database.
kick PlayerName Reason
ban PlayerName Reason
pardon PlayerName
Why this matters
Console commands run with server-level authority, so verify the target and expected effect before using destructive moderation or world-management commands.
Important limitation: Commands differ between console and in-game slash notation. IP bans can affect more than one player behind a shared address.
How to verify the result
- Have a staff member test the appropriate list and ensure an unbanned player can rejoin after a pardon.
Version and compatibility notes
- When a setting, command, or file name differs from this guide, stop and check the documentation for your exact Minecraft/server-software version instead of forcing an old example.
Official references
These sources were checked for the current MSH revision. Version-sensitive details should always be confirmed against the project documentation for the release you run.
Related guides
Help us improve this article
Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.