Class ChildCommand<T>

java.lang.Object
me.lucko.luckperms.common.command.abstraction.Command<T>
me.lucko.luckperms.common.command.abstraction.ChildCommand<T>
Direct Known Subclasses:
GenericParentCommand, GroupClone, GroupInfo, GroupListMembers, GroupRename, GroupSetDisplayName, GroupSetWeight, HolderClear, HolderEditor, HolderShowTracks, LogGroupHistory, LogNotify, LogRecent, LogSearch, LogTrackHistory, LogUserHistory, TrackAppend, TrackClear, TrackClone, TrackEditor, TrackInfo, TrackInsert, TrackRemove, TrackRename, UserClone, UserDemote, UserInfo, UserPromote

public abstract class ChildCommand<T> extends Command<T>
Abstract SubCommand class
  • Constructor Details

  • Method Details

    • sendUsage

      public void sendUsage(Sender sender, String label)
      Send the command usage to a sender
      Specified by:
      sendUsage in class Command<T>
      Parameters:
      sender - the sender to send the usage to
      label - the label used when executing the command
    • sendDetailedUsage

      public void sendDetailedUsage(Sender sender, String label)
      Description copied from class: Command
      Sends a detailed command usage message to the Sender. If this command has child commands, nothing is sent. Otherwise, a detailed messaging containing a description and argument usage is sent.
      Specified by:
      sendDetailedUsage in class Command<T>
      Parameters:
      sender - the sender to send the usage to
      label - the label used when executing the command