diff options
Diffstat (limited to 'docs/manaserv.xml')
-rw-r--r-- | docs/manaserv.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/docs/manaserv.xml b/docs/manaserv.xml new file mode 100644 index 00000000..1e5d62af --- /dev/null +++ b/docs/manaserv.xml @@ -0,0 +1,74 @@ +<?xml version="1.0"?> +<!-- + An example configuration file for ~/.manaserv.xml + If you add any parameters to this configuration file make sure to update + the wiki documentation at: + http://wiki.themanaworld.org/index.php/Configuration_file:tmwserv.xml +--> +<configuration> + +<!-- Database configuration *************************************************** + Uncomment one of the following parts according to the database backend you + would like to use. +--> + +<!-- + SQLite specific configuration. + + sqlite_database: name and path to the sqlite database file + optional, default="mana.db" +--> +<!-- <option name="sqlite_database" value="mana.db"/> --> + + +<!-- + mySQL specific configuration. + + mysql_hostname: ip or hostname of the database server + optional, default="localhost" + mysql_port: the port where the mysql server listens to + optional, default=3306 + mysql_database: name of the installed database + optional, default="mana" + mysql_username: name of the user to connect to the database server + optional, default="mana" + mysql_password: password to use whith the mysql_username + optional, default="mana" +--> +<!-- +<option name="mysql_hostname" value="localhost"/> +<option name="mysql_port" value="3306"/> +<option name="mysql_database" value="mana"/> +<option name="mysql_username" value="mana"/> +<option name="mysql_password" value="mana"/> +--> + + +<!-- + PostgreSQL specific configuration. + + TODO! +--> + +<!-- end of database configuration *************************************** --> + + <!-- + New player starting location. The map should be defined in data/maps.xml. + --> + <option name="defaultMap" value="1"/> + <option name="startX" value="720"/> + <option name="startY" value="840"/> + + <!-- + The game server uses this address to connect to the account server. Clients + will also need to be able to connect to the account server. + --> + <option name="net_accountServerAddress" value="localhost"/> + <option name="net_accountServerPort" value="9601"/> + + <!-- + The clients use this address to connect to a game server on this machine. + --> + <option name="net_gameServerAddress" value="localhost"/> + <option name="net_gameServerPort" value="9604"/> +</configuration> |