From 567e005e168f6ea7d1c4a46aaf94ff9ce43fa06e Mon Sep 17 00:00:00 2001 From: aro Date: Sat, 28 Jan 2023 16:55:59 +0100 Subject: [PATCH] refactor(config): field names and structure --- nicko-core/src/main/resources/config.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/nicko-core/src/main/resources/config.yml b/nicko-core/src/main/resources/config.yml index 124c28a..36c6271 100644 --- a/nicko-core/src/main/resources/config.yml +++ b/nicko-core/src/main/resources/config.yml @@ -16,10 +16,13 @@ common: storage: # SQL database's address + # Accepted values: valid IP address (e.g. localhost, 127.0.0.1) address: "localhost" # SQL database's username. + # Accepted values: any string username: "" # SQL database's password. + # Accepted values: any string password: "" ################# @@ -28,17 +31,21 @@ common: bukkit: # Nicko's messages prefix. + # Accepted values: any string prefix: "§8[§6Nicko§8] " # Indicates wherever the data will be stored # 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) - 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" # and will use the translations in that file when "Server Custom" # is selected as the player's locale. - use_custom_locale: false \ No newline at end of file + # Accepted values: false (Disabled), true (Enabled) + customLocale: false \ No newline at end of file