Boa noite amigos,
estou batendo cabeça para configurar esse plugin, gostaria que o player tenha a possibilidade de vender o inventario todo ao clicar na placa.
lembro que fiz isso uma vez, porem não estou conseguindo novamente..
Minha config :
#Do you want to turn off the automatic updates of ChestShop?
#How large should the internal caches be?
#(In 1/1000th of a second) How often can a player use the shop sign?
#Do you want to allow using shops to people in creative mode?
#If true, people will buy with left-click and sell with right-click.
#If true, people will be able to buy/sell in 64 stacks while holding the crouch button.
#What can you do by clicking shift with SHIFT_SELLS_IN_STACKS turned on? (ALL/BUY/SELL)
#Can shop's chest be opened by owner with right-clicking a shop's sign?
#If true, when you left-click your own shop sign you won't open chest's inventory, but instead you will start destroying the sign.
#If true, if the shop is empty, the sign is destroyed and put into the chest, so the shop isn't usable anymore.
#If true, if the REMOVE_EMPTY_SHOPS option is turned on, the chest is also destroyed.
#A list of worlds in which to remove empty shops with the previous config. Case sensitive. An empty list means all worlds.
#First line of your Admin Shop's sign should look like this:
#The economy account which Admin Shops should use and to which all taxes will go
#Percent of the price that should go to the server's account. (100 = 100 percent)
#Percent of the price that should go to the server's account when buying from an Admin Shop.
#Amount of money player must pay to create a shop
#How much money do you get back when destroying a sign?
#Should we block shops that sell things for more than they buy? (This prevents newbies from creating shops that would be exploited)
#Do you want to allow other players to build a shop on a block where there's one already?
#Can shops be used even when the buyer/seller doesn't have enough items, space or money? (The price will be scaled adequately to the item amount)
#Can '?' be put in place of item name in order for the sign to be auto-filled?
#Do you want to show "Out of stock" messages?
#Do you want to show "Full shop" messages?
#Can players hide the "Out of stock" messages with /cstoggle?
#Can players hide the "Full shop" messages with /cstoggle?
#Do you want to show "You bought/sold... " messages?
#Do you want to show "Somebody bought/sold... " messages?
#If true, plugin will log transactions in its own file
#Do you want ChestShop's messages to show up in console?
#Do you want to stack all items up to 64 item stacks?
#Do you want to use built-in protection against chest destruction?
#Do you want to have shop signs "stick" to chests?
#EXPERIMENTAL: Do you want to turn off the default protection when another plugin is protecting the block? (Will leave the chest visually open - CraftBukkit bug!)
#Do you want to turn off the default sign protection? Warning! Other players will be able to destroy other people's shops!
#Do you want to disable the hopper protection, which prevents the hoppers from taking items out of chests?
#Do you want to protect shop chests with LWC?
#Do you want to protect shop signs with LWC?
#Should the chest's LWC protection be removed once the shop sign is destroyed?
#Do you want to only let people build inside regions?
#Do you want to only let people build inside region flagged by doing /region regionName flag allow-shop allow?
#Do you want ChestShop to respect WorldGuard's chest protection?
#Do you want to deny shop access to unlogged users?
#Do you want to allow shop access to unregistered users? (Example: registration is optional)
#How much Heroes exp should people get for creating a ChestShop?
#Add icons and make item names hoverable in transaction messages when ShowItem is installed?
#What containers are allowed to hold a shop? (Only blocks with inventories work!)
#Do you want to allow using shops to people who have access to it due to their permissions? (owners are always ignored)
#How many decimal places are allowed at a maximum for prices?
#Should all shop removals be logged to the console?