Sueta
SI

SimplisticEconomy - Lightweight MySQL economy

1.0

Optimized, lightweight economy plugin with vault support

·Plugin

SimplisticEconomy

This economy plugin aims to be simple, easy to configure, optimized, fast and reliable. It's an economy plugin with ONLY MySQL (at the moment). It is designed around vault, so no UUIDs support.


/baltop


/balance

Help

Command | Permission | Description
/eco pay <player> <amount> | se.pay | Pays a player from your own money
/eco balance [player] | se.balance | Checks your balance or other's balance
/eco balancetop | se.balancetop | Checks your balance or other's balance
/eco give <player> <amount> | se.give | Gives player money
/eco set <player> <amount> | se.set| Sets the player's balance

Aliases for /eco balance: /bal, /balance, /money
Aliases for /eco balancetop: /baltop, /moneytop
Aliases for /eco pay: /pay

Config.yml

# Storage Section
# Here you can specify where the player profiles will be saves
# There is one option: MYSQL
# MYSQL - will save the profile to the specified database
storage:
  type: MYSQL
  # MySQL details (will be used only if the storage type is set to MYSQL)
  # The MySQL user
  username: root
  # The MySQL password
  password: ''
  # The MySQL host
  host: localhost
  # The MySQL port
  port: 3306
  # The MySQL database
  database: economy
  # The MYSQL table
  table: economy

# Economy section
economy:
  # The balance the players will start with
  start-balance: 0.0
  currency-singular: 'dollar'
  currency-plural: 'dollars'

messages.yml

############################################################
# +------------------------------------------------------+ #
# |                   Plugin Messages                    | #
# +------------------------------------------------------+ #
############################################################
# General Command Messages
no-permission: "&cYou do not have permission to execute this command."
something-went-wrong: "&cSomething went wrong while attempting to execute this command."
too-few-arguments: "&cToo few arguments"
too-many-arguments: "&cToo many arguments"
usage: "&cUsage: %usage%"
not-a-number: "&c'%string%' is not a number!"
confirm: "Type &6/%base_command% confirm &7to confirm."
confirm-desc: "Confirms an action"
no-confirmation: "No action to be confirmed."
no-console: "This command can only be executed by players!"
help-header: "&7----- &6SimplisticEconomy Help &7-----"
help-command: "&e/%command% &f- &7%description%"

############################################################
# +------------------------------------------------------+ #
# |                    User Commands                     | #
# +------------------------------------------------------+ #
############################################################
# Pay command
not-enough-money: "&cInsufficient funds"
must-be-positive: "&cAmount must be greater than 0"
you-cannot-pay-yourself: "&cYou cannot send money to yourself"
pay-command-description: "Pays a player from your own money"
pay-command-sent: "&7You sent &6%amount% &7to &6%player% "
pay-command-received: "&7You have received &6%amount% &7from &6%player%"

# Balance command
balance-command-description: "Checks your balance or other's balance"
balance-command-own: "&7Your balance is &6%amount% %currency%."
balance-command-other: "&6%player%'s &7balance is &6%amount% %currency%."

# Balance top
balance-top-command-description: "Checks your balance or other's balance"
balance-top-command-header: "&7----- &6Top Balance Holders &7-----"
balance-top-command-player: "&7&l%index%. &f%player% &6- &e$%balance%"

############################################################
# +------------------------------------------------------+ #
# |                    Admin Commands                    | #
# +------------------------------------------------------+ #
############################################################
# Give command
give-command-description: "Gives player money"
give-command-sent: "&7You gave &6%amount% &7to &6%player% "
give-command-received: "&7You have received &6%amount% &7from &6%player%"

# Set command
set-command-description: "Sets the player's balance"
set-command-set: "&7You &6%player%&7's balance to &6%amount%"
set-command-received: "&7You had your balance set to &6%amount% &7by &6%player%"

The source code is available on GitHub: https://github.com/PatoTheBest/SimplisticEconomy

That's pretty much to it! :)
Please be sure to report any issues if you encounter.

Similar projects

Plugin →