Commands/kick

Kicks a player off the server.

Syntax

 * Java Edition


 * Bedrock Edition



Arguments
(BE: )
 * Must be a player name or a target selector. If not specified, defaults to the player who execut
 * Entities other than players are not allowed.

(BE: )
 * A string that does not require quotation marks and can contain spaces.

Result
Fails if  is not online.

In success, forcibly disconnects  from the server, displaying an optional   to them.

History
Befehl/kick Comandos/kick 命令/kick