← Back to Command Directory ← Back to Home

/ban-ip

Adds an IP address to the server's ban list, preventing any player from that address from connecting.

Syntax

/ban-ip <target|ip> [<reason>]

Parameters

NameRequiredDescription
target|ipYesAn online player name (bans their IP) or a direct IP address string.
reasonNoAn optional reason message for the ban.

Examples

/ban-ip 192.168.1.100
/ban-ip Steve VPN abuse

Notes

Command Block Use

This command is not usable from command blocks. It is a server-operator-only command.

Related Commands