summaryrefslogblamecommitdiff
path: root/docs/tmwserv.xml
blob: 1f20d326f5d93ead6e6c3bd70c5da2dd0d3bde6b (plain) (tree)
1
2
3


                                                         












































                                                                                  



                                                                          


                                      












                                                                            
                
<?xml version="1.0"?>
<!-- An example configuration file for ~/.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>