Skip to content

3. Vanilla Setup

If you have any trouble following the guide. Please send us a message in Discord we are more than happy to help you out!

3.1 Requirements and Pre-requisites

  • GIT installed in your system;
  • GIT LFS instaled in your system;
  • Steam installed in your system;
  • Broadband internet connection;
  • Router with the ability to port forward;
  • Min. 3 GB RAM;
  • Min. 64-bit Windows 10 Operating System.

3.2 Installing the server

The easiest way to install the server is to right-click and git bash to the folder where you want to install the server files. You can also use CMD if you installed just GIT and not the GIT BASH.

image

Enter the following command to clone the GitHub repository to your wanted folder: NOTE: cloning creates a new folder for the files so no need to make a folder for the repository beforehand.

git clone https://github.com/Uuvana-Studios/longvinter-windows-server.git

Once the cloning is done you should see the following files inside the folder command created.

image

You now have installed the server!

3.3 Customizing the server

You can customize some server parameters by editing the Game.ini config file

Go to server folder and navigate to Longvinter ->Saved -> Config -> WindowsServer

Here you should create a new file and name it Game.ini

image

Open it for edit. You can use any text editor you want. Add the following content inside this file.

[/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c]
ServerName=Unnamed Island
ServerTag=Default
MaxPlayers=32
ServerMOTD=Welcome to Longvinter Island!
Password=
CommunityWebsite=www.longvinter.com

[/game/blueprints/server/gm_longvinter.gm_longvinter_c]
AdminEosID=97615967659669198
PVP=true
TentDecay=true
MaxTents=2
ChestRespawnTime=600

3.3.1 What does each setting mean?

Setting name Used for Default value
ServerName It's the name that shows up in the server browser. Please don't call your server with OFFICIAL name. We want players to clearly know if they are joining a server that is hosted by other players. Unnamed Island
ServerTag It's the tag that allows for easier search of the server. Please don't use your the word OFFICIAL on it. We want players to clearly know if they are joining a server that is hosted by other players. And only place one tag. Default
ServerMOTD Server message that is on a signs around the island. 32
MaxPlayer Maximum allowed players that can connect at any given time. Welcome to Longvinter Island!
CommunityWebsite Allows you to promote a website on a same place where the server message is shown. This link can be opened in-game. www.longvinter.com
Password Add you password here. Use only number and letters. If left empty there is no password on the server. (empty)
AdminEosID Here you can add all the admins that you want to have in the server. Your EOS ID can be found in the general settings tab. If you want to add multiple separate the ID's with single space. 76561198965966997
PVP Here you write true or false if you want to enable/disable Player versus Player fights.
TentDecay Here you write true or false if you want to enable/disable tent decay to make sure there isn't an abundant number of abandoned tents in the server.
MaxTents Maximum allowed of tents that players that can place in the server
ChestRespawnTime How much is the maximum respawn time for loot chests 600

3.4 Running the server

// To Do

3.5 Open Ports

You also need to open ports on your home router to allow traffic go through. This process is greatly different from what type of router you have. It is recommended to look in the manual provided by the manufacturer or contact your ISP for instructions.

P.S.A.

You currently cannot connect to server hosted from same machine (localhost).

Warning

In other tutorials it is asked to open the TCP Port 7777, do not do it. Unreal Engine doesn't use TCP connections - you would be leaving a unused port open by doing so!

  • For Steam open: 27015 & 27016 (TCP and UDP)
  • For Unreal Engine open: 7777 (UDP Only)

In some cases, opening the ports in your home router is not enough. In that case you usually also need to allow the ports in your software firewall. Windows has a built-in firewall, but some antivirus packages also include a firewall feature. For changing the settings on your antivirus firewall, look for instructions online or contact the developer directly.

3.5.1 Setting ports rules on Windows Firewall

In order to open the ports in the included Windows Firewall, follow the steps below:

  1. Open the Start Menu and search for "Windows Defender Firewall with Advanced Security", or the equivalent in your language.
  2. Right-click the Inbound Rules option on the left side and choose New Rule... inboundrules

  3. In the window that opens, select the Port option and click Next. port

  4. Next, enter the port that you wish to forward, select the correct protocol (TCP or UDP) and click Next. tcpudp

  5. Make sure "Allow the connection" is selected and click Next. allowconnection

  6. Make sure all options are selected and click Next. profile

  7. Give the firewall rule a recognizable name (Such as Longvinter [port]) and click Finish. name

Make sure to repeat steps 2-7 for each port that needs to be openend in the firewall.

3.6 Updating To Latest build

I suggest you update the server every time you start it. The best rule of thumb is that if your game has updated in steam. This means you also have to update the server.

Updating is done by opening the server folder in GIT BASH or in CMD as I showed earlier. The difference is that you now have to be inside the folder and not where it is located.

First, verify that you are in the folder by typing:

git status 

If console prints:

fatal: not a git repository (or any of the parent directories): .git

This means you are in the wrong folder and you cannot pull the update from here.

Updating is simple. Just execute these two lines separately

git restore .
git pull

Last update: 2022-11-29
Created: 2022-11-29