=====================================
Account & Character Manager for L2j
=====================================
Version: $Id: README.txt 16 2005-05-29 18:02:52Z madest $


Contents of file:
----------------------	
I. Requirements
II. Configuration
III. Contact
IV. Credits


----------------------
I.Requirements
----------------------
 PHP Version 4 - (tested on PHP Version 4.3.3)
 Mysql + (Installed Datapack for L2j)
 
 
---------------------- 
II. Configuration
----------------------
Just try to fill "configuration.php" file with nessesary fields. And choose options you like to use.
Configuration of manager is made as easy it could be for now so you should be
able to fill nessesary fields in it with no problem. But when you meet with problem then 
continue reading this section of readme where i could explain parts that may need explaining.


In "configuration.php" file you have to fill database information with your current
l2j database configuration.
	
	$sql['host'] = "localhost";		//Sql server address
	$sql['user'] = "root";			//Sql login username
	$sql['password'] = "";			//Sql login password
	$sql['database'] = "l2jdb";		//Sql database name
	


And secondly to make use of account manager you have to specify admin account login.
That login must be an axisting account! 

Starting from this release admin accounts can be created in two ways old way by adding admin login
into configuration file or new way.. based on account access level. Level based way means that you have to
go into mysql and change your admin account login same as set into configuration file. Or you can set it 0 
in configuration just for time you login and chanege your level to something bigger than 0 because
it is default level for accounts created from game. And you dont want all to gain access into manager.

OLD WAY
To add more then one admin you have to copy and repeat these three lines and just change login name
and set deletion premission to true or false (enables or disables character deletion)

	$i++;
	$manager['admin'][$i]['login'] = "MyLogin";
	$admin[$i]['Allow_Delete'] = false;
	

NEW WAY - look fo configuration.php access setting section 
	
	# access settings
	$manager['admin_level'] = 100;		// Set access_level value for manager admins (exact value!)
	$manager['level_based'] = true;		// Enable access_level based managment
	
To make new way woking there should be 'level_based' set to true like in example
if not then 'admin level' setting do not make any effect.


Other thing to keep in mind using both ways at same time is SCOPE - in other words wich setting overrides
the other. 
An example... if you have account with access level 100 and admin level is set to 100 and you have added this account
into admins array and set he's premission to delete false.. then he can't delete ! 
And if u set level based premission to delete to false and array based true he can delete ! 



Account creation default level it is put into configuration to enable server admin 
bann created accounts for that moment so he could accept or review them before accounts 
can access into server and play.

	$manager['default_level'] = -1;		// Access level for created accounts (default 0), 
										//for banning accounts make it negative value


As mentioned before configuration should be easy to read and understand... if no then ask in forums.
l2j.sourcoforge.net


----------------------
III. Contact
----------------------
User of l2j board: mad3st @ l2j.sourcoforge.net
Mail: monkdesign@hot.ee


----------------------
IV. Credits
----------------------

Thanks to l2j team for their continious hard work with the server.
Remember they are who make our days so bright :)

L2j logo and trademark is property of L2j team
http://l2j.sourceforge.net