summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-16 03:03:45 -0200
committershennetsind <ind@henn.et>2013-11-16 03:03:45 -0200
commitee281a26174c68e4de3a5afe32e0232e2c832570 (patch)
treee058914538738148e38a3a4113dac6ebc5c1125d /conf
parent7120b55ce40a6a0c4086da49d57c74baa72609d6 (diff)
downloadhercules-ee281a26174c68e4de3a5afe32e0232e2c832570.tar.gz
hercules-ee281a26174c68e4de3a5afe32e0232e2c832570.tar.bz2
hercules-ee281a26174c68e4de3a5afe32e0232e2c832570.tar.xz
hercules-ee281a26174c68e4de3a5afe32e0232e2c832570.zip
Fixed char server's maintenance mode
Enabling the maintenance mode will now restrict login based on group id (previously maintenance mode was merely cosmetic and would allow all accounts to access). Renamed char-server.conf setting char_maintenance to char_server_type, added char_maintenance_min_group_id to be used in conjunction with char_server_type:1 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'conf')
-rw-r--r--conf/char-server.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/char-server.conf b/conf/char-server.conf
index b2120471c..a7f26daaa 100644
--- a/conf/char-server.conf
+++ b/conf/char-server.conf
@@ -65,7 +65,10 @@ console_silent: 0
// No functional side effects at the moment.
// Displayed next to the server name in the client.
// 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=P2P
-char_maintenance: 0
+char_server_type: 0
+
+// Minimum Group ID to join char server when it is on char_server_type 1 (maintenance)
+char_maintenance_min_group_id: 99
// Enable or disable creation of new characters.
// Now it is actually supported [Kevin]