View Single Post
  #65  
Old 03-29-2009, 12:43 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

it should look something like

Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>name</shortname>
		<longname>Name of your server</longname>

		<!-- Only specify these two if you really think you need to.  (read: You don't) -->
		     <address>hostname</address>
		     <localaddress>xxx.xxx.xxx</localaddress>

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>loginserver</host>
			<port>5999</port>
			<account>accountname</account>
			<password>password</password>
		</loginserver>

		<!-- Server status.  Default is unlocked -->
		<!--<locked/>-->
			<unlocked/>

		<!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
		<tcp ip="localhost" port="9000" telnet="enable"/>

		<!-- Sets the shared key used by zone/launcher to connect to world -->
		<key>some long random string</key>
		
		<!-- Enable and set the port for the HTTP service.  Defaults are shown -->
		<http port="9080" enabled="true" mimefile="mime.types" />
	</world>

	<!-- Chatserver (channels) information.  Defaults shown -->
	<chatserver>
		<host>hostnamehere</host>
		<port>7778</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>hostnamehere</host>
		<port>7779</port>
	</mailserver>

	<zones>
		<defaultstatus>0</defaultstatus>

		<!-- Sets port range for world to use to auto configure zones -->
		<ports low="7000" high="7099"/>
	</zones>

	<!-- Database configuration, replaces db.ini.  Defaults shown -->
	<database>
		<host>xxx.xxx.xxx</host>
		<port>3306</port>
		<username>xxxxx</username>
		<password>xxxxxx</password>
		<db>newpeq</db>
	</database>

	<!-- Launcher Configuration -->
	<launcher>
		<!-- <logprefix>logs/zone-</logprefix> -->
		<!-- <logsuffix>.log</logsuffix> -->
		<!-- <exe>zone.exe or ./zone</exe> -->
		<!-- <timers restart="10000" reterminate="10000"> -->
	</launcher>

	<!-- File locations.  Defaults shown -->
	<files>
		<spells>spells_us.txt</spells>
		<opcodes>opcodes.conf</opcodes>
		<logsettings>log.ini</logsettings>
		<eqtime>eqtime.cfg</eqtime>
	</files>
	<!-- Directory locations.  Defaults shown -->
	<directories>
		<maps>Maps</maps>
		<quests>quests</quests>
		<plugins>plugins</plugins>
	</directories>
</server>
Reply With Quote