-
Notifications
You must be signed in to change notification settings - Fork 21
Configuration
- Disable vanilla advancements
- Disable vanilla recipe advancements
- Database type
- SQLite database file
- MySQL settings
- MySQL Advanced settings
Whether to disable every vanilla advancement.
Caution
This will make players lose their vanilla advancement progresses (since they are disabled). In addition, some lines may be printed on the console every time a player joins. You can ignore them.
Values:
truefalse
Example:
disable-vanilla-advancements: falseWhether to disable every vanilla recipe advancement (i.e. the advancements which unlock recipes).
Caution
This will make players lose their vanilla recipe advancement progresses (since they are disabled). In addition, some lines may be printed on the console every time a player joins. You can ignore them.
Values:
truefalse
Example:
disable-vanilla-recipe-advancements: falseSet the storage used by the API.
Values:
SQLiteMySQL-
InMemory(the database is created "in-memory", so no data is saved and the application starts every time with an empty database)
Example:
storage-type: SQLiteUsed when storage-type is SQLite.
The name of the file in which the database is stored.
Example:
sqlite:
file: "database.db"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: 3306Used when storage-type is MySQL.
This are advanced settings, don't touch if you don't know what you're doing
Settings:
-
poolSize- the maximum size of the connection pool. For more information see https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing -
connectionTimeout- the maximum number of milliseconds without response from the database before the connection gets closed
Example:
mysql:
advanced-settings:
# Set these only if you know what you're doing
poolSize: 5
connectionTimeout: 6000UltimateAdvancementAPI 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.