cloud
cloud copied to clipboard
Command framework & dispatcher for the JVM
I don't know if this has been suggested before, but I thought I would mention it to bring it under consideration for 2.0.0, as it would require a behavioral change....
This PR takes the goal of adding type-safe sender type casts such that following code can be written: ```java var manager = new ExampleCommandManager(); var command = manager.commandBuilder("example") .senderType(Subtype.class) .handler(ctx...
When using a custom argument parser, it looks like parameters configured using annotations do not get used. What I do: 1. Register the annotation so that it is translated to...
There's a hard limitation that a parser can only provide suggestions for one argument being typed. This is because as input to suggestions, only a single String can be provided....
Instead of having the requirement be a property of the argument, have it be stored in the command tree together with the argument. Argument registration would then look something like:...
Aliases of literal arguments do not show up in the command suggestions for Brigadier. The commands do, however, still work if you use the aliases. I had a little chat...
On platforms like Bukkit and Paper where Brigadier is optional we should have a way to specify certain commands to not be registered to Brigadier. On platforms like Velocity where...
The brigadier entity selector types allows for spaces whereas the cloud entity selector parser does not.
Bumps asm from 9.3 to 9.4. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.ow2.asm:asm&package-manager=gradle&previous-version=9.3&new-version=9.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...