public interface ICommandUtil<P>
| Modifier and Type | Field and Description |
|---|---|
static String |
LINK_ACCOUNT_COMMAND |
static String |
UNLINK_ACCOUNT_COMMAND |
| Modifier and Type | Method and Description |
|---|---|
void |
kickPlayer(P player,
CommandMessage message,
Object... args)
Same as
sendMessage(Object, CommandMessage, Object...) except it kicks the player. |
void |
sendMessage(P player,
CommandMessage message,
Object... args)
Send the specified player a message
|
static final String LINK_ACCOUNT_COMMAND
static final String UNLINK_ACCOUNT_COMMAND
void sendMessage(P player, CommandMessage message, Object... args)
player - the player to send the message tomessage - the command messageargs - the argumentsvoid kickPlayer(P player, CommandMessage message, Object... args)
sendMessage(Object, CommandMessage, Object...) except it kicks the player.player - the player to send the message tomessage - the command messageargs - the argumentsCopyright © 2021 GeyserMC. All rights reserved.