All commands
🚫
Admin

/ban

Permanently bar a player from joining the server.

Try in Simulator

At a glance

Syntax

Syntax
/ban <player> [reason]
commandtargetcoordsvaluerequiredoptional

See it

What it does

The player is banned

Anatomy

Every part, explained

  1. 1
    /banCommandRequired

    Adds a player to the server ban list.

  2. 2
    <player>PlayerRequired

    The player to ban.

  3. 3
    [reason]ReasonOptional

    Optional note stored with the ban.

Your turn

Try it yourself

Playground
2 tokens · press Enter to run

Copy & paste

Examples

/ban Griefer

Ban a player with no reason.

/ban Griefer destroying builds

Ban with a reason for the records.

/ban Steve repeated cheating

Ban a cheater from the server.

Avoid these

Common mistakes

/ban Griefer 192.168.0.5
/ban-ip 192.168.0.5

Use /ban-ip to ban an IP address, not /ban.

/ban
/ban Griefer

You must name the player to ban.

Keep going

Related commands