Get coordinates to linked container [Feature Request]
EmanYm opened this issue ยท 0 comments
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:
- Permission based access.
signshop.coords.get
or something. - set a piece of paper, a book or book and quill as the default 'tool' for this interaction. Perhaps with an option to change it in the config?
- Put the coordinates in the chat like you do with all other plugin messages. Include the dimension if you can.
((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
- Maybe allow the coordinates to be clicked to teleport the user to the container (if it is safe to teleport). This can be a separate permission node (signshop.coords.tp)?
I know that CoreProtect allows me to teleport to the location of events, including across dimensions. That might be a source for how to do that.