From 2ed45c92a6a55ada6d9c1e50a0082b1b15fa5d66 Mon Sep 17 00:00:00 2001 From: povsister Date: Sat, 22 Feb 2020 04:08:58 +0800 Subject: [PATCH] Enhance default config (#2005, #2006) Co-authored-by: Luck --- bukkit/src/main/resources/config.yml | 9 +++++++++ bungee/src/main/resources/config.yml | 9 +++++++++ nukkit/src/main/resources/config.yml | 9 +++++++++ sponge/src/main/resources/luckperms.conf | 9 +++++++++ velocity/src/main/resources/config.yml | 9 +++++++++ 5 files changed, 45 insertions(+) diff --git a/bukkit/src/main/resources/config.yml b/bukkit/src/main/resources/config.yml index d6440e74e..dbb13c862 100644 --- a/bukkit/src/main/resources/config.yml +++ b/bukkit/src/main/resources/config.yml @@ -133,6 +133,15 @@ data: connection-timeout: 5000 # 5 seconds # This setting allows you to define extra properties for connections. + # + # By default, the following options are set to enable utf8 encoding. (you may need to remove + # these if you are using PostgreSQL) + # useUnicode: true + # characterEncoding: utf8 + # + # You can also use this section to disable SSL connections, by setting: + # useSSL: false + # verifyServerCertificate: false properties: useUnicode: true characterEncoding: utf8 diff --git a/bungee/src/main/resources/config.yml b/bungee/src/main/resources/config.yml index bfca2146d..8e44fb098 100644 --- a/bungee/src/main/resources/config.yml +++ b/bungee/src/main/resources/config.yml @@ -130,6 +130,15 @@ data: connection-timeout: 5000 # 5 seconds # This setting allows you to define extra properties for connections. + # + # By default, the following options are set to enable utf8 encoding. (you may need to remove + # these if you are using PostgreSQL) + # useUnicode: true + # characterEncoding: utf8 + # + # You can also use this section to disable SSL connections, by setting: + # useSSL: false + # verifyServerCertificate: false properties: useUnicode: true characterEncoding: utf8 diff --git a/nukkit/src/main/resources/config.yml b/nukkit/src/main/resources/config.yml index c9e6c739f..256804a31 100644 --- a/nukkit/src/main/resources/config.yml +++ b/nukkit/src/main/resources/config.yml @@ -133,6 +133,15 @@ data: connection-timeout: 5000 # 5 seconds # This setting allows you to define extra properties for connections. + # + # By default, the following options are set to enable utf8 encoding. (you may need to remove + # these if you are using PostgreSQL) + # useUnicode: true + # characterEncoding: utf8 + # + # You can also use this section to disable SSL connections, by setting: + # useSSL: false + # verifyServerCertificate: false properties: useUnicode: true characterEncoding: utf8 diff --git a/sponge/src/main/resources/luckperms.conf b/sponge/src/main/resources/luckperms.conf index d587865b8..2986c7e04 100644 --- a/sponge/src/main/resources/luckperms.conf +++ b/sponge/src/main/resources/luckperms.conf @@ -133,6 +133,15 @@ data { connection-timeout = 5000 # 5 seconds # This setting allows you to define extra properties for connections. + # + # By default, the following options are set to enable utf8 encoding. (you may need to remove + # these if you are using PostgreSQL) + # useUnicode = true + # characterEncoding = "utf8" + # + # You can also use this section to disable SSL connections, by setting: + # useSSL = false + # verifyServerCertificate = false properties { useUnicode = true characterEncoding = "utf8" diff --git a/velocity/src/main/resources/config.yml b/velocity/src/main/resources/config.yml index e10cae5e5..d00308263 100644 --- a/velocity/src/main/resources/config.yml +++ b/velocity/src/main/resources/config.yml @@ -123,6 +123,15 @@ data: connection-timeout: 5000 # 5 seconds # This setting allows you to define extra properties for connections. + # + # By default, the following options are set to enable utf8 encoding. (you may need to remove + # these if you are using PostgreSQL) + # useUnicode: true + # characterEncoding: utf8 + # + # You can also use this section to disable SSL connections, by setting: + # useSSL: false + # verifyServerCertificate: false properties: useUnicode: true characterEncoding: utf8