refactor(config): field names and structure

This commit is contained in:
aro 2023-01-28 16:55:59 +01:00
parent 69e2e95598
commit 567e005e16

View file

@ -16,10 +16,13 @@
common: common:
storage: storage:
# SQL database's address # SQL database's address
# Accepted values: valid IP address (e.g. localhost, 127.0.0.1)
address: "localhost" address: "localhost"
# SQL database's username. # SQL database's username.
# Accepted values: any string
username: "" username: ""
# SQL database's password. # SQL database's password.
# Accepted values: any string
password: "" password: ""
################# #################
@ -28,17 +31,21 @@ common:
bukkit: bukkit:
# Nicko's messages prefix. # Nicko's messages prefix.
# Accepted values: any string
prefix: "§8[§6Nicko§8] " prefix: "§8[§6Nicko§8] "
# Indicates wherever the data will be stored # Indicates wherever the data will be stored
# locally through a .json file or a (My)SQL database. # locally through a .json file or a (My)SQL database.
local_storage: true
# Enables Bungeecord support, switching through servers will transfer player's disguise.
# Accepted values: false (Disabled), true (Enabled) # Accepted values: false (Disabled), true (Enabled)
use_bungeecord: false local: true
# Enables Bungeecord support, switching
# servers will transfer player's disguise.
# Accepted values: false (Disabled), true (Enabled)
bungeecord: false
# Nicko will copy the English locale as "lang.yml" # Nicko will copy the English locale as "lang.yml"
# and will use the translations in that file when "Server Custom" # and will use the translations in that file when "Server Custom"
# is selected as the player's locale. # is selected as the player's locale.
use_custom_locale: false # Accepted values: false (Disabled), true (Enabled)
customLocale: false