-
Notifications
You must be signed in to change notification settings - Fork 7
Configuration
Escanor Targaryen edited this page Jul 23, 2021
·
15 revisions
Whether to disable every vanilla advancement.
NB: 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
Set the storage used by the api.
Values:
- SQLite
- MySQL
example:
storage-type: SQLite
Used when storage-type is "SQLite"
Values: "filename.db"
example:
sqlite:
file: "database.db"
Used when storage-type is "MySQL"
- 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
- poolSize - Sets the maximum size of the MySQL connection pool. Basically this value will determine the maximum number of actual connections to the database backend. More information about determining the size of connection pools can be found here: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
- connectionTimeout -
example:
mysql:
username: "root"
password: ""
databaseName: "advancements"
host: "127.0.0.1"
port: 3306
advanced-settings:
# Set these only if you know what you're doing
poolSize: 5
connectionTimeout: 6000
UltimateAdvancementAPI Wiki © 2021 fren_gor, EscanorTargaryen is licensed under CC BY-SA 4.0.
Except where otherwise noted, code snippets inside the wiki are licensed under The Unlicense.