Server Manual

From Tomb Raider Mod Launcher Wiki
Revision as of 07:22, 8 August 2014 by Jack9267 (talk | contribs) (Created page with "== Setting up the server == To setup the server you will need to first download it. You can download the latest version of the server from our [http://tombraidermodlauncher....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up the server

To setup the server you will need to first download it.

You can download the latest version of the server from our downloads page.

You will need to extract the archive, I recommend that you use 7-zip.

Once you have extracted the archive you will find it contains the server executable, example resources and the example server.xml configuration file.

Configuring the server

To configure the server you will need to open server.xml in notepad or notepad++.

Once you got the configuration file open you should then see the contents of it like below.

<server>
	<!--
		Sets the name of the server, this would be used for the list of servers.
		It is required that you specify a value for this.
	-->
	<servername>Playable Tutorial Level</servername>

	<!--
		Sets the total number of people that can be in the server at 1 time
		Default: 32
		Max: 128
	-->
	<maxplayers>128</maxplayers>

	<!--
		Sets the UDP port for the server to listen on.
		Default: 22000
		Range: 0-65535
	-->
	<port>22000</port>

	<!--
		Sets the password for the server.

		If blank then no password is required to connect.

		Default: no password
	-->
	<password></password>

	<!--
		Sets the game engine the server works with.
		Possible values:

		II_RELEASE
		III_RELEASE
		IV_RELEASE_PATCHED
		IV_EDITOR
		IV_DEMO_TIMES
		IV_RELEASE
		IV_DEMO
		V_RELEASE_PATCHED
		V_RELEASE
	-->
	<engine>IV_EDITOR</engine>

	<!--
		Sets the map that the server works with.
		The value is the index of the map.
		For example with TRLE:
			0 - title screen
			1 - playable tutorial level
			2 - tomb of seth
			...
	-->
	<map>1</map>

	<!--
		Sets the OCB to read of the LARA_START_POS to spawn at.
		Default: 0

		See this for more information:
			http://www.trsearch.org/Tutorial.php?action=gettut&id=32

		If you don't understand this then just use zero.
	-->
	<larastartpos>0</larastartpos>

	<!--
		Controls some tweaks to the game.
		Default: 0

		Flag 1 = Disable camera trigger type
		Flag 2 = Disable flyby trigger type
		Flag 4 = Disable AI objects (guide, voncroy, baddy1 etc.)
		Flag 8 = Disable finish trigger type

		To get the number below add up the numbers above to enable what you want :)
	-->
	<flags>13</flags>

	<!--
		Set if FlyCheat from the script is enabled.

		Default: DISABLED
		
		To enable this set to ENABLED.
	-->
	<flycheat>DISABLED</flycheat>

	<!--
		Set if modified executables are allowed.

		Default: DISABLED

		To enable this set to ENABLED.
	-->
	<allowmoddedexecutables>DISABLED</allowmoddedexecutables>

	<!--
		RESERVED

		The idea of this flag is to set if remote laras are considered friends or foes.
		Possibly made redundant with team support.
	-->
	<laraenemy />

	<!--
		RESERVED

		The idea of this is to change the level flags.
		Can include young lara, lightning etc.
	-->
	<levelflags />

	<!--
		Use this to add resources to the server.

		Resources can control anything the server supports through the use of squirrel.
	-->
	<resources>
		<resource src="joinquit" />
		<resource src="chat" />
	</resources>
</server>

All the options have comments on them specifying what they do to the server.

If the option is enabled or disabled you would use ENABLED or DISABLED to toggle the value.