Niclas

Results 4 comments of Niclas

Try ``` @CommandAlias("myplugin") class MyPluginCommand : BaseCommand() { @Default @Subcommand("reload") fun onReload(sender: CommandSender) { // Reload } } ```

I mean you can just define a command like this ``` @CommandAlias("command") public void onSomeCommand(CommandSender sender, String someArgument) { sender.sendMessage("Argument: "+someArgument) } ``` and then if you did /command blah...

As far as I know there are only 6 scopes: - compile - provided - runtime - test - system - import (https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#dependency-scope)