goop vault charge <player> <amount>
Fails and doesnt do anything if the player doesnt have enough cash
The players whose inventory will be checked, and score changed.
Supports a few vanilla selectors.
Positive, integer number to charge from the player's account.
This command is insanely simple, and meant to be used with the Chaining Commands feature of GooP.
You may specify a 'fail' message for this command in the config:
VaultLowBalance: '&cYour balance is not enough, you need &6$%charge% &cto use this'
/goop vault charge cocopad 10 oS: give cocopad bread 1
Gives cocopad a loaf of bread for $10, and shows the message specified in the config if they dont have enough $$