*/
@Override
@EventHandler (ignoreCancelled=true, priority=EventPriority.MONITOR)
public void onShowCasePlayerBuyEvent(ShowCasePlayerBuyEvent scpbe) {
Shop shop = scpbe.getShop();
int added = ItemStackUtilities.addToInventory(scpbe.getPlayer().getInventory(), shop.getItemStack(), scpbe.getQuantity());
double price = added * shop.getPrice();
scs.getBalanceHandler().sub(scpbe.getPlayer(), price);
scs.getBalanceHandler().add(shop.getOwner(), price);
// ignore unlimited - later you can see how many were sold ^^
shop.setAmount(shop.getAmount() - added);
// set successfully message
scpbe.setMsgSuccessfully(Term.MESSAGE_SELL_COSTUMER.get(MaterialNames.getItemName(shop.getItemStack()), ""+added, ""+price));
}