public interface CommandSender extends Nameable, Permissible
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPermission(String permission)
Query this command sender for its permissions.
|
void |
sendMessage(String... message)
Send messages to this command sender.
|
getPermissionEntityvoid sendMessage(String... message)
message - the messages to sendboolean hasPermission(String permission)
permission - the permission in questiontrue when this command sender has the queried permission,
false otherwise.Copyright © 2020. All rights reserved.