# Configuration for ManiaJS and Plugins.
# DO NOT CHANGE WHEN THE CONTROLLER IS RUNNING! CLOSE CONTROLLER AND REFRESH THE FILE!

config:
  debug: true

  server:
    game: 'trackmania' # Could be 'trackmania' or 'shootmania'
    address: '172.17.2.6'
    port: 9888
    authentication:
      username: 'SuperAdmin'
      password: 'Miss2050'

  masteradmins:
  - tomvalk

  db:
    dialect: 'mariadb' # Can be mysql, mariadb or sqlite.
    # ! ==> SQLite3 Requires compilation, this means that you have to get build-essentials on linux, Visual Studio on Windows or XCode on Mac OS X.
    # When not having build tools, you will get warnings when starting for the first time or run the installation script.
    # You can ignore this, but can't use the dialects then!
    # To recompile run 'npm install sqlite3' in root

    # Global Non-driver-dependent settings:
    debug: true
    database: 'maniajs'
    authentication:
      username: 'root'
      password: ''
    pool:
      max: 5
      min: 0
      idle: 10000

    # Driver settings
    mysql:
      host: '127.0.0.1'
      port: 3306

    mariadb:
      host: '127.0.0.1'
      port: 3306

    sqlite:
      storage: '/Users/tomvalk/Desktop/database.sqlite' # Path, relative to root of Controller.JS

plugins:
#  maniajs-sample:
#   test: true

  '@maniajs/plugin-jukebox':
  '@maniajs/plugin-mapwidget':

  '@maniajs/plugin-karma':

  '@maniajs/plugin-help':

  '@maniajs/plugin-localrecords':
    recordlimit: 100
    displaylimit: 50

  '@maniajs/plugin-welcome':

  '@maniajs/plugin-admin':

  #testing:

  #'@maniajs/plugin-dedimania':
#    login: toffeserver
#    dedimaniacode: 7195305c73
#    displaylimit: 50
