Config File
Config File
The config file lets you alter the properties of the plugin including storage settings and error messages. Your config file is located in 'plugins/Vaults/config.yml'. This page explains in detail what each property does.
version: 1.0.0 ## Do not edit this. backend: type: file ## Where will everything be stored. Can be set to file or mysql update-period: 20 ## How often the backend is updated (in server ticks) 20 ticks = 1 second file: name: vaults.yml ## The path and name of the file to stored player vaults mysql: host: localhost ## The MySQL host name/address port: 3306 ## Leave this unless you know it's different username: root ## MySQL username password: password ## MySQL password database: playerdata ## The database to create the table in table: vaults ## The name of the table that will be created vault-rows: 3 ## The number of rows vaults have. Can be between 1 and 6 caching: true ## Enables the saving of data in player meta data. Only turn this off if you have lots of vaults and player or have more than one server. messages: ## You may use any Minecraft colour or formatting codes. no-vault: '&4You do not have that many vaults!' ## Displayed when the player is trying to access a vault number bigger than what they're allowed. need-to-specify-number: '&4You need to specify a vault number. For example /vault 3' ## Displayed is a player does something like '/vault text' no-permission: '&4You do not have permission to do that!' ## Displayed when a player tries to use an admin feature admin-view-no-vault: '&4<player> is not allowed that many vaults!' ## Displayed to an admin when they try to view someone's vault that they're not allowed to have.
Comments