BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
335 stars 138 forks source link

Riptide & Elytra island settings #386

Closed TheWranger closed 5 years ago

TheWranger commented 5 years ago

Is your feature request related to a problem? Please describe. There's currently no way for island owners to stop people from using elytras and riptide tridents from reaching areas that the owner might not want them to reach. Obviously the owner can build with this in mind, but it would still allow for more freedom with them more under control.

Describe the solution you'd like A setting to control to control the usage of riptide tridents while inside the island and a setting to control elytra usage while inside the island. Maybe there could be an option in the server config for toggling if the elytra setting will also manage whether people can enter the person's island while flying with an elytra or not.

Describe alternatives you've considered Haven't thought of any alternatives.

tastybento commented 5 years ago

Hmm. Interesting. Should be okay. I'll need to check into how to prevent these. We may have to do some kind of warning when equipping Elytra in a disabled area that it won't work so that players don't throw themselves into the void by accident.

tastybento commented 5 years ago

I cannot find a way to cancel riptide. It is done client-side so there doesn't appear to be a way to prevent it.

I added Elytra protection. It warns players when they teleport to an island that its prevented. It could cause unforeseen deaths otherwise.