cloud
cloud copied to clipboard
Command framework & dispatcher for the JVM
may also affect 1.19.1
Brigadier's `SuggestionsBuilder#suggest(String, Message)` can be used to insert a tooltip on the suggestion: https://github.com/Mojang/brigadier/blob/872658c7372b47a2938f7a836cd33deebf8feb9a/src/main/java/com/mojang/brigadier/suggestion/SuggestionsBuilder.java#L53 Ideally, Cloud should be able to support these on supported platforms. The goal is this feature:...
The `final` keyword in the MinecraftHelp class is rendering impossible the extension of this class and the override of methods. For instance, symbols of these methods cannot be modified as...
Implements Cloud on Sponge 8. This differs from the previous draft (#51) as it uses the `Command.Raw` API instead of registering commands directly with Brigadier.
would be good if you could provide possibility to put a priority to classes annotated by CommandContainer, because now if i want to split suggestions, parsers and commands in different...
Needs clean up but this is something we should fix. Should we also check sender type possibly?
As noted this only properly works for arguments used a single time (as backwards compat uses arg index), however this works for all current arguments.
Add a sender type check when building a Brigadier command (fixes #202). Tested on Paper: ![gib in red](https://user-images.githubusercontent.com/19271280/139602641-48e01ac2-1794-4f01-8149-97b85f3a2e70.png)
Create new JDA Slash commands platform implementation. Creating this PR, but marking it as draft, so that I can receive feedback on it as I progress.