BankSystem

Official Plugin Compatibility: 1.8, 1.9, 1.10, 1.11, 1.12, 1.13
Requires Vault and Economy System compatible with Vault
For GUI you can use DeluxeMenus for now
Download PlaceholderAPI to use our placeholders
%banksystem_name% - Shows the players name
%banksystem_balance% - Shows the players bank balance.
%banksystem_pocket% - Shows the players pocket balance.
%banksystem_total% - Shows the players total balance.
Why BankSystem?
BankSystem allows you to safely store your money in other to avoid overspending. For example this can be used for your market shops so you don't end up losing all your money if your shop have some very favorable trades.
 
↬ MySQL and FlatFile DataSource.
↬ The plugin save the player's information by UUID of the player.
↬ Supports any Economy system that works with Vault.
↬ Sound effects when using the bank system.
↬ Processed number display for easy reading, Ex: $1,035.25
↬ Chat Prefix, Messages, Settings full customization.
↬ Interest rate when player is online.
↬ Override default balance command in-game.
 
The configuration can be reloaded using
 /bank reload
 
# Default config file for BankSystem
# Author: Twiistrz
# Version: 1.9.3

# If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI.
# If you receive an error when BankSystem loads, ensure that:
#   - No tabs are present: YAML only allows spaces
#   - Indents are correct: YAML hierarchy is based entirely on indentation
#   - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrophe)
#   - Text with symbols is enclosed in single or double quotation marks

############################################################
# +------------------------------------------------------+ #
# |                       Database                       | #
# +------------------------------------------------------+ #
############################################################

DataSource:
    # What type of database do you want to use?
    # Valid values: FlatFile, MYSQL
    backend: FlatFile
    # Database host address
    mySQLHost: '0.0.0.0'
    # Database port
    mySQLPort: '3306'
    # Connect to MySQL database over SSL
    mySQLUseSSL: false
    # Username to connect to the MySQL database
    mySQLUsername: 'localhost'
    # Password to connect to the MySQL database
    mySQLPassword: '123456'
    # Database Name
    mySQLDatabase: 'banksystem_database'
    # Table of the database
    mySQLTablename: 'banksystem_userdata'

############################################################
# +------------------------------------------------------+ #
# |                   General Settings                   | #
# +------------------------------------------------------+ #
############################################################

Settings:
    # Enable/disable update checker when admin join the server
    updateChecker: true
    # Enable/disable override default balance command in-game
    # /bal and /balance
    overrideBalanceCommand: true
    # Maximum amount of money on player's account
    bankLimit: 10000000
    # Maximum amount of money in player's pocket
    pocketLimit: 10000000
    # Amount of time in milliseconds a player has to wait between interactions.
    # 1000 milliseconds = 1 second
    interactCooldown: 3000
    # Interest settings
    # Enable bank accounts interest
    # Valid values: true, false
    interestEnabled: false
    # Interest amount in percentage
    # Example values: 0.05% | 0.5% | 5%
    interestPercentage: 0.05%
    # Cooldown between interest credit in minutes.
    # Default value: 60 minutes
    interestCooldown: 60

############################################################
# +------------------------------------------------------+ #
# |                    Sign Settings                     | #
# +------------------------------------------------------+ #
############################################################

Sign:
    # Color formats are not supported in balance, deposit, withdraw.
    balance: Balance
    deposit: Deposit
    withdraw: Withdraw
    # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    # a, b, c, d, e, f
    # For more details visit: https://www.planetminecraft.com/blog/minecraft-color-codes-2906205/
    color: 4
 
############################################################
# +------------------------------------------------------+ #
# |                  Message Settings                    | #
# +------------------------------------------------------+ #
############################################################

Messages:
    # %player%  : The player.
    # %balance% : Bank balance.
    # %pocket%  : Pocket balance.
    # %total%   : Total balance.
    # %amount%  : Amount of set/interest/deposit/success.
    # %interestCooldown% : Shows the cooldown until next interest.
    prefix: '&e&lBankSystem &8>> '
    console: '&cYou can''t run this command from console!'
    playerOffline: '&cPlayer currently offline!'
    signCreateSuccess: '&aCreated sign succesfully!'
    signRemoveSuccess: '&aSign removed succesfully!'
    signError: '&cCould not create bank sign!'
    noPermission: '&cYou''re not allowed to do this.'
    noBank: '&a%player% &cdoes not have an account!'
    sneakBreak: '&cSneak to break the Bank sign!'
    notEnoughMoney: '&cSorry you don''t have that much.'
    notSurvival: '&cYou can only use this sign in survival.'
    depositSuccess: '&7You have deposited &a$%amount% &7into your bank!'
    withdrawSuccess: '&7You withdrew &a$%amount% &7into your bank!'
    reachedBankLimit: '&cReached bank account limit!'
    reachedPocketLimit: '&cReached pocket money limit!'
    tooFastInteract: '&cYou can''t interact this often.'
    setCommand: '&7%player% bank balance set to: &a$%amount%'
    interest: '&7Interest credited: &a$%amount%'
    interestCommand: '&7Next interest in: &a%interestCooldown%'
    interestDisabled: '&cInterest is disabled!'
    invalidAmount: '&cYou have entered an invalid amount. Possible denominations include only Numerical Characters and/or a Decimal Point (e.g. 1, 1.0, 1.00).'
    reloadError: '&cError reloading config!'
    reloadSuccess: '&aConfig reloaded succesfully!'
    balance:
        - '&6.oOo.___________.[ &eBank System Balance &6].___________.oOo.'
        - '&7Bank: &a$%balance%'
        - '&7Balance: &a$%pocket%'
        - '&7Total Balance: &a$%total%'
    help:
        - '&6.oOo.___________.[ &eBank System Help &6].___________.oOo.'
        - '&e/bank balance&7: Check your bank balance.'
        - '&e/bank deposit [amount]&7: Deposit money to your bank.'
        - '&e/bank withdraw [amount]&7: Withdraw money from your bank.'
    admin:
        - '&6.oOo.___________.[ &eBank System Admin &6].___________.oOo.'
        - '&e/bank balance [playerName]&7: Check online players bank balance.'
        - '&e/bank set [playerName] [amount]&7: Set online players bank balance.'
        - '&e/bank reload&7: Reload BankSystem config file.'
 
 
Amount formats: 1000 | 1.0 | 1.00
 
↬ /bank
See the list of all available commands.
 
↬ /bank reload (Permission: banksystem.admin)
Reloads the configuration file.
 
↬ /bank balance [player] (Permission: banksystem.admin)
Check other player's bank balance.
 
↬ /bank set [player] [amount] (Permission: banksystem.admin)
Set other player's bank balance.
 
↬ /bank balance (Permission: banksystem.command.balance)
Check your bank balance.
 
↬ /bank withdraw [amount] (Permission: banksystem.command.withdraw)
Withdraw money from your bank.
 
↬ /bank deposit [amount] (Permission: banksystem.command.deposit)
Deposit money to your bank.
 
↬ /bank interest (Permission: banksystem.command.interest)
Checks the cooldown until next interest.
 
↬ Bank sign usage permission: banksystem.sign.use
 
Please don't post bug reports/suggestions in the review section. The best approach is to post an issue report on GitHub (link at the top of this page), or in the discussion section.
 
If you just have a question, please leave a message in the discussion section.
 
Don't forget to make a review for my plugin, it will help motivate me to make new updates.
 
MCPinoyZone: play.mcpinoyzone.com
MortalEmpire: mortalempire.mc-dns.net

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    304966
  • Created
    Oct 16, 2018
  • Last Released File
    Oct 17, 2018
  • Total Downloads
    880
  • License

Categories

Members

Recent Files

Bukkit