-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Rank Management #2220
Rank Management #2220
Conversation
The BentoBox command to manage ranks is
Adding ranksThe rank reference is the locale reference for the rank. Default ones are found in the
If you use tab-complete, it will suggest the default references that are currently unregistered. The rank value determines the rank order. Anything less than 0 is banned. 0 is a visitor, and anything above 0 can be an island rank. As you can see, there are some ranks registered by default that are not currently used. This needs to be a whole number. Removing ranksRemove a rank by just referencing the rank reference. You should be able to use tab-complete to get a list. If the coop or trusted ranks are removed, and the server restarted, the associated commands to coop or trust someone will not be available for anyone. The commands are linked to the reference and not the rank value, so, you should be able to change the rank value. Ranks List Example
Database storageThe ranks are stored in the database in the Ranks table/folder. If you are using JSON, it will look something like this:
The values are read when the server starts and written when the add/remove command is used. |
Hi tastybento. I have a question about So, if someone removed coop and trust ranks, and added their own ranks in between. How would that player be invited to the island without losing their own island? |
Yes, this part of the ranks system is undeveloped. Right now, the only way to get into these ranks is for the promote command to be used or for an admin to "gift" the rank via some other way, like a command shop. If we get requests, we can build on it. Right now, this PR is mainly to put the infrastructure in to be able to remove and add the ranks. Next work can be add ways to use them! |
Kudos, SonarCloud Quality Gate passed! |
This enables ranks to be managed via commands. For example, an admin could remove the Trusted rank, as requested in #1798