mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-20 14:21:31 +01:00
A listener can be added to a flag. This listener is the same as a panel item listener. When the settings flag is clicked, it'll call the listener. There is a default listener. Right now the default is called UpDownClick.java. This makes the rank go up when you left click and down when you right click. Another implementation may be to just have the rank loop around with left clicks. I added two more ranks - Admin and Mod. These are special ranks that have a value above owner. If a player is given this rank, they can bypass protections. This will avoid the need to use permissions and also enable islands to be set up that for example, only Admins can edit, but Mods cannot. So, it's now possible for an owner to lock out team members from the island as well as visitors. This is a bit weird and so more click classes should be created. For example, one that just toggles between Owner and Visitor. Currently, only an island owner can change settings, but this could be expanded to allow members. Also, it will need to be expanded to allow Admins. |
||
---|---|---|
.. | ||
java/us/tastybento/bskyblock |