Monee - A basic money datapack
Monee adds a basic money system that includes a deposit & banknote system. It allows you to make an economy. This datapack should be used on a server.
Features
- Wallet and Bank. Any money you earn will be placed in your wallet. When you die, the money in your wallet will be divided by three, this is configurable. To keep yourself from losing your money, place it in your bank.
- Banknotes. An item that when interacted with will give the user a certain ammount of money
- Earning money. When you kill a mob, you will gain a small ammount of money. Boss mobs will grant you larger ammounts of money.
- Configurable. By editing the "mon:config" function file, you can edit certain values. Save changes to the config by reloading and running the function (Money gained from mobs and bosses & the ammount of money lost on death)
Economy Commands
/trigger tutorial
Displays all available basic commands in chat/trigger Deposit set <ammount>
Moves a certain ammount of money from your wallet to your bank/trigger Withdraw set <ammount>
Moves a certain ammount of money from your bank to your wallet/trigger Banknote set <ammount>
Converts a certain ammount of money from your bank to a banknoteAdmin Commands
Setting, Adding, and Resetting Wallets & Banks
You can modify the wallets & banks of players by using the vanilla /scoreboard command. Below are some examples : - /scoreboard players set <player name here> wallet - /scoreboard players add <player name here> bank - /scoreboard players reset <player name here> wallet ('wallet' and 'bank' are interchangeable, 'wallet' will modify a persons wallet and 'bank' will modify a persons bank)Getting a Custom Banknote
To get a custom banknote use "/function mon:bank/give_note". There are some required arguments for this command that are listed below./function mon:bank/give_note {"value":50}
50 can be replaced with any integer (Non-decimal number)