Skip to content

Configuration

fren_gor edited this page Aug 19, 2021 · 15 revisions

UltimateAdvancementAPI config - config.yml


Disable vanilla advancements

Whether to disable every vanilla advancement.

N.B.: This will make players lose their progress on vanilla advancements (because their are being disabled). Also, a bunch of lines will print on the console every time a player joins. Just ignore them.
Values:

  • true
  • false

example:

disable-vanilla-advancements: false

Database type

Set the storage used by the API.
Values:

  • SQLite
  • MySQL

example:

storage-type: SQLite

SQLite database file

Used when storage-type is SQLite.
The name of the file in which the database is stored.

example:

sqlite:
    file: "database.db"

MySQL settings

Used when storage-type is MySQL. Settings:

  • username - the username to be used
  • password - the password to be used
  • databaseName - the database which should be used by the plugin
  • host - the host to be used for the database
  • port - the port to be used with the host

example:

mysql:
  username: "root"
  password: ""
  databaseName: "advancements"
  host: "127.0.0.1"
  port: 3306

MySQL Advanced settings

Used when storage-type is MySQL. This are advanced settings, don't touch if you don't know what you're doing Settings:

example:

mysql:
  advanced-settings:
    # Set these only if you know what you're doing
    poolSize: 5
    connectionTimeout: 6000