-
-
Notifications
You must be signed in to change notification settings - Fork 956
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
Added permission node for Nickname Prefix bypass #4995
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I think essentials.nick.prefix.hide
is a bit clearer of a name for the permission. Otherwise, I like this feature and would be happy to merge it if you're happy with changing the permission name.
I feel like |
Per suggestion from @Evidentsinger14, permission has been updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the permission node with Evident's suggestion
Removing ternary/conditional for if/else statement to increase readability Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Information
This PR closes #4994.
Details
Proposed feature:
Allow a permission to determine whether the nickname prefix gets applied to a group or user. It also removes a statement that is not true in the essentials config, the nickname prefix is NOT included in the nickname max length.
Environments tested:
OS: Windows 11
Java version: 17.0.2
Demonstration:
Before change: https://i.imgur.com/HZaKazT.png
After change: https://i.imgur.com/QyitAPl.png