πŸ“œConfiguration

Config

server:
  # Enable this if BasementLib is on a Velocity proxy, and you want to automatically register the servers.
  automatic-register: false
  # The id of the server. This is used to identify the server (only when automatic-register is true).
  id: "hub_1"

server.automatic-register: enable this option if you have BasementLib on a Velocity Proxy and want to automatically register the server (name: server.id)

server.id: The name of the server. Must be the same as the server name specified in the Velocity or Bungeecord configuration (if server.automatic-register is disabled)

# Settings for MariaDB.
mysql:
  enabled: false
  address: localhost
  # Default database
  database: minecraft
  username: root
  password: ''

  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    maximum-lifetime: 1800000 # 30 minutes
    keepalive-time: 0
    connection-timeout: 5000 # 5 seconds

# Settings for Redis.
# Port 6379 is used by default; set address to "host:port" if differs
redis:
  enabled: false
  # If multiple addresses are specified, redis-cluster will be used.
  addresses:
    - "localhost"
  username: ''
  password: ''
  database: 0
  netty-threads: 32
  threads: 16

Last updated