Sueta

Upgradable GUI Bank Plugin | PCbank

0.2.3

Upgradable Bank With GUI

·Plugin


StartConsole.png


MainGui.gif UpgradeGui.gif
MoneyGui.gif ExpGui.gif

Requirements.png

For ProtocolLib 1.19 just download the last successful artifact from this link https://ci.dmulloy2.net/job/ProtocolLib/lastBuild/

Config.png

This is latest config file:

config.yml
#Bank Config

# Have en, th, de, fr
Language: en

CurrencySign:
  Money:
    isInfront: true
    Sign: "$"
  Exp:
    isInfront: false
    Sign: " exp"

# When you change InterestTime, it will reset the interest time for all players!!!
Interest:
  InterestTime: 3600 # This is how many second player need to online to get interest. Default: 3600 (60 min) and pls don't set to 0 or null
  InterestRate: 0.1 # This is how many percent interest player get. Default: .10 (10%)

  AllowOver: true # This will allow money/exp in the player's bank to go up over max money/exp.

BankTier:
   - [0, 5_000_000, 100_000] #Start
  - [5_000_000, 10_000_000, 200_000] #1
  - [10_000_000, 20_000_000, 400_000] #2
  - [20_000_000, 40_000_000, 800_000] #3
  - [40_000_000, 80_000_000, 1_600_000] #4
  - [80_000_000, 160_000_000, 3_200_000] #5
  - [160_000_000, 320_000_000, 6_400_000] #6
  - [320_000_000, 640_000_000, 12_800_000] #7
  - [640_000_000, 1_280_000_000, 25_600_000] #8

  # To add new upgrade. Just add this without "#" tho
  # - [Price, Max Money, Max Exp]

Languages.png

Use 2 character language codes from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

To add another language: https://github.com/PcampusStudio/PCbank-lang.

If I see new language or typo, I will update plugin almost immediately.

Commands.png

Aliases of /pcbank: /bank

/pcbank open - Open the GUI
Usage: /pcbank open
Permission: pcbank.command.open

/pcbank help - Send help
Usage: /pcbank help
Permission: pcbank.command.help

/pcbank deposit - Deposit money from bank
Usage: /pcbank deposit <money/exp> <amount/all>
Permission: pcbank.command.deposit

/pcbank withdraw - Withdraw money from bank
Usage: /pcbank withdraw <money/exp> <amount/all>
Permission: pcbank.command.withdraw

/pcbank balance - Get balance of your (or other people) bank
Usage: /pcbank balance [player]
Permission: pcbank.command.balance

To see other people balance player must have pcbank.command.other_people_balance
Default: op

/pcbank set - Set value in player database from bank
Usage: /pcbank set [player] [databaseVariable] [amount]
Permission: pcbank.command.set
Default: op

/pcbank add - Add value in player database from bank
Usage: /pcbank add [player] [databaseVariable] [amount]
Permission: pcbank.command.add
Default: op

/pcbank remove - Remove value in player database from bank
Usage: /pcbank remove [player] [databaseVariable] [amount]
Permission: pcbank.command.remove
Default: op

/pcbank reload - Reload config file.
Usage: /pcbank reload
Permission: pcbank.command.reload
Default: op

[databaseVariable] = money, exp, countTime, upgrade

Database.png

It store all data in Bank_Info.db in the plugin folder

It has 4 variable for each player store in it and you can edit it with set/add/remove commands.

YouTube

Similar projects

Plugin →