summaryrefslogtreecommitdiffstats
path: root/docs/tmwserv.xml
blob: 0e917aaa2e41e6efcc0433ab96807229a6dd6892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0"?>
<!-- 
	An example configuration file for ~/.tmwserv.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="tmw.db"
-->
<!-- <option name="sqlite_database" value="tmw.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="tmw"
	mysql_username:		name of the user to connect to the database server
						optional, default="tmw"
	mysql_password:		password to use whith the mysql_username
						optional, default="tmw"
-->
<!--
<option name="mysql_hostname" value="localhost"/> 
<option name="mysql_port" value="3306"/>
<option name="mysql_database" value="tmw"/>
<option name="mysql_username" value="tmw"/>
<option name="mysql_password" value="tmw"/>
-->


<!-- 
	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="accountServerAddress" value="localhost"/>
 <option name="accountServerPort" value="9601"/>

 <!--
 The clients use this address to connect to a game server on this machine.
 -->
 <option name="gameServerAddress" value="localhost"/>
 <option name="gameServerPort" value="9604"/>
</configuration>