-
Notifications
You must be signed in to change notification settings - Fork 1
Economy
This is one of the main modules in GeiloUtils. It adds a full economy system to Minecraft which can be very useful for servers.
Commands for the economy system:
Usercommands:
- /pay
- /balance
- /withdraw
- /deposit
Admincommands:
- /geiloeconomy
WARNING: /deposit and /withdraw are only useable if you have the God ol' Currency mod installed. This is why they are disbaled by default.
Removes money from your balance and sends it to another player.
Syntax: /pay <player> <amount>
Shows you your current balance
Syntax: /balance
Removes money from your bankl account and gives it to you as Good ol' Currency items.
Syntax: /withdraw <amount>
Takes every Good ol' Currency items in your inventory and converts them to virtual money on your bank account
Syntax: /deposit
This is a pretty usesell command currently. Currently you can only enable and disable the Good ol' Currency integration with the command
Syntax: /geiloeconomy config currency <true/false>
The auto pay system is a fulyl configureable system to automatically give players money. First you will have to set a baseIncome that every player gets. This is the amount of money someone gets if he doesn't have a special rank (baseTierIncome). Then you will have to set how often the players get their money in seconds (paymentTimeInSeconds). The base mulitplier then multiplies the amount someone would get without a special multiplier by the multiplier and will then give all the online player that amount.
If you want to give player who have a special permission more or less money you can also do that. For this you can just edit the permPaymentMap option in the economy.json.
Just add stuff in the following syntax: PERMISSION_NAME[STRING]:AMOUNT_TO_GET[INT]
. Check the wiki entry Permissions & Ranks for more informations on how to create permissions and ranks.
There are a few things you can change in the config file (Economy.json)
- enabled - Enabled or disables the economy module
- startingMoney - the amount of money each user gets on the first join
- goodOlCurrencyIntegration - enables or disables Good ol' Currency integration (/withdraw, / deposit)
- enablePlayerNameIdentification - Currently not used. May be used later.
- enablePlayerNameIdentification - This enabels a economy sub-module that pays every player a given amount of money each given time in seconds
- paymentTimeInSeconds - How often players should receive money
- baseTierIncome - The base amount of money each player should get if he doesn't have any ranks.
- baseMultiplier - The multiplier that is used to calculate how much money each player should get (amount to get = baseAmount * baseMultiplier)
- permPaymentMap - Used to give player who have a rank more/less money
- buyItems - Useless
- sellItems - Useless