Uses of Class
me.despical.commandframework.CommandArguments
Packages that use CommandArguments
Package
Description
The main package of the Command Framework containing all
core classes and components related to the framework.
Provides an internal class responsible for handling command cooldowns.
Provides internal utility classes and helpers for the Command Framework.
-
Uses of CommandArguments in me.despical.commandframework
Methods in me.despical.commandframework with parameters of type CommandArgumentsModifier and TypeMethodDescription@NotNull Object[]ParameterHandler.getParameterArray(Method method, CommandArguments commandArguments) Method parameters in me.despical.commandframework with type arguments of type CommandArgumentsModifier and TypeMethodDescriptionfinal <T> voidCommandFramework.addCustomParameter(@NotNull Class<T> clazz, @NotNull Function<CommandArguments, T> function) Adds a custom parameter to the parameter handler using a class type.final <A,B extends A>
voidCommandFramework.addCustomParameter(@NotNull String value, @NotNull Function<CommandArguments, B> function) Adds a custom parameter to the parameter handler.<T> voidParameterHandler.addCustomParameter(@NotNull Class<T> clazz, @NotNull Function<CommandArguments, T> function) <A,B extends A>
voidParameterHandler.addCustomParameter(@NotNull String key, @NotNull Function<CommandArguments, B> function) voidMessage.setMessage(BiFunction<Command, CommandArguments, Boolean> message) Set a custom error message. -
Uses of CommandArguments in me.despical.commandframework.cooldown
Methods in me.despical.commandframework.cooldown with parameters of type CommandArgumentsModifier and TypeMethodDescriptionbooleanCooldownManager.hasCooldown(CommandArguments arguments) booleanCooldownManager.hasCooldown(CommandArguments arguments, Command command, Method method) -
Uses of CommandArguments in me.despical.commandframework.utils
Constructors in me.despical.commandframework.utils with parameters of type CommandArguments