ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 175 forks source link

Dye Shop Signs #466

Closed akdukaan closed 2 years ago

akdukaan commented 3 years ago

Is your feature request related to a problem? Please describe.

Dying shop signs isn't as smooth as I'd like it to be. When the Chestshop configuration ALLOW_SIGN_CHEST_OPEN is set to true, players are able to right-click a shop sign to open the container. If the player is holding dye, the container will open instead of dying the sign. When ALLOW_SIGN_CHEST_OPEN is set to false, I am able to dye the signs, but the signs also tell me the TRADE_DENIED_ACCESS_PERMS message which can get spammy when dying multiple signs at a time.

Describe the solution you'd like

If the player right-clicks on their own shop sign and is holding dye, they should dye the sign instead of attempting to open the container or trade with themselves.