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

Tab completion not working properly #7080

Closed
Spruce-Studios opened this issue Nov 12, 2023 · 3 comments
Closed

Tab completion not working properly #7080

Spruce-Studios opened this issue Nov 12, 2023 · 3 comments

Comments

@Spruce-Studios
Copy link

Please explain your feature request to the best of your abilities:

Hello! The command /t shows correctly in the tab-completion menu. However, players who don't have access to things like /t claim and /t buytown can still see them in the tab completion menu!

This is the #1 reason players are leaving my server. They get overwhelmed by all the options, even though they're disabled and ones I don't want them to use.

Is there any way to hide these arguments from the menu? Please help!

@LlmDl
Copy link
Member

LlmDl commented Nov 12, 2023

Tab completion code runs on every character they type, if you want your server also doing permission tests with every letter they type, then your suggestion would be acceptable. The code is the way it is, assuming that most servers don't want permission tests happening that frequently.

@Spruce-Studios
Copy link
Author

Tab completion code runs on every character they type, if you want your server also doing permission tests with every letter they type, then your suggestion would be acceptable. The code is the way it is, assuming that most servers don't want permission tests happening that frequently.

Would it be added as an option in config then? Something like tab-complete-all: true
Defaulted to true, and when false it would run permission checks with each character

@LlmDl
Copy link
Member

LlmDl commented Nov 12, 2023

I'm currently accepting feature requests from people who are sponsors. Less than 1% of servers are sponsoring.

@LlmDl LlmDl closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants