Adds in an item, and several commands to add a functional economy. I suggest the bigger stacks mod to allow coins to go over the 64 stack limit. Made using Mcreator
Commands:
/gain (entity) (amountToGain)
adds the amount of coins listed to a players wallet.
/lose (entity) (amountToGain)
subtracts the amount of coins listed from a players wallet.
/wallet
shows the amount of money currently in a players wallet. Sends a message if wallet doesnt contain enough money.
/withdraw (amount)
Adds the amount of coins desired as a physical item to a players inventory Sends a message if wallet doesnt contain enough money.
Items:
God Coin - a simple item that goes into a players wallet when right clicked.