From a49907ce8f136d5481d69a7e4f24c8fc1966e062 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Tue, 4 Nov 2008 17:25:10 +0000 Subject: Add local conf for login server. --- conf/login_athena.conf | 29 +++-------------------------- conf/login_local.conf.example | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 26 deletions(-) create mode 100644 conf/login_local.conf.example diff --git a/conf/login_athena.conf b/conf/login_athena.conf index 1d4383a7..afd47493 100644 --- a/conf/login_athena.conf +++ b/conf/login_athena.conf @@ -1,27 +1,9 @@ // Athena Login Server configuration file. // Translated by Peter Kieser - -// Port to bind Login Server to (always binds to all IP addresses) -login_port: 6901 - -// Whether remote administration is enabled or disabled (1 for enabled, 0 for disabled) -admin_state: 1 - -// Administrative password, used by ladmin (perl software) to connect remotely to server. -// NOTICE: If you enable remote administration, you should change its value for security -admin_pass: p1 - -// Indicate the IP that the server accepts for remote administration. -// put: 'all', or 'xxx.xxx.' (begin of an ip finished by '.' or a complete ip), -// or a network and its mask (example: '123.456.789.012/24' or '123.456.789.012/255.255.255.0') -// or 'clear' to suppress previous parameter (use it in import file mainly) -// Add as many IP's as you wish. -ladminallowip: all - -// Gamemaster password, used with the @gm command to obtain GM commands (level of gm set with level_new_gm parameter). -// NOTICE: You should also change this one. -gm_pass: gm +// local settings for this server in this file +import: conf/login_local.conf + // Level of new GM created with @gm command. (default: 60) // If you set to 0, you disable creation of new GM with @gm. // To be able to create a gm with @gm, you must: @@ -50,11 +32,6 @@ login_log_filename: log/login.log // Name of the file of that logs the unknown packets (for debug or hack check) login_log_unknown_packets_filename: log/login_unknown_packets.log -// Update host -// Tells the client that an alternative updatehost is available if the client -// supports this. If left out nothing will be sent. max length 127. -update_host: http://updates.themanaworld.org/ - // Indicate if the unknown packets are saved or not //(the unknown packets coming from the char-server or ladministration does not relate to, which is always saved) // Be careful: if you receive an attack, your hard disk can cause lag... diff --git a/conf/login_local.conf.example b/conf/login_local.conf.example new file mode 100644 index 00000000..2cd90d58 --- /dev/null +++ b/conf/login_local.conf.example @@ -0,0 +1,28 @@ +// Athena Login Server configuration file. +// Translated by Peter Kieser + +// Port to bind Login Server to (always binds to all IP addresses) +login_port: 6901 + +// Whether remote administration is enabled or disabled (1 for enabled, 0 for disabled) +admin_state: 1 + +// Administrative password, used by ladmin (perl software) to connect remotely to server. +// NOTICE: If you enable remote administration, you should change its value for security +admin_pass: p1 + +// Indicate the IP that the server accepts for remote administration. +// put: 'all', or 'xxx.xxx.' (begin of an ip finished by '.' or a complete ip), +// or a network and its mask (example: '123.456.789.012/24' or '123.456.789.012/255.255.255.0') +// or 'clear' to suppress previous parameter (use it in import file mainly) +// Add as many IP's as you wish. +ladminallowip: all + +// Gamemaster password, used with the @gm command to obtain GM commands (level of gm set with level_new_gm parameter). +// NOTICE: You should also change this one. +gm_pass: gm + +// Update host +// Tells the client that an alternative updatehost is available if the client +// supports this. If left out nothing will be sent. max length 127. +update_host: http://updates.themanaworld.org/ -- cgit v1.2.3-60-g2f50