summaryrefslogtreecommitdiff
path: root/conf/char
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2018-04-02 00:33:11 +0800
committerJedzkie <jedzkie13@rocketmail.com>2018-04-02 12:58:03 +0800
commit2a05dbfc2f62c6bbac7983dcec120502914567f1 (patch)
treeabe851d3fe5e4c8f250d67200b347b3c21ca4fd9 /conf/char
parent584e8de359412091cb05f98b83a25fac47b5c9f2 (diff)
downloadhercules-2a05dbfc2f62c6bbac7983dcec120502914567f1.tar.gz
hercules-2a05dbfc2f62c6bbac7983dcec120502914567f1.tar.bz2
hercules-2a05dbfc2f62c6bbac7983dcec120502914567f1.tar.xz
hercules-2a05dbfc2f62c6bbac7983dcec120502914567f1.zip
Pincode Update
- Added blacklist feature - Added official message when successfully create a pincode / successfully change a pincode
Diffstat (limited to 'conf/char')
-rw-r--r--conf/char/char-server.conf27
1 files changed, 26 insertions, 1 deletions
diff --git a/conf/char/char-server.conf b/conf/char/char-server.conf
index 47506e324..7cdcc7bdb 100644
--- a/conf/char/char-server.conf
+++ b/conf/char/char-server.conf
@@ -228,8 +228,33 @@ char_configuration: {
// Default: 3
// Maximum allowed by clientside: 3
max_tries: 3
- }
+ // Whether or not to refuse pincodes that are blacklisted
+ // Default: true
+ check_blacklisted: true
+
+ // Blacklisted pincodes
+ blacklist: [
+ "0000",
+ "1111",
+ "2222",
+ "3333",
+ "4444",
+ "5555",
+ "6666",
+ "7777",
+ "8888",
+ "9999",
+ "0123",
+ "1234",
+ "2345",
+ "3456",
+ "4567",
+ "5678",
+ "6789",
+ "7890"
+ ]
+ }
}
import: "conf/import/char-server.conf"