Minecraft:Commands/ban: Difference between revisions
More actions
imported>CrafterShapeless No edit summary |
Remove broken links to missing pages |
||
| Line 23: | Line 23: | ||
{{argument|reason|message}} | {{argument|reason|message}} | ||
: Message to display to the banned player, to other | : Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to <code>Banned by an operator.</code> | ||
: {{arg desc|je=message}} | : {{arg desc|je=message}} | ||
| Line 58: | Line 58: | ||
{{argument|reason|message}} | {{argument|reason|message}} | ||
: Message to display to the banned player, to other | : Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to <code>Banned by an operator.</code> | ||
: {{arg desc|je=message}} | : {{arg desc|je=message}} | ||
| Line 129: | Line 129: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/ban | |||
es:Comandos/ban | |||
ja:コマンド/ban | |||
pt:Comandos/ban | |||
ru:Команды консоли/ban | |||
uk:Команди консолі/ban | |||
zh:命令/ban | |||
Revision as of 15:43, 9 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Redirect Template:Exclusive
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.
Syntax
ban <targets> [<reason>]
Arguments
- Specifies the player profile(s) to be added to the blacklist.
- Template:Arg desc
- Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to
Banned by an operator. - Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
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.
Syntax
ban-ip <target> [<reason>]
Arguments
- Specifies the IP address to be added to the blacklist. Can also be a name of an online player, which represents the IP of that player.
- Template:Arg desc
- Message to display to the banned player, to other operators, and in the server logs. If unspecified, defaults to
Banned by an operator. - Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
banlist
Displays the server's blacklist.
Syntax
banlist [ips|players]
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table
banip
Template:Outdated feature Template:Infobox command
Bans a player by IP number. Cannot be undone in-game; Template:Cd must manually be changed.
The Classic equivalent of Template:Cmd.
Syntax
banip (<address>|<name>) [<reason>]
History
See also
de:Befehl/ban es:Comandos/ban ja:コマンド/ban pt:Comandos/ban ru:Команды консоли/ban uk:Команди консолі/ban zh:命令/ban