Main Config

Most of the settings are explained in the comments.

personal-bank-settings:
  # Create a personal bank for every player that executes the /bank command?
  # If set to false, banks will need to be created via other means,
  # such as a command or API.
  create-for-everyone: true
interest:
  use-interest: true
  # The cron expression that will be used to trigger the interest giving.
  # The default value is 2 PM every day.
  cron-expression: "0 0 14 * * ?"
personal-bank-balancetop:
  useTop: true
  top-size: 10
  refresh-time-in-minutes: 5
  # The header of the top list.
  # The following placeholders can be used:
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %page% - The current page number.
  #   %time-since-last-refresh% - Cooldown of how much time has passed since last refresh.
  top-header:
    - "&7&m---------[-&f %currency-color%top %currency-name% &7&m-]---------"
  # The template used to display each entry in the top list.
  # The following placeholders can be used:
  #   %position% - The position of the bank account in the top list.
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %name% - The list of members of the bank (or just the owner).
  #   %balance% - The balance of the bank account.
  entry-template: "&e#%position% %currency-color%%balance% &7- &f%name%"
  # The footer of the top list.
  # The following placeholders can be used:
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %page% - The current page number.
  #   %time-since-last-refresh% - Cooldown of how much time has passed since last refresh.
  top-footer:
    - "&7&m---------[-&f %currency-color%page %page% &7&m-]---------"
    - "&8Last refreshed: %time-since-last-refresh% ago"
    - "&7Refreshes every 5 minutes."
shared-bank-balancetop:
  useTop: true
  top-size: 10
  refresh-time-in-minutes: 5
  # The header of the top list.
  # The following placeholders can be used:
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %page% - The current page number.
  #   %time-since-last-refresh% - Cooldown of how much time has passed since last refresh.
  top-header:
    - "&7&m---------[-&f %currency-color%top %currency-name% &7&m-]---------"
  # The template used to display each entry in the top list.
  # The following placeholders can be used:
  #   %position% - The position of the bank account in the top list.
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %name% - The list of members of the bank (or just the owner).
  #   %balance% - The balance of the bank account.
  entry-template: "&e#%position% %currency-color%%balance% &7- &f%name%"
  # The footer of the top list.
  # The following placeholders can be used:
  #   %currency-color% - The color of the currency.
  #   %currency-name% - The name of the currency.
  #   %page% - The current page number.
  #   %time-since-last-refresh% - Cooldown of how much time has passed since last refresh.
  top-footer:
    - "&7&m---------[-&f %currency-color%page %page% &7&m-]---------"
    - "&8Last refreshed: %time-since-last-refresh% ago"
    - "&7Refreshes every 5 minutes."
server-sync:
  # Enable or disable the sync feature
  # If enabled, the server will sync the data with the other servers
  # but not for SQLite!
  sync-enabled: false
  # Options: velocity, bungeecord
  proxy-to-use: "velocity"
  # If you want to have subclusters in your network, you can set a subchannel
  # Example: server1, server2 - subchannel: group1
  #          server3, server4 - subchannel: group2
  # This way, you can sync the data only between the servers in the same subchannel
  # Required for when each group has different databases
  subchannel: "royalebanks"
  # People will try to exploit the vulnerability of
  # delayed network syncing by jumping extremely fast between servers.
  # To prevent this, you can set a delay in seconds for their data to load
  # on server join.
  loading-delay-in-seconds: 2
database:
  # The type of the database to use.
  # Example: 'sqlite', 'mysql'
  database-to-use: "sqlite"
  # The table prefix to use for the database tables.
  table-prefix: "RoyaleBanks_"
  sqlite:
    # If true, a copy of the database file will
    # be created daily
    use-backup-file: true
    # How many backup files to keep
    # before starting to delete the oldest one
    number-of-backups: 4
  mysql:
    host: "localhost"
    port: 3306
    database: "RoyaleBanks"
    username: "root"
    password: "pass1234"
    useSSL: false
    verifyServerCertificate: false
    allowPublicKeyRetrieval: true

For crono expressions, check out this Tutorial and this Cron Generator.

Last updated