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
Abstract SubCommand class
-
Constructor Summary
ConstructorsConstructorDescriptionChildCommand(CommandSpec spec, String name, CommandPermission permission, Predicate<Integer> argumentCheck) -
Method Summary
Methods inherited from class me.lucko.luckperms.common.command.abstraction.Command
execute, getArgs, getArgumentCheck, getDescription, getName, getPermission, getSpec, getUsage, isAuthorized, shouldDisplay, tabComplete
-
Constructor Details
-
ChildCommand
public ChildCommand(CommandSpec spec, String name, CommandPermission permission, Predicate<Integer> argumentCheck)
-
-
Method Details
-
sendUsage
Send the command usage to a sender -
sendDetailedUsage
Description copied from class:CommandSends 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:
sendDetailedUsagein classCommand<T>- Parameters:
sender- the sender to send the usage tolabel- the label used when executing the command
-