Economy icon

Economy -----

A simple economy plugin that support MySQL and local playerdata support.



Economy
A simple and lightweight economy plugin that supports saving player data locally and to MySQL databases, and also has completely custom messages with no branding of the plugin's name.
This plugin requires Vault and will not be able to run without it.

PlaceholderAPI
This plugin has support for placeholders through the PlaceholderAPI plugin's Vault placeholders and can be setup by following these instructions.

Commands/Permissions
  • /balance
    • Aliases: /bal
    • Permission: economy.command.balance
  • /balancetop
    • Aliases: /baltop
    • Permission: economy.command.balancetop
  • /pay
    • Permission: economy.command.pay
  • /money
    • Aliases: /eco, /economy
    • Permission: economy.command.help
  • /money help
    • Permission: economy.command.help
  • /money give
    • Permission: economy.command.give
  • /money take
    • Aliases: /money remove
    • Permission: economy.command.take
  • /money set
    • Permission: economy.command.set
  • /money reload
    • Aliases: /money rl
    • Permission: economy.command.reload
    • Note: reload command will not reload the MySQL database, server restart is required for that.
TODO
Nothing! If anyone has any suggestions then I will happily add them.

Configure
Code (YAML):

# All intervals are in ticks (20 ticks = 1 second)
BalanceTopTimerInterval
: 1200
currencyNameSingular
: "Dollar"
currencyNamePlural
: "Dollars"
startingBalance
: 100.00
# Changing the locale will change wht format the money is in, see
# https://www.techonthenet.com/js/language_tags.php for examples.
locale
: "en-US"
# Note: The custom symbol may not work if minecraft doesn't allow that symbol.
#       The custom symbol may need to be in unicode format (e.g. \u26C3 for
#       dollar sign) to be able to work.
customSymbolEnabled
: false
customSymbol
: ""
mysql
:
  use-mysql
: false
  host
: "localhost"
  port
: 1111
  database
: "database"
  username
: "username"
  password
: "password"
suffixes
:
  # amount is multiplied by 10^number.
  # e.g. for k, the amount is multiplied by 10^3 (1,000)
  k
: 3
  K
: 3
  m
: 6
  M
: 6
  b
: 9
  B
: 9
  t
: 12
  T
: 12
  q
: 15
  Q
: 15
messages
:
  prefix
: "&bEconomy &f>>"
  nopermission
:
     - "%prefix% &4You don't have permissions to do that!"
  playersOnly
:
   - "%prefix% &cOnly players can run that command!"
   
  balance
:
    usage
:
     - "%prefix% &cUsage: /balance"
      - "%prefix% &cUsage: /balance {player}"
    noAccount
:
     - "%prefix% &cYou don't have an account!"
    balance
:
     - "%prefix% &aYour balance is &e%balance%&a."
    otherNoAccount
:
     - "%prefix% &5%player% &cdoesn't have an account!"
    otherBalance
:
     - "%prefix% &5%player%&a's balance is &e%balance%&a."
 
  money
:

    invalidSubCommand
:
     - "%prefix% &cThat sub-command doesn't exist!"
 
    give
:
      usage
:
       - "%prefix% &cUsage: /money give {player} {amount}"
      otherDoesntExist
:
       - "%prefix% &5%player% &cdoesn't exist!"
      otherNoAccount
:
       - "%prefix% &5%player% &cdoesn't have an account!"
      invalidAmount
:
       - "%prefix% &5%amount% &cis invalid!"
      sent
:
       - "%prefix% &aYou sent &e%amount% &ato &5%player%&a."
      sentMultiple
:
       - "%prefix% &aYou sent &b%total% &aplayers &e%amount%&a."
      received
:
       - "%prefix% &aYou were given &e%amount%&a."
     
    help
:
      usage
:
       - "%prefix% &cUsage: /money help"
      message
:
       - "%prefix% &eCommands:"
        - "%prefix% &b/money help"
        - "%prefix% &b/balancetop"
        - "%prefix% &b/balance"
        - "%prefix% &b/balance {player}"
        - "%prefix% &b/pay {player} {amount}"
 
    reload
:
      usage
:
       - "%prefix% &cUsage: /money reload"
      reloaded
:
       - "%prefix% &aYou reloaded the economy."
 
    set
:
      usage
:
       - "%prefix% &cUsage: /money set {player} {amount}"
      otherDoesntExist
:
       - "%prefix% &5%player% &cdoesn't exist!"
      otherNoAccount
:
       - "%prefix% &5%player% &cdoesn't have an account!"
      invalidAmount
:
       - "%prefix% &5%amount% &cis invalid!"
      setter
:
       - "%prefix% &5%player%&a's balance was set to &e%balance%&a."
      setterMultiple
:
       - "%prefix% &b%total% players' balances were set to &e%balance%&a."
      set
:
       - "%prefix% &aYour balance was set to &e%amount%&a."
 
    take
:
      usage
:
       - "%prefix% &cUsage: /money take {player} {amount}"
      otherDoesntExist
:
       - "%prefix% &5%player% &cdoesn't exist!"
      otherNoAccount
:
       - "%prefix% &5%player% &cdoesn't have an account!"
      invalidAmount
:
       - "%prefix% &5%amount% &cis invalid!"
      insufficientFunds
:
       - "%prefix% &5%player% &chas insufficient funds!"
      take
:
       - "%prefix% &e%amount% &awas taken from &5%player%&a's account."
      takeMultiple
:
       - "%prefix% &e%amount% &awas taken from &b%total% &aplayers' accounts."
      taken
:
       - "%prefix% &e%amount% &awas taken from your account."
 
  pay
:
    usage
:
     - "%prefix% &cUsage: /pay {player} {amount}"
    otherDoesntExist
:
     - "%prefix% &5%player% &cdoesn't exist!"
    noAccount
:
     - "%prefix% &cYou don't have an account!"
    otherNoAccount
:
     - "%prefix% &5%player% &cdoesn't have an account!"
    cannotPaySelf
:
     - "%prefix% &cYou cannot pay yourself!"
    invalidAmount
:
     - "%prefix% &5%amount% &cis invalid!"
    insufficientFunds
:
     - "%prefix% &cYou have insufficient funds!"
    paid
:
     - "%prefix% &aYou paid &5%player% &e%amount%&a."
    received
:
     - "%prefix% &aYou were paid &e%amount% by &5%player%&a."
 
  top
:
    usage
:
     - "%prefix% &cUsage: /balancetop"
      - "%prefix% &cUsage: /balancetop {number}"
    noAccounts
:
     - "%prefix% &cThere are no accounts!"
    invalidTop
:
     - "%prefix% &5%top% &cis invalid!"
    notEnoughPlayers
:
     - "%prefix% &cThere are not enough players!"
    message
:
     - "%prefix% &b%rank%. &a%player%: &b%balance%"
    self
:
     - "%prefix% &b%rank%. &a%player%: &b%balance% (YOU)"
 
Resource Information
Author:
----------
Total Downloads: 61,056
First Release: Dec 24, 2020
Last Update: Aug 27, 2021
Category: ---------------
All-Time Rating:
42 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings