Common & Server Sync

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_"

No matter the database used, two settings are mandatory: database-to-use and table-prefix.

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

When the database is external, meaning it has to use a connection instead of relying on the file system, you can use the server-sync mechanic.

Last updated