Setup a local Life is Feudal: Your Own dedicated server

A guide to setting up a development environment for modding with LiFx framework compatibility

Table of contents

  1. Prerequisits
  2. Windows
    1. MariaDB
    2. SteamCMD
    3. Life is Feudal: Your Own dedicated server files
      1. Booting your server for the first time
    4. LiFx Server Framework
    5. Quality of life tips


  • MariaDB
  • SteamCMD
  • LiFx Server Framework



  1. Download the latest MariaDB release from

    Disclaimer: Life is Feudal: Your Own recommends MariaDB version 5.5, but due to security patches being discontinued since April 2020, we would recommend you install a newer version. Server hosts are likely to have a newer version than 5.5, however note there are changes in terms of triggers and procedures that are different between each version and may impact your mods.

  2. Run the MSI installer to install it as a service. No modification ot the default features are necessary.
  3. When prompted for a root password. Choose a complex password, we recommend a password of minimum 16 characters, with punctuations, special characters, numbers, large and small letter combinations.
    If you want remote users to be able to login as root (we discourage this) you also have to check the option “Enable access from remote machines for ‘root’ user

    Note when allowing root connections from remote computers, you are potentially opening up a security risk.

  4. Leave the rest of the options default, you may now complete the installation wizard without alterations.
  5. Life is Feudal requires some changes to the standard config for MariaDB. Navigate to the data directory of your MariaDB installation “C:\Program Files\MariaDB <your version=”“>\\data” where you replace “<our version=”“>” with the version number you installed. For example: C:\\Program Files\\MariaDB 10.10\\data. Open the file called “**my.ini**” in your favorite text editor.</our></your>

    Make sure the [mysqld] section has the following options. Add the missing options as shown below. Merge the differences between your “my.ini” file and what we describe here:

  6. Once that is done, restart your MariaDB service using either of these options:
    1. Go to windows run (⊞ Win + R) and type “services.msc”, once services pops up, find “MariaDB” service and restart it
    2. Open up a powershell or command prompt window and type

      net stop MariaDB
      net start MariaDB

      These commands will each run and give you a status if the service is stopped or started successfully.


  1. Download SteamCMD for Windows from valve:
  2. Unzip to a directory of your choice, for this tutorial your server files will also reside next with your steamcmd.exe file. For the purpose of this tutorial, we are assuming you have unpacked the zip file to the following directory: “C:\Steam

Life is Feudal: Your Own dedicated server files

  1. Open up a terminal in the folder where you have your steamcmd.exe file
  2. In your terminal write the following

    .\steamcmd.exe +login anonymous +app_update 320850 validate +quit
  3. This will update and install Life is Feudal: Your Own dedicated files which will be under the file path to your steamcmd.exe directory: “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\
  4. Copy config_local.cs from “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\docs” to “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\” and open it up in your favorite text editor.
  5. Customize the world_1.xml located in the following path “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\config” this is the main configuration file for your server. World ID has to be concise and follow the name of your xml file, default is 1.

Booting your server for the first time

To start your server simply run the file named “ddctd_cm_yo_server.exe” located in the path “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\” it will open a new window with yellow text showing you the console of your server.

If you get an error of missing DLL files, it is likely you haven’t installed Microsoft Visual C++ 2015 Redistributable package. You can find that package here

When the server has finished loaded (it may take several minutes on first boot up, due to server creating navmesh and terrain cache for the first time) and ready for clients it will display the following:

{} <> [0] Server is up and ready to accept connections
{} <<Thread>> [] The TCP server is up and running at port 28000 [T:NONE:12676]
{} <> [74] CmSteam::onSteamServersConnected
{} <> [92] CmSteam::onSteamPolicyResponse. secure=1, our steamID=xxxxxxx
{} <> [92] Steam initialized

LiFx Server Framework

Follow this guide

Quality of life tips

This section will cover some tips and tricks that I use to make developing mods using the LiFx Framework simpler and easier to restart, test and verify the mods without relying on comparatively slow game server provider’s hosting panels.

  1. Create a shortcut to “ddctd_cm_yo_server.exe
    1. Do this by right clicking “ddctd_cm_yo_server.exe” and choosing “Send to”, “Desktop (create shortcut)”
    2. Edit your shortcut, and go to properties.
    3. Append “-worldId 1” to the end of “Target” so you can choose what worldId you want to launch. Example: “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\ddctd_cm_yo_server.exe -worldId 1
  2. Put your server mod repositories directly in the directory “C:\Steam\steamapps\common\Life Is Feudal Your Own Dedicated Server\mods
    This way you will not need to copy files locally to test them out, and you will have source tracking all the way.


Thanks to Nyuton for his work on knowledge base article that this tutorial bases some of its information from