public interface ViaCommandSender
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the senders name.
|
UUID |
getUUID()
Get the senders UUID.
|
boolean |
hasPermission(String permission)
Check if the sender has a permission.
|
void |
sendMessage(String msg)
Send a message to the sender
|
boolean hasPermission(String permission)
permission
- Permission string eg. viaversion.adminvoid sendMessage(String msg)
msg
- The message to sendUUID getUUID()
String getName()
Copyright © 2016–2021. All rights reserved.