Editing Setting Up a Server
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
The stable version was checked on 14 March 2024. There are 2 pending changes awaiting review.
Notice: Some of the pending changes affect the area of the page you are editing. (show those changes)
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Eco servers are relatively easy to get running, and there are a couple of ways to set one up. | [[Eco]] servers are relatively easy to get running, and there are a couple of ways to set one up. | ||
If you own the game through Steam, you can get the server files and run the server through Steam. If you have a Strange Loop Games account, you can download the server files directly through [ | If you own the game through Steam, you can get the server files and run the server through Steam. If you have a [[Strange Loop Games]] account, you can download the server files directly through [http://www.strangeloopgames.com/eco/ Eco's website]. | ||
There are many server hosting companies that offer to host for Eco servers if you don't want to or can't run an Eco server on your computer. | There are many server hosting companies that offer to host for Eco servers if you don't want to or can't run an Eco server on your computer. | ||
Line 18: | Line 18: | ||
==== Windows ==== | ==== Windows ==== | ||
====== Task Scheduler ====== | ====== Task Scheduler ====== | ||
Line 47: | Line 48: | ||
''For example:'' | ''For example:'' | ||
D:\steamcmd | D:\steamcmd | ||
2. Download SteamCMD for Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | 2. Download SteamCMD for Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | ||
Line 57: | Line 58: | ||
1. As the root user, create the ''steam'' user: | 1. As the root user, create the ''steam'' user: | ||
sudo useradd -m steam | sudo useradd -m steam | ||
sudo passwd steam | sudo passwd steam | ||
2. Go into its home folder: | 2. Go into its home folder: | ||
sudo -u steam -s | sudo -u steam -s | ||
cd /home/steam | cd /home/steam | ||
Package From Repositories | |||
1. It's recommended to install the SteamCMD package from your distribution repositories, if available: | 1. It's recommended to install the SteamCMD package from your distribution repositories, if available: | ||
Ubuntu/Debian: | Ubuntu/Debian: | ||
sudo apt install steamcmd | sudo apt install steamcmd | ||
'''Note:''' If you are using a 64-bit machine, you will need to add multiverse: | '''Note:''' If you are using a 64-bit machine, you will need to add multiverse: | ||
Line 82: | Line 79: | ||
Dont forget to update, if you add multiverse before installing. | Dont forget to update, if you add multiverse before installing. | ||
sudo add-apt-repository multiverse | sudo add-apt-repository multiverse | ||
sudo apt install software-properties-common | sudo apt install software-properties-common | ||
sudo dpkg --add-architecture i386 | sudo dpkg --add-architecture i386 | ||
sudo apt update | sudo apt update | ||
sudo apt install lib32gcc-s1 | sudo apt install lib32gcc-s1 steamcmd | ||
RedHat/CentOS: | RedHat/CentOS: | ||
yum install steamcmd | yum install steamcmd | ||
Arch Linux: | Arch Linux: | ||
git clone https://aur.archlinux.org/steamcmd.git | git clone <nowiki>https://aur.archlinux.org/steamcmd.git</nowiki> | ||
cd steamcmd | cd steamcmd | ||
makepkg -si | makepkg -si | ||
'''Note:''' You will need to have the base-devel package installed to execute makepkg: | '''Note:''' You will need to have the base-devel package installed to execute makepkg: | ||
sudo pacman -Syy base-devel | sudo pacman -Syy base-devel | ||
2. Link the <code>steamcmd</code> executable: | 2. Link the <code>steamcmd</code> executable: | ||
sudo ln -s /usr/games/steamcmd /home/steam/steamcmd | sudo ln -s /usr/games/steamcmd /home/steam/steamcmd | ||
Docker | |||
If your server is running Docker, you can simply use: | |||
Docker: | |||
docker run -it --name=steamcmd cm2network/steamcmd bash | docker run -it --name=steamcmd cm2network/steamcmd bash | ||
<code>steamcmd.sh</code> is located at <code>/home/steam/steamcmd</code>. | <code>steamcmd.sh</code> is located at <code>/home/steam/steamcmd</code>. | ||
Line 131: | Line 115: | ||
You can find the associated Docker Hub page here: [3] | You can find the associated Docker Hub page here: [3] | ||
Manually | |||
1. Before you begin, you must first install the dependencies required to run SteamCMD: | 1. Before you begin, you must first install the dependencies required to run SteamCMD: | ||
Ubuntu/Debian (x86-64) | Ubuntu/Debian (x86-64) | ||
sudo apt-get install lib32gcc-s1 | sudo apt-get install lib32gcc-s1 | ||
RedHat/CentOS (x86-64) | RedHat/CentOS (x86-64) | ||
yum install glibc.i686 libstdc++.i686 | yum install glibc.i686 libstdc++.i686 | ||
2. As the root user, escalate to the ''steam'' user: | 2. As the root user, escalate to the ''steam'' user: | ||
su - steam | su - steam | ||
If you're not logging in as root and you instead use <code>sudo</code> to perform administration, escalate to the ''steam'' user as follows: | If you're not logging in as root and you instead use <code>sudo</code> to perform administration, escalate to the ''steam'' user as follows: | ||
sudo -iu steam | sudo -iu steam | ||
3. Create a directory for SteamCMD and switch to it. | 3. Create a directory for SteamCMD and switch to it. | ||
mkdir ~/Steam && cd ~/Steam | mkdir ~/Steam && cd ~/Steam | ||
4. Download and extract SteamCMD for Linux. | 4. Download and extract SteamCMD for Linux. | ||
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - | curl -sqL "<nowiki>https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz</nowiki>" | tar zxvf - | ||
5. Install tmux and/or screen for easy server management. | 5. Install tmux and/or screen for easy server management. | ||
sudo apt-get install tmux screen -y; | sudo apt-get install tmux screen -y; | ||
=== Manually === | === Manually === | ||
Set the install directory by typing:<pre>force_install_dir ./Eco_Server</pre> | Set the install directory by typing:<pre>force_install_dir ./Eco_Server</pre> | ||
Line 181: | Line 158: | ||
This will download the server. Or when you want to update the server will start downloading the latest version overwriting all the files of the downloaded server. | This will download the server. Or when you want to update the server will start downloading the latest version overwriting all the files of the downloaded server. | ||
<span style="color: # | <span style="color: #e0ff66;">(Please make sure you do not run your server from the same directory just in case you decide to use this method to update and forget to back up your data.)</span> | ||
=== With a bat file === | === With a bat file === | ||
If you want to use a batch file (.bat) make a batch file and put one of the following codes into the file. | If you want to use a batch file (.bat) make a batch file and put one of the following codes into the file. | ||
Line 188: | Line 165: | ||
Suggestion A: | Suggestion A: | ||
<pre> | <pre> | ||
steamcmd.exe +force_install_dir "./Eco Server" | steamcmd.exe +login anonymous +force_install_dir "./Eco Server" +app_update 739590 validate +quit | ||
</pre> | </pre> | ||
Suggestion B: | Suggestion B: | ||
<pre> | <pre> | ||
steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +force_install_dir "./Eco Server" | steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir "./Eco Server" +app_update 739590 validate +quit | ||
</pre> | </pre> | ||
These commands will automatically download the eco-server and place it in a folder named "Eco Server". (Inside the SteamCMD folder). | These commands will automatically download the eco-server and place it in a folder named "Eco Server". (Inside the SteamCMD folder). | ||
Line 200: | Line 177: | ||
Do not run the downloaded server inside the SteamCMD folder itself. You want to keep that version as a backup and reference to an unedited server. | Do not run the downloaded server inside the SteamCMD folder itself. You want to keep that version as a backup and reference to an unedited server. | ||
== Server Without Steam == | == Server Without Steam == | ||
=== Installing === | === Installing === | ||
[[File:Server_Download_Location_SLG.jpg|Eco server download location on Strange Loop Games website.|thumb|600px]] | [[File:Server_Download_Location_SLG.jpg|Eco server download location on Strange Loop Games website.|thumb|600px]] | ||
To run a server locally without Steam, you first need to grab the server files from [ | To run a server locally without Steam, you first need to grab the server files from [http://www.strangeloopgames.com/eco/ Strange Loop Game's website] under "Account". This requires you to sign in to your SLG account and to have purchased Eco through that account or a linked Steam account. On the account page, there is a section that lists the current version of Eco and the current staging release with download links for both. Clicking on the "Server" link for the version you want will download a .zip file of the server. | ||
When the server is done downloading, move the .zip file to wherever you want to install the server. It is recommended to install the server into an empty folder. When you have the .zip file in the location where you want to install the server, unzip it using whichever compression program you prefer (common programs include WinRar, 7-zip, and WinZip). | When the server is done downloading, move the .zip file to wherever you want to install the server. It is recommended to install the server into an empty folder. When you have the .zip file in the location where you want to install the server, unzip it using whichever compression program you prefer (common programs include WinRar, 7-zip, and WinZip). |