Setting up ManaServ
From TheManaWorld
(Redirected from Setting up TMWServ)
- This article is about setting up your own Mana server, either for testing purposes or because you want to provide an alternative to the official server. There are separate articles about setting up eAthena on Linux and setting up eAthena on Windows.
Setting up ManaServ
There are several steps to do:
Running ManaServ
- Install and/or prepare your database backend
- Prepare configuration file manaserv.xml
- Get the client data from Git and put it into a
datadirectory where you will be running the game server from. - Get the server data, also from git, and put it into a
server-datadirectory. - Symlink all files in server-data from the data directory, for example
ln -s ../server-data/* .from the data directory. - Start the account server before starting the game server.
Making yourself a GM
This assumes that you are using sqlite as database backend (default) and that your accountname is "MyAccount". When you use another database backend you should be able to use the same SQL statements but you will need different tools to run them. Giving GM rights to an account with a name different from "MyAccount" is an exercise left to the reader :)
- Get sqlite3 from http://www.sqlite.org/download.html
- Put it into the manaserv directory
- Open a command prompt inside the tmwserv directory
- Enter sqlite3 mana.db "UPDATE mana_accounts SET level=255 WHERE username='MyAccount';"
- You can check if you were successful by entering sqlite3 mana.db "SELECT username, level FROM mana_accounts;" (lists all accounts and their userlevels) or sqlite3 mana.db "SELECT username FROM mana_accounts WHERE level > 1;" (lists all gm accounts)
The level 255 means maximum rights. When you want to give selected people limited rights, refer to Server Access Levels.
Note: Basic knowledge of SQL and how to use it is an important skill for a ManaServ administrator.
