Dedicated Server Setup Guide: Difference between revisions
FoxFireFive (talk | contribs) mNo edit summary |
dedicated server is now accessible anonymously |
||
| Line 60: | Line 60: | ||
Everything for Logic World will be placed in the logic_world folder, logic_world_ds will contain the logic world server software. | Everything for Logic World will be placed in the logic_world folder, logic_world_ds will contain the logic world server software. | ||
<br> | <br> | ||
Use steamcmd to install the Logic World server, | Use steamcmd to install the Logic World server, simply use <i>anonymous</i> as the username.<br> | ||
<code>steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 validate +quit</code><br> | |||
<code>steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login | |||
<br> | <br> | ||
If you want to run the exciting but unstable public-preview version of Logic World, run the following command instead of the previous one | If you want to run the exciting but unstable public-preview version of Logic World, run the following command instead of the previous one | ||
<code>steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login | <code>steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 -beta public-previews validate +quit</code><br> | ||
Make sure all connecting clients are also running public preview or they will be unable to connect.<br> | Make sure all connecting clients are also running public preview or they will be unable to connect.<br> | ||
==== Configure your new Server ==== | ==== Configure your new Server ==== | ||
| Line 90: | Line 85: | ||
<br> | <br> | ||
Create the update script<br> | Create the update script<br> | ||
<code>printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 validate +quit\n" > ~/update_logic_world_server.sh</code><br> | |||
<code>printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login | |||
Or, it you are using the public-preview version use this to command instead.<br> | Or, it you are using the public-preview version use this to command instead.<br> | ||
<code>printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login | <code>printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 -beta public-previews validate +quit\n" > ~/update_logic_world_server.sh</code><br> | ||
<br> | <br> | ||
Make the update script executable<br> | Make the update script executable<br> | ||
Latest revision as of 01:06, 4 December 2025
The Logic World Dedicated Server (LWDS) allows Disciples of Bobby to create circuits together.

Required Specs
The required machine to run a Logic World server depends a lot on the complexity and amount of circuits you build in the world and how many players will be using it at the same time.
For a couple of players, a 4gb server is plenty.
Linux (Ubuntu)
This guide assumes the following:
- Ubuntu 24.04 has been freshly installed.
- The server has a public IP Address
Update and Install Packages
Enable 32-bit packages
sudo dpkg --add-architecture i386
Enable multiverse repositories
sudo add-apt-repository multiverse
These two commands allow steamcmd to be installed which is the tool used to install the Logic world server software.
Update the system
sudo apt-get update
sudo apt-get upgrade -y --no-install-recommends
These update your package manager and install updates for any installed packages.
Install new packages
sudo apt-get install -y --no-install-recommends steamcmd screen ufw
steamcmd is used to install Logic world.
screen is used to keep Logic World running even if you close the terminal.
ufw is used to control the firewall.
Allow connections for Logic World in the firewall
sudo ufw allow 43531/udp
Setup a Logic World User
We are now going to create a user that will run the logic world server.
Create the user:
sudo adduser logicworld
This is start a wizard to guide you through creating the user, the only important setting is the password, all other settings can be left blank.
Switch to the User:
sudo su logicworld
This command will make you the new user you just created. If you would like to switch back to your initial user type exit. For now, stay as the logicworld user, all the following commands need to be run by them.
Install Logic World Server
Make sure you are currently in your home directory.
cd
Create a directory where we can install logic world.
mkdir -p /home/logicworld/logic_world/logic_world_ds/
Everything for Logic World will be placed in the logic_world folder, logic_world_ds will contain the logic world server software.
Use steamcmd to install the Logic World server, simply use anonymous as the username.
steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 validate +quit
If you want to run the exciting but unstable public-preview version of Logic World, run the following command instead of the previous one
steamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 -beta public-previews validate +quit
Make sure all connecting clients are also running public preview or they will be unable to connect.
Configure your new Server
Create a shortcut to the Gamedata folder
ln -s /home/logicworld/logic_world/logic_world_ds/GameData/ /home/logicworld/logic_world/GameData
Change the default password.
This command will change the password to 12345678, modify this to set your own password.
sed -i 's/this is a very secure password/12345678/g' ~/logic_world/logic_world_ds/config.jecs
The config file is located at ~/logic_world/logic_world_ds/config.jecs you can use vim or nano if you want to customize it further.
Create Management Scripts
Create the start up script
printf "#!/usr/bin/env bash\n\nscreen -L -m -d -S lwserver Server/Server\n" > ~/start_lw_server.sh
Make it executable
chmod +x ~/start_lw_server.sh
Create the update script
printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 validate +quit\n" > ~/update_logic_world_server.sh
Or, it you are using the public-preview version use this to command instead.
printf "#!/usr/bin/env bash\n\nsteamcmd +force_install_dir /home/logicworld/logic_world/logic_world_ds/ +login anonymous +app_update 1252670 -beta public-previews validate +quit\n" > ~/update_logic_world_server.sh
Make the update script executable
chmod +x ~/update_logic_world_server.sh
Start the Server
To start your new server run this command.
./start_lw_server.sh
This will start the server in the background, if you are able to connect to the server with your Logic World game you can now disconnect from the server.
If you need to log in again to make changes make sure to run sudo su logicworld to switch to your user then run cd to go to your home directory.
From here you can:
Start the server: ./start_lw_server.sh
Update the server: ./update_logic_world_server.sh
View the output of the running server: screen -r
To stop viewing the running server output press ctrl+a then press d
If you would like to stop the server instead, press ctrl+c
while viewing the output.