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

Brigadier tab-complete support seems flaky with complex commands #7

Open
dasavick opened this issue Mar 5, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@dasavick
Copy link
Member

dasavick commented Mar 5, 2022

Commands having multiple patterns only work for the single something of the seemingly random pattern:

  • something <requiredValue> something1
  • something <requiredValue> something2
  • something <requiredValue> something3

Also, applicable for patterns with more arguments like:

  • something <requiredValue> something1 <required1> [optional1]
  • something <requiredValue> something2 <required1>
@dasavick dasavick added the bug Something isn't working label Mar 7, 2022
@dasavick
Copy link
Member Author

dasavick commented Feb 4, 2023

Real-life example:

@Executor
public BukkitResponse assign(CommandSender sender, @Arg Player target, @Arg QuestMeta quest, @Arg Option<QuestMeta> requires) {
	//
}

@Executor(pattern = "assign @a * *")
public BukkitResponse assign_all(CommandSender sender, @Arg QuestMeta quest, @Arg QuestMeta requires) {
	//
}

image

@dasavick
Copy link
Member Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant