Class AbstractCommand
java.lang.Object
dev.booky.cloudutilities.commands.AbstractCommand
- Direct Known Subclasses:
ConnectCommand,HubCommand,LoopCommand,PingCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<com.velocitypowered.api.command.CommandSource, T> abstract com.mojang.brigadier.tree.LiteralCommandNode<com.velocitypowered.api.command.CommandSource> getLabel()getPermission(String extra) getPermission(String... extras) protected static com.mojang.brigadier.builder.LiteralArgumentBuilder<com.velocitypowered.api.command.CommandSource> void
-
Field Details
-
COMMAND_PERMISSION_PREFIX
- See Also:
-
-
Constructor Details
-
AbstractCommand
-
-
Method Details
-
literal
protected static com.mojang.brigadier.builder.LiteralArgumentBuilder<com.velocitypowered.api.command.CommandSource> literal(String name) -
argument
protected static <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<com.velocitypowered.api.command.CommandSource,T> argument(String name, com.mojang.brigadier.arguments.ArgumentType<T> type) -
getPermission
-
getPermission
-
getPermission
-
buildNode
public abstract com.mojang.brigadier.tree.LiteralCommandNode<com.velocitypowered.api.command.CommandSource> buildNode() -
register
-
getLabel
-
getAliases
-