Liscense: MIT https://opensource.org/licenses/MIT Author: SonosFuer
Money API for use in minetest
This mod adds a bottom line framework for in game money
Each player has an additional money attribute
Adds the amount specified by the amount value passed to the player passed. Returns true on success Returns false if ammount is <0 Returns false if player does not exist
Subtracts the amount specified by the amount value passed to the player passed. Returns true on success Returns false if ammount is <0 Returns false if player does not exist
Sets the value of a players bank
Returns the value of a players bank
Sends money from one player to another
/money send Sends money from yourseld to the specified player
/money give Adds money to players account, money is magically created and not obtained from anywhere Requires money_create privilage
/money take Removes money from players account, money vanishes Requires money_create privilage
/money check Prints how much money is in a players account