wargamer / SignShop

A minecraft plugin allowing users to setup shops with signs
https://dev.bukkit.org/projects/signshop
MIT License
26 stars 52 forks source link

Get coordinates to linked container [Feature Request] #140

Closed EmanYm closed 2 years ago

EmanYm commented 2 years ago

As per the discussion on discord, here is my feature request

The idea is to make way to get the coordinates of the linked container or sign.

Use case: As a player market manager, we have a semi-strict 14 day inactivity policy. The player may have been on the server recently, but may not have restocked.

Reason: They might have actually restocked recently, but the item is sold out whenever I go to check, so it only appears to be innactive. Being able to go to the actual stock container and use core protect to check for interactions on the container would help determine if they really are neglecting their stall.

Suggestions:

((Alternatively, in the player that is making the interaction has the right permission node, you can add the coordinate information for the sign and container to the bottom of the left-click output. I think the /seen command from essentials has this feature.))

Buy \<item> for \<cost> Sign: x, y, z / stock: x, y, z This sign is protected

(If there are multiple signs or containers linked to each other, it might get messy in the display of information.)

Possible Future Plans