Interface PlatformSender
- All Known Implementing Classes:
AbstractPlatformSender
public interface PlatformSender
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetName()<T> TgetProperty(MetaKey<T> key) booleanhasPermission(String permission) Deprecated.This method is deprecated and should not be used anymore.
-
Field Details
-
NAME
-
DISPLAY_NAME
-
IDENTIFIER
-
-
Method Details
-
getName
String getName() -
getDisplayName
String getDisplayName() -
getIdentifier
Identifier getIdentifier() -
hasPermission
Deprecated.This method is deprecated and should not be used anymore. It will be removed in future versions of LiteCommands. UseInvocation.sender()instead and check permissions.Checks if the user has a specific permission.- Parameters:
permission- the permission to check- Returns:
- true if the user has the permission, false otherwise
-
getProperty
-