public abstract class Command extends me.lorenzo0111.pluginslib.command.ICommand<Object> implements org.spongepowered.api.command.spec.CommandExecutor
| Constructor and Description |
|---|
Command(Object plugin,
String command,
List<String> argsSchema,
@Nullable me.lorenzo0111.pluginslib.command.Customization customization) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.spongepowered.api.command.CommandResult |
execute(@NotNull org.spongepowered.api.command.CommandSource sender,
@NotNull org.spongepowered.api.command.args.CommandContext args) |
void |
register(String command) |
public void register(String command)
register in class me.lorenzo0111.pluginslib.command.ICommand<Object>@NotNull public @NotNull org.spongepowered.api.command.CommandResult execute(@NotNull @NotNull org.spongepowered.api.command.CommandSource sender, @NotNull @NotNull org.spongepowered.api.command.args.CommandContext args)
execute in interface org.spongepowered.api.command.spec.CommandExecutor