Commands/ban

These commands control a server's banlist, or blacklist. A blacklist is a list of players or IP addresses that are not allowed to connect to the server. Bans supersede any whitelisting in place.

ban
Adds the player profile(s) into the server blacklist, which prevents anyone from connecting to the server with uuids of these profiles.

Arguments

 * Specifies the player profile(s) to be added to the blacklist.


 * Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to

ban-ip
Adds an IP address to the blacklist. Adds the narrowly-specified address or address of the named online player into the server blacklist, preventing anyone from connecting to the server from that address.

Arguments

 * Specifies the IP address to be added to the blacklist. Can also be a name of a online player, which represents the IP of that player.


 * Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to

banlist
Displays the server's blacklist.

Result
Always succeeds. Displays banned IP addresses or banned players.

banip
Bans a player by IP number. Cannot be undone in-game; must manually be changed.

The Classic equivalent of.