summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-10-30 02:24:20 +0100
committerGitHub <noreply@github.com>2017-10-30 02:24:20 +0100
commit703a57698fc04d4cba818041b67ffbb028f56e2b (patch)
tree01941788ac53f988b2481d59c7ca9d77790a2603 /conf
parent7f74da4a69482ce09409744612b69e071ebc0ced (diff)
parentebff7968504ee090961390820ce74458d7b0f956 (diff)
downloadhercules-703a57698fc04d4cba818041b67ffbb028f56e2b.tar.gz
hercules-703a57698fc04d4cba818041b67ffbb028f56e2b.tar.bz2
hercules-703a57698fc04d4cba818041b67ffbb028f56e2b.tar.xz
hercules-703a57698fc04d4cba818041b67ffbb028f56e2b.zip
Merge pull request #1891 from 4144/listcolor
Add ability to show char servers list with colors based on players count.
Diffstat (limited to 'conf')
-rw-r--r--conf/login/login-server.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/conf/login/login-server.conf b/conf/login/login-server.conf
index 71928e3d0..4ad02deb2 100644
--- a/conf/login/login-server.conf
+++ b/conf/login/login-server.conf
@@ -54,6 +54,22 @@ login_configuration: {
date_format: "%Y-%m-%d %H:%M:%S"
}
+ // for packet version >= 20170726
+ users_count: {
+ // if false, dont show any colored strings.
+ // if true, show special users count numbers for coloring char servers.
+ send_user_count_description: true
+
+ // users counts for use different colors.
+ // below 'low' show green text
+ // below 'medium' show oragne text
+ // below 'high' show red text
+ // higher 'high' show purple text
+ low: 200
+ medium: 500
+ high: 1000
+ }
+
// Account engine configuration
account: {
// Can you use _M/_F to make new accounts on the server?