public interface CommandSender
Modifier and Type | Method and Description |
---|---|
void |
sendError(java.lang.String message)
Send an error to the command sender (log level: SEVERE)
|
void |
sendMessage(java.lang.String message)
Send a message to the command sender (log level: INFO)
|
void sendMessage(java.lang.String message)
message
- A message - color-formatted with minecraft color codes (see https://minecraft.gamepedia.com/Formatting_codes). Section sign (indicates a color code): '&'void sendError(java.lang.String message)
message
- A message - color-formatted with minecraft color codes (see https://minecraft.gamepedia.com/Formatting_codes). Section sign (indicates a color code): '&'. Red by default