LandTraveller

LandTraveller

Not enough ratings
Hosting a Dedicated Server
By Sayuri
Basic guide to set up your own LandTraveller dedicated server. Requires knowledge of using steamcmd.
   
Award
Favorite
Favorited
Unfavorite
Setting Up the Server
This guide assumes you've had experience setting up dedicated game servers before and focuses on what is unique to starting a LandTraveller server. First, you'll need to know how to use steamcmd. You can get steamcmd from here:

https://developer.valvesoftware.com/wiki/SteamCMD

The APPID for the dedicated server software is 523390, when you download the server you'll notice it has a server.cfg. Configure it before starting the server.

name = "LandTraveller Server"
Set this to the title of your server. You only get a few characters and you should surround the title in double quotes. You'll describe the special traits of the server (mods, etc.) in the description instead.

desc = "Default"
Set this to the description for your server. Fit on one line what makes this server unique (or your typical mods/traits list).

seed =
You must define the world generation seed as the config comes with it blank. The server won't start until you do. These follow the same seed rules as the single player game.

players = 16
This sets the maximum number of players.
Warning: this currently has no effect

private = 0
Setting this to 1 prevents the server from advertising to the tracker. The tracker shows players a list of servers to browse from.

usemod = 0
If set to 1, the server will use a custom world module.

modname =
If using mods, set this to the name of the mod (without the .ltx at the end).


Once you have configured the server, go ahead and start it. If you need to set a port in your firewall, the game uses port 12582 (both TCP and UDP). If you started a public server, it will appear in the tracker if you did everything right.
Defining a Custom World
Now that your server is up, you might want to set it apart with a custom world.

I strongly recommend you test play custom worlds in explore mode first as it is possible to define a world that never finishes generating or one that overloads/crashes the engine.

First, browse to where you have the game files installed and look for a folder named "addon".

In this folder, create a new folder with the name of your custom world. Then copy the template script from "template".

Instructions on how the fields work are written in the comments. You should only change a few things at a time and test. The script needs to have the same name as your folder. If the script file is "example.ltc", then the folder must be "example".

The script references IDs for various objects. You can look them up using the LandTraveller quick reference guide:

http://landtraveller.com/quickref/

Next, start the game and then go to mods. You should see your custom world listed. Enable it and then play in explore mode for it to generate your custom world. If it isn't to your liking or you want to change more, close the game, edit the script, and then go back into explore mode. If you change the script, it automatically generates a new world with the updated script.

If you undo a change and the script is exactly like a previous version, it will reload the older worlds. The engine never actually deletes game save data as a precaution.

Once you're happy with your custom world, take the .ltx file (the compiled .ltx that is NOT in your script folder) and put it in your servers "addon" folder. Then enable mods and define the mod name in the server.cfg as described in the previous section. Reboot your server and players will now be in your custom world.
4 Comments
Sayuri  [author] Apr 11, 2020 @ 2:30pm 
The next update will be coming soon.
AJBallistic Apr 11, 2020 @ 10:08am 
I Love the game pls update
Fei the SCREAMING BEAN! Mar 17, 2018 @ 12:49pm 
i think it needs to be revised as im now having difficulty trying to set up a new server. i had one before but under linux. anything special needed under windows?
RedSeptember Mar 13, 2018 @ 7:06pm 
Keeps saying there is no subscription to the 523390 ID :(