utarwyn / EnderContainers

A modern and customizable Bukkit plugin to divide enderchest into multiple inventories.
https://spigotmc.org/resources/4750/
BSD 3-Clause "New" or "Revised" License
27 stars 14 forks source link

Opening Vanilla directly if no permission for extra chests #120

Open MageAtoru opened 3 years ago

MageAtoru commented 3 years ago

Is your feature request related to a problem? Please describe. Feature request: Opening Vanilla enderchest for players who don't have permission for extra enderchests

Describe the solution you'd like When a player without extra enderchests permissions clicks on a enderchest it should open the vanilla ender chest directly instead of the menu where the only option the player has is the vanilla chest

utarwyn commented 3 years ago

Hello @MageAtoru, I have included your feature idea in the next release (v2.2.1) which will be out soon!

You can try it now by downloading latest development build (may be unstable): https://ci.utarwyn.fr/job/EnderContainers/lastSuccessfulBuild/

But maybe I should make this behavior configurable? What do you think?

utarwyn commented 3 years ago

In order to do not disturb servers with that new feature, I have limited that behavior when onlyShowAccessible is equal to true in the configuration. It does not make sense to display the main menu with only one item, but if locked chests are displayed it could make sense.

In the next feature release I will add a new field to configure this behavior more precisely. (openChestIfOnlyOneAccessible that defaults to true for example)