public interface PlatformSender
| Modifier and Type | Field and Description |
|---|---|
static MetaKey<java.lang.String> |
DISPLAY_NAME |
static MetaKey<Identifier> |
IDENTIFIER |
static MetaKey<java.lang.String> |
NAME |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
Identifier |
getIdentifier() |
java.lang.String |
getName() |
<T> T |
getProperty(MetaKey<T> key) |
boolean |
hasPermission(java.lang.String permission)
Deprecated.
This method is deprecated and should not be used anymore.
It will be removed in future versions of LiteCommands.
Use
Invocation.sender() instead and check permissions. |
static final MetaKey<java.lang.String> NAME
static final MetaKey<java.lang.String> DISPLAY_NAME
static final MetaKey<Identifier> IDENTIFIER
java.lang.String getName()
java.lang.String getDisplayName()
Identifier getIdentifier()
@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="3.6.1") boolean hasPermission(java.lang.String permission)
Invocation.sender() instead and check permissions.permission - the permission to check<T> T getProperty(MetaKey<T> key)