I'm not sure if this is possible yet due to server/client inventories, but I have seen other plugin access user's inventories, so it should be do-able.
Rather than using signs for user shops, I think using chests would be more more intuitive and user-friendly. All one needs to do to set up a shop is create two chests, one for selling and one for buying. Any items for sale are placed in the BUY chest so that users can buy directly from it's inventory. An empty SELL chest is created so users can drop their goods into it.
All prices can be adjusted via command line per user store.
A sign placed next to (or in between) these two chests could provide the store_name value for command line editing. When a user clicks the sign, it can either provide price lists or tell them a command to access list pages.
If a user attempts to buy an item that they don't have the money for, it is taken from their inventory and moved back into the chest. If a user sells something that is not sellable, it goes back into their inventory.
I'm not sure if this is possible yet due to server/client inventories, but I have seen other plugin access user's inventories, so it should be do-able.
Rather than using signs for user shops, I think using chests would be more more intuitive and user-friendly. All one needs to do to set up a shop is create two chests, one for selling and one for buying. Any items for sale are placed in the BUY chest so that users can buy directly from it's inventory. An empty SELL chest is created so users can drop their goods into it.
All prices can be adjusted via command line per user store.
A sign placed next to (or in between) these two chests could provide the store_name value for command line editing. When a user clicks the sign, it can either provide price lists or tell them a command to access list pages.
If a user attempts to buy an item that they don't have the money for, it is taken from their inventory and moved back into the chest. If a user sells something that is not sellable, it goes back into their inventory.