mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 22:31:56 +00:00
Allow multiple class files registering to same root alias - resolves #17
allows organizing categories of commands (staff etc)
This commit is contained in:
@@ -73,4 +73,10 @@ public class SomeCommand extends BaseCommand {
|
||||
sender.sendMessage("You got " + player.getPlayer().getName() + " - " + world.getName() + " - " + test + " - " + misc);
|
||||
}
|
||||
|
||||
|
||||
@Subcommand("testsub test1")
|
||||
@CommandCompletion("Foo")
|
||||
public void onTestSub1(CommandSender sender, String hi) {
|
||||
sender.sendMessage(hi);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user