Interface PlatformSender

All Known Implementing Classes:
AbstractPlatformSender

public interface PlatformSender
  • Field Details

  • Method Details

    • getName

      String getName()
    • getDisplayName

      String getDisplayName()
    • getIdentifier

      Identifier getIdentifier()
    • hasPermission

      @Deprecated @ScheduledForRemoval(inVersion="3.1.1") boolean hasPermission(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.
      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

      <T> T getProperty(MetaKey<T> key)