BentoBox icon indicating copy to clipboard operation
BentoBox copied to clipboard

Bypass Protect Enter Message

Open Mithranduil opened this issue 3 years ago • 11 comments

Is your feature request related to a problem?

no

Describe the solution you'd like.

add an message for bypass protect to allow players if they enter an island to see instantly, if that island is protected or not.

players with the permissions aoneblock.mod.bypassprotect should see that message.

Describe alternatives you've considered.

customzie the enter island message (ENTER_EXIT_MESSAGES), but theres no solution to getPermissions

Agreements

  • [X] I have searched for and ensured there isn't already an open issue regarding this.
  • [X] I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

No response

Mithranduil avatar Jan 04 '23 08:01 Mithranduil

If you have that permission, then you would see that message for every island, always. Is that the intent? Will it be that useful?

tastybento avatar Jan 30 '23 01:01 tastybento

it should only show if players enter an protected island, no message if there is no protections

Mithranduil avatar Jan 31 '23 04:01 Mithranduil

Hmm, i don't understand this... All bentobox islands are protected. What do you mean with not protected islands?

BONNe avatar Jan 31 '23 08:01 BONNe

Hey, sorry, the word "protected" is wrong, better is the option to say "locked".

players can lock there islands in there settings, so other poeple cant access them (https://prnt.sc/GEN9_i2r-bOY)

so this message/warning should only appear if an staffmember get onto an island that is locked (with the bypass permissions)

Mithranduil avatar Jan 31 '23 12:01 Mithranduil

Well, that is a different question :D Now it is much clearer what you meant with your request.

BONNe avatar Jan 31 '23 12:01 BONNe

I am pretty sure that if a user can bypass the island lock, they will still see the message that the island is locked when they enter it. (Reference is protection.locked). So, I think this is already supported.

tastybento avatar Jan 31 '23 18:01 tastybento

Yes, I know that, but the point is that players with the Bypass Permission can enter locked islands and still get a message in chat that the island they are entering is currently locked. That would be practical

Mithranduil avatar Feb 01 '23 00:02 Mithranduil

This is what happens now - if you have the bypass permission and enter a locked island then you get a message in chat that the island you are entering is currently locked. Have you tried it? Maybe I am still misunderstanding...

tastybento avatar Feb 06 '23 21:02 tastybento

testet it with 2 accounts, first account set the island settings only for members, go with my second account there to enter the island per /tpa and i didnt get any message or something

Mithranduil avatar Mar 05 '23 22:03 Mithranduil

Can you explain more what you set? This is island locking right? So i'm not sure what is being set here. Also, what perms did the account that was entering have? If you've locked the island and a normal player tries to enter, they cannot. If a Mod or Admin enter then they can but will see the status that the island is locked. Are you actually locking the island?

tastybento avatar Mar 06 '23 02:03 tastybento

hey tasty, i lock the island in the oneblock settings, so only members that are got permissions can enter the island (Screenshot: https://prnt.sc/bEaYbrbGj88u), but players with permissions to enter these islands (aoneblock.mod.bypasslock) didnt get any message or something that this island is currently not open for all players

Mithranduil avatar Mar 06 '23 13:03 Mithranduil