Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework brigadier manager to support all commands and subcommands with tab-completion #283

Open
wants to merge 9 commits into
base: 1.6.x
Choose a base branch
from

Conversation

r59q
Copy link
Contributor

@r59q r59q commented Jul 2, 2024

Reworks the brigadier manager allowing for sub commands to be tab-completed.
demo

Before commands such as /f money [action] would create a warning telling the user there was an error in the command.

As before the special cases of CmdAnnounce and CmdChat will have their own BrigadierProviders, allowing for defining the command tree at the FCommand level.

The BrigadierManager rework achieves this by building a deeper command tree recursively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant