Economy 2.3

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

  1. scruffyboy12
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/scruffyboy13/Economy
    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)"
     
    Debek, SebasG_, Abola and 2 others like this.

Recent Updates

  1. Economy v2.3
  2. Economy v2.2
  3. Economy v2.1

Recent Reviews

  1. Ferenc1234
    Ferenc1234
    5/5,
    Version: 2.3
    Excelent plugin!
    Can you add "silent" money giving?
    Somethink like /money give Steve 300 -s
    I will be happy if you can add it :)

    Thank you
  2. myunco
    myunco
    5/5,
    Version: 2.3
    Good plugin. will you still update it? how do I submit translations in other languages?
  3. MynameisTg
    MynameisTg
    3/5,
    Version: 2.3
    Memmory leak with mysql .
  4. joshwenke
    joshwenke
    5/5,
    Version: 2.3
    Good plugin. Simple and what I was looking for. Would be nice for virtual wallet support.
    1. scruffyboy12
      Author's Response
      Thanks, if you could message me on spigot with the link to this virtual wallet plugin I can see about adding support for it
  5. AngelFireLA
    AngelFireLA
    5/5,
    Version: 2.2
    exactly what I neeeded, an easy replacement to essentials' economy because it has all commands
  6. detractor
    detractor
    5/5,
    Version: 2.2
    It's good plugin economy, all functionality work, thank you! Add migrate data to mysql!
  7. Tutur269
    Tutur269
    4/5,
    Version: 2.2
    please find a way to work with command block or commanded sign with /money give @p or @s
  8. Doodlesplayz
    Doodlesplayz
    5/5,
    Version: 2.2
    I love this plugin! Adding a way to give all players currency (like @a) would be great.
    Is there anyway I can contact you?
  9. Dynitios
    Dynitios
    5/5,
    Version: 2.2
    Really simple and clean, nice work! If I could suggest a feature, I would like to have a configurable option to specify how many decimals money can have.

    For example, on my server the currency is 'tokens', and you can't have 0.5 token, only full numbers. Would be nice if this can be configured so that you can't use decimals in /pay and the /balance doesn't show the decimals.
  10. admin888
    admin888
    5/5,
    Version: 2.2
    Really good plugin, but is it possible so you could make it to where I can use the @a to give all online players daily for playing?
    1. scruffyboy12
      Author's Response
      Thanks for the review, i'll try to add an @a soon