Economy - Geilokowski/GeiloUtils GitHub Wiki

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:

  1. /pay
  2. /balance
  3. /withdraw
  4. /deposit

Admincommands:

  1. /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.


/pay

Removes money from your balance and sends it to another player.

Syntax: /pay <player> <amount>

/balance

Shows you your current balance

Syntax: /balance

/withdraw

Removes money from your bankl account and gives it to you as Good ol' Currency items.

Syntax: /withdraw <amount>

/deposit

Takes every Good ol' Currency items in your inventory and converts them to virtual money on your bank account

Syntax: /deposit


/geiloeconomy

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

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)

  1. enabled - Enabled or disables the economy module
  2. startingMoney - the amount of money each user gets on the first join
  3. goodOlCurrencyIntegration - enables or disables Good ol' Currency integration (/withdraw, / deposit)
  4. enablePlayerNameIdentification - Currently not used. May be used later.
  5. enablePlayerNameIdentification - This enabels a economy sub-module that pays every player a given amount of money each given time in seconds
  6. paymentTimeInSeconds - How often players should receive money
  7. baseTierIncome - The base amount of money each player should get if he doesn't have any ranks.
  8. baseMultiplier - The multiplier that is used to calculate how much money each player should get (amount to get = baseAmount * baseMultiplier)
  9. permPaymentMap - Used to give player who have a rank more/less money
  10. buyItems - Useless
  11. sellItems - Useless
⚠️ **GitHub.com Fallback** ⚠️