commands
commands copied to clipboard
Java Command Dispatch Framework - (Bukkit, Spigot, Paper, Sponge, Bungee, JDA, Velocity supported, generically usable anywhere)
This should define: ``` /feature help /feature foo hello /feature foo world ``` with the following ```java @CommandAlias("feature") public class FeatureCommand extends BaseCommand { @HelpCommand public void onHelp(CommandHelp help) {...
A format supported by Brigadier for Minecraft is: ``` /bossbar add /bossbar set color /bossbar set name /bossbar remove ``` This is complicated to support, but desirable for defining a...
If a subcommand is reported as @Default, it should show the root command as the preferred access pattern in docs, not the subcommand itself.
given: ```java @Subcommand("cgset|gset") @Description("Sets residence permissions for a residence group (all players in the group get the permissions), using a chest style interface") public void onResChestGFlagSet(Player player, @Flags("admin") Residence res,...
Like #121, replace the Guava multimaps with stuff from https://github.com/aikar/util
We need a page on the wiki that takes the selling points of ACF (ie in the README) and breaks it down into simple wordings on the basics of ACF....
Given: ```java class A implements Foo {} class B implements Foo {} class Command extends BaseCommand { @Dependency Foo foo; } manager.registerDependency(Foo.class, new A()); BaseCommand command = new Command(); manager.registerCommand(command);...
Provide first class support for JDA (Java Discord API) WIP has been made.
Goal is to automatically register ACF commands into Brigadier on Sponge and Bukkit. https://gist.github.com/Dinnerbone/7370a2846953eee2d8fc64514fb76de8