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

add ability to disable suggesting subcommand alias #345

Open
SfenKer opened this issue Dec 27, 2023 · 0 comments
Open

add ability to disable suggesting subcommand alias #345

SfenKer opened this issue Dec 27, 2023 · 0 comments

Comments

@SfenKer
Copy link
Contributor

SfenKer commented Dec 27, 2023

Example:

@Execute(
  name = "join",
  aliases = {
    @Alias("dolacz"),
    @Alias(value = "j", suggest = false)
  }
)
public void command(@Context Player player) {
...
}

Meaning:
Only join and dolacz is suggested for player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants