Как настроить dedicated server space engineers
This is a work-in-progress so it is not 100% complete nor is it intended to cover each and every possible way to do it. It is meant to give you enough rmation that you can host your own server the way you want with knowledge of how you can handle managing a basic server from start to finish. If there are any inaccuracies, please point them out and I will verify and correct as permits.
There are several ways to host a multiplayer game but the main difference is dedicated server vs peer-to-peer (player to player).
A dedicated server is one where the server runs without the graphical game client (nobody has to be connected). This can allow for better performance because the server does not have to load visual or audio components. The performance benefits are nullified if you play the game client on the same machine running the dedicated host.
A peer-to-peer server is one where a player loads their game and s it while playing at the same (i.e. player to player). When the hosting player closes the game, it kicks everyone out and the world is no longer available to play until that player starts the game client and loads that world again.
Here are the various combinations of how players can connect with each other:
Savegame file locations
The location of savegame files completely depend on how the game is hosted, your operating system and your username.
Windows 7/8/2012/Vista Dedicated Server:
Windows XP/2003/2008 Dedicated Server:
C:Documents and SettingsAll UsersApplication DataSpaceEngineersDedicatedSaves
Windows 7/8/2012/Vista Peer-to-Peer:
Windows XP/2003/2008 Peer-to-Peer:
C:Documents and SettingsApplication DataSpaceEngineersSaves
Move local savegame to dedicated instance
You can copy a local savegame to a dedicated server and vise versa.
See the section above to figure out where you need to copy from and to.
Make sure you have a dedicated server instance created 1st before trying to copy a world to it.
How to get your Steam ID
The Steam ID is used to specify server admins or ban users, you need to use the Steam ID instead of the Steam name.
Example Steam Name: LHammonds
Example Steam ID: 76561197970730192
- Login to the Steam client.
- Click on Profile under your profile name.
- Right-click on the button called Edit Profile and choose Copy Address
- Open Notepad and press CTRL+V to paste the address and it will look something like the following:
- Highlight and copy the number sequency which is 76561197970730192 in the example above.
- Paste that number in the Server admins field of the server configuration GUI for dedicated server.
How to get your Steam Group ID
If you want to limit your public server to only members in your Steam Group, you need to know the ID, not the friendly name.
Example: My Steam group name is HamCraftSE but the ID is 103582791437191898
- Login to the Steam client.
- Click on Groups under your profile name.
- Click the Group Name.
- Right-click on the button called Invite Friends and choose Copy Address
- Open Notepad and press CTRL+V to paste the address and it will look something like the following:
- Highlight and copy the number after invitegid which is 103582791437191898 in the example above.
- Paste that number in the Steam Group ID field of the server configuration GUI for dedicated server.
How to get the username of the current Windows account
You need to know what your Windows username is in order to find the right savegame folder for peer-to-peer worlds.
- Press CTRL+ALT+DEL and select Start Task Manager
- In the Processes tab, there is a User Name column which will have your username. It should show just your username but might show others like SYSTEM or LOCAL SERVICE
You can also open Control Panel, User Accounts and it should show the username of the currently logged in user.
Create a local savegame
I find it much easier and faster to just setup a local savegame on your PC and configure it how you like it and then transfer that savegame to your dedicated server.
You can configure it however you like but for this example, I will demonstrate how to setup a world, some options and select various types of mods to be used.
Once you copy this savegame to your dedicated server instance, it should show up as a selectable world to use on the server configuration GUI if you placed it correctly.
Making changes to the savegame
If you intend on having special ions for newbies, custom asteroids, etc., you can setup the world initially in creative mode (with private or offline mode) and build/blueprint paste your ions/ships. When ready, save, close the world and edit the settings of that world and change from Creative back to Survival and Public mode.
You can also add/remove mods on the settings page.
If the game world is already on the dedicated server, you can copy that world to your local savegame folder, load Space Engineers client and make changes. Once done, then copy the world from your local savegame folder to the dedicated server folder.
How to setup 64-bit SE dedicated server on Windows Server 2012 R2 64-bit
NOTE: Similar to Windows 7 and Windows Vista
- Open Control Panel, Folder Options. On view tab, allow Show n files (this allows you to see C:ProgramData)
- Deactivate UAC (User Account Control) (UAC was 1st duced in Windows Vista):
- Run MSConfig.exe, Tools tab, launch Change UAC Settings and set to Never notify
- Run regedit.exe, change 1 to 0 for HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystemEnableLUA
- Reboot for change to take effect.
- Location: D:SteamsteamappscommonSpaceEngineersDedicatedServer64SpaceEngineersDedicated.exe
- Name: Server GUI
- Location: C:ProgramDataSpaceEngineersDedicated
- Name: Instances
How to setup 32-bit SE dedicated server on Windows Server 2003 R2 32-bit
NOTE: Similar to Windows XP, Windows 2003 and Windows 2008
- Open Control Panel, Folder Options. On view tab, set Show n files and folders and uncheck extensions for known file types
- Deactivate DEP (Data Execution Prevention) (DEP was 1st duced in Windows XP SP2):
- Login as Administrator
- Right-click My Computer -> Properties -> Advanced -> Startup and Recovery Settings -> Startup Options Edit and change the following:
- Location: D:SteamsteamappscommonSpaceEngineersDedicatedServerSpaceEngineersDedicated.exe
- Name: Server GUI
- Location: C:Documents and SettingsAll UsersApplication DataSpaceEngineersDedicated
- Name: Instances
Server configuration GUI
When you start SpaceEngineersDedicated.exe (make sure to right-click and Run as Administrator) you will first be presented with an instance manager.
The default is a lonely Local / Console option which cannot be deleted. This is used if you want to run the console directly and only when the server is logged in. I tend to avoid doing this since the whole point of a dedicated server is to run all the even if the server reboots when nobody is there (e.g. after WindowsUps, etc.)
When you click Add new instance you are creating a Windows service which can automatically start when Windows starts. The Remove instance uninstalls the service and it will no longer auto-start with the operating system. It does not add or delete world saves so do not worry losing your files.
Some things to be noted is that when you first create a new instance, there are no worlds that exist yet. Also, all settings are default or empty values. In my examples above, I created a local savegame to be copied to the dedicated server. Once the instance is created, exit the server configuration GUI and copy the local savegame to the SE1 instance we just created.
When you start the Server Configuration GUI and load the SE1 instance configuration, you should see the saved world in the list and it should select it automatically. When it does this, it will also pre-populate almost all of the various setting with the settings used in that world. The exceptions are as follows:
Backup your world(s)
Schedule a task to run the following batch file on an hourly basis or whatever your needs are and drive space allows:
@ECHO OFF REM ****************************************************** REM ** Name: REM ** Purpose: Compress a folder into an file. REM ** : LHammonds REM ** Creation: 2015-04-16 REM ** Required: 7-Zip REM ** Output: .7z file REM ** Run Frequency: As often as needed ( hourly) REM ** Modifications REM ** WHEN WHO WHY REM ** ========== === ================================== REM ** 2015-04-16 LTH Created program. REM ****************************************************** SET STR_YEAR=%:
10,4% SET STR_MONTH=%:
7,2% SET STR_HOUR=%:
You do not want your hard drive space filling up and breaking your backup solution so you need a method for removing old s.
@ECHO OFF REM ****************************************************** REM ** Name: Purge Old s REM ** Purpose: Delete old s. REM ** : LHammonds REM ** Creation: 2015-04-16 REM ** Required: forfiles (comes with Windows 2003, Windows 7 and later) REM ** Output: Deleted files REM ** Run Frequency: As often as needed ( daily) REM ** Modifications REM ** WHEN WHO WHY REM ** ========== === ================================== REM ** 2015-04-16 LTH Created program. REM ****************************************************** SET STR_YEAR=%:
10,4% SET STR_MONTH=%:
7,2% SET STR_HOUR=%:
How to schedule batch files to run on Windows 2003
Rather than running batch files manually, you can have the computer do it for you on a consistant and fully-automated schedule.
How to up to a new version
I do not care for automatic ups to versions so I would rather up manually to ensure backups were made and that everything goes smoothly.
- Stop all instances and ensure SpaceEngineers.exe and SpaceEngineersDedicated.exe are not running in memory (use Task Manager to verify)
- Make a backup of your world(s).
- Start Steam and login. The auto-up process should begin to download the newest version of Space Engineers.
- Once the up is complete, exit Steam.
- Start the instance(s) either from Services or SpaceEngineersDedicated.exe
I install SEToolbox with each server I setup. It is used to load savegames, delete all floating objects (ore, tools, components) and deleting ships flying off into oblivion. If the game is corrupted, there is a repair option that might fix it.
Processor affinity and priority
If you have other CPU-intensive processes that are not very important, you can push them off of the CPU that Space Engineers is using.
Edit the Script configurable options per your setup and needs.
Let me know if you encounter any issues or have any suggestions.
Enjoy!
Powershell Script v1.2
- Added more user feedback (progress counter, text us)
- Added Server Files and Mods Download success check (checks returned output for us)
- Added console beeps upon script completion (script can run for a while if lots of mods are used)
- Added option to Show / SteamCMD output (clean up output since we have us checks now)
Powershell Script v1.1
v1.1 ensures No New Window for the server and mod ups, and redirects the output to the console (better if running from PowerGUI)
Powershell Script v1.0
Command Line Tool
You can run SpaceEngineersDedicated.exe with the following arguments:
taskkill /IM SpaceEngineersDedicated.exe This will stop the dedicated server correctly, saving the world etc. To stop it immediately add argument "/f", which will kill the server without asking to stop and without saving the world.
Игрокам-запуск сервера
Выделенные серверы в игре Space Engineers позволяют игрокам соединиться к стороннему хосту, а не к хосту игрока (peer-to-peer). Это серверы для длительной мультиплеерной игры. Они не зависят ни от каких игроков и работают без отрисовки и визуальных/аудио эффектов. Это позволяет добиться более быстрого соединения и быстродействия без лагов.
Выделенные серверы может запускать любой владелец лицензии Space Engineers. Вам не нужен дополнительный аккаунт Steam. Вы получаете выделенный сервер бесплатно к учетной записи Space Engineers.
Примечание:
На данный момент выделенные серверы разрешены только для некоммерческого использования, так что компании которые размещают игровые серверы, или любой кто хочет разместить свой сервер в такой компании пока не смогут этого сделать.
Чтобы запустить выделенный сервер, игрокам не нужно приобретать игру. Однако, чтобы легально управлять файлами сервера, по крайней мере одна из учетных записей Steam должна иметь лицензию на игру.
СИСТЕМНЫЕ ТРЕБОВАНИЯ
a) Windows с учетной записью администратора (только если сервер будет запускаться как сервер)
c) Статический IP адрес, если вы хотите хостить игру для всех, чтобы мог подключиться кто угодно из интернета.УСТАНОВКА
a) На PC с игрой и Steam - Ура! У вас уже инсталлирован выделенный сервер, вместе с SE. Просто зайдите в папку инсталляции с игрой (“ C:\Program Files(x86)\Steam\SteamApps\SpaceEngineers” или просто кликните правой кнопкой по игре в Стим и выберите Свойства -> Локальные файлы -> Просмотреть). В папке с игрой есть папка названная DedicatedServer(64) вместе с exe файлом.
Installation
You can install a dedicated server with SteamCMD
App ID for SE DS is 298740
Alternatively you can Make a shortcut on your desktop and give it one of these location paths:
(Many thanks to u/Jeiwyn and u/ElyrianVanguard on Reddit for this information.)
Remote Management
Remote Client helps you with the administering of your server without connecting to it. There is a monitoring tab with information about simulation speed and game play state. Admin tools tab is similar to
Standalone remote management
Standalone Remote Management
Router and Firewall Settings
- Static IP: If you intend to run a game that people from all over the Internet can connect to, you will need a static public IP address. Your internet service provider should tell you whether you have one or not. Without the static IP address, you will be able to host a dedicated server on your LAN, but people from outside the LAN won’t be able to connect to it.
- Port forwarding: The game uses UDP protocol to communicate. The default listen port is 27016, but this can be changed in the config tool. In order for people to be able to reach your server, you will have to configure your router to forward all incoming UDP traffic on port 27016 (or any other that you have specified) to the computer where your dedicated server is running.
- Firewall settings: Make sure to set the firewall on your server computer to allow incoming UDP traffic on the listen port.
User Interface
Dedicated Server User Interface
1. Server List
2. Global Configuration
3. Service Management
4. Buttons
"Add new instance" Creates a new instance of the dedicated server as a Windows service. "Remove instance" Continue to server configuration - Starts server instance configuration utility for the selected instances. "Continue to server configuration" Starts server instance configuration utility for the selected instances. "Exit" Closes the configuration utilityКак настроить dedicated server space engineers
20 апр. 2019 в 2:26Выделенный сервер Space Engineers - Dedicated Server
Выделенный сервер Space Engineers - Dedicated Server
20 апр. 2019 в 2:27
Приветствую всех любителей Space Engineers. Часто играю с друзьями по сети. Возникло желание сделать удалённый сервер на работе, чтобы работал 24/7 и все могли в любое время зайти и поиграть. При создании выделенного сервера Space Engineers - Dedicated Server возникла проблема. Сервер виден в "Локальной сети" и возможно подключение через "Прямое подключение" с компьютера, с которого создается сервер. Но никто не видит игру и не может подключится к ней через "Прямое подключение". Были изучены все возможные инструкции по созданию сервера, опробован в деле Torch Server и прочие возможности. Разумеется, в роутере были созданы открытые порты (27016, по дефулту, наш открытый порт который проверяли через нетстат и стимовский порт 8766). Все должно было работать. Пробовали создавать игру при создании сервера и уже ставить сейв уже созданной сетевой игры. Ничего не работает.
Подскажите, в чем может быть загвоздка. Нет возможности создания выделенного сервера через интернет, только локальная сеть? СпасибоGreetings to all Space Engineers fans. I often play with friends on the network. There was a desire to make a remote server at work so that it worked 24/7 and everyone could come in and play at any time. There was a problem creating a dedicated Space Engineers - Dedicated Server server. The server is visible in the "Local Area Network" and it is possible to connect through the "Direct Connection" from the computer from which the server is created. But no one sees the game and can not connect to it through the "Direct Connection". We studied all possible instructions for creating a server, tested it in Torch Server and other features. Of course, open ports were created in the router (27016, by default, our open port, which was checked via netstat and Steam port 8766). Everything had to work. Tried to create a game when creating a server and already put a save game of an already created network game. Nothing works.
Tell me what could be the catch. There is no possibility of creating a dedicated server via the Internet, only a local network? thankServer Management
Dedicated Server User Interface - Server Management
1. Connect to Steam Some of the features of the UI are using Steam to help users to fill correct values. You can connect to Steam to get your friends and mods lists. To be able to use this you have to be logged into Steam on that machine.
2. Features There are 4 main features on the UI:
3. New game / Saved worlds option Lets you choose between starting a new world generated from a scenario or loading a previously saved world The previously saved worlds are loaded either from the “AppData\Roaming\SpaceEngineersDedicated” folder in your home directory (e.g. “C:\Users\John.Doe”) or from the “ProgramData\SpaceEngineersDedicated” folder in the system root. To be able to play a world on the dedicated server that you previously created and saved in the game, you will have to copy it from your save game directory “AppData\Roaming\SpaceEngineers” to the respective folder4. Game settings Scenario - Can only be chosen for the “New game” option. Other settings work as you know them from the game with the added bonus that you can set the numerical options to any value you want. (Warning: Values out of the range allowed by the game user interface are not tested and officially unsupported. They can seriously affect the game experience and performance)
5. Server settings General Listen IP - Address of network interface that the server will listen on. This can be set to “0.0.0.0” (which is the default value) to listen on all interfaces, which should work fine in most cases Port – Number of the port that the server will listen on Server name - Name that will be shown in the server list World name - Name of the world, which shows up in the server list Steam Group ID – If set to non-zero value, the dedicated server will only be visible for the given Steam group Password - Password for the server, if you need protected private server Remote API - Remote API for controlling server with VRage Remote Client Server Description - Describes your server
Mods You can select Active Mods on this tab. You can use your Subscribed Mods list from Steam.
MotD - Message of the Day You can fill Message of the Day and Message of the Day URL on this tab. This message will show up to every player, when connected to the server. You can use variables in the content of the MotD. Use the context menu of the text field to insert a variable of your choice. This variable will be replaced by actual value, when it shows to the player.
Maintenance You can setup Auto Restart and Auto Update features on this tab.
6. Configuration and Server controls
- Save config - Saves the configuration for the current server instance
- Edit config - Opens the current instance’s configuration file in a text editor for manual editing
- Save & start - Saves the current configuration and starts the server
- Restart – Restarts the server
- Stop – Stops the server
- Back to instances - Returns to the screen with the list of server instances
Exit - Closes the configuration utility (but not the dedicated server, if it is running as a service) Setup Actions - this feature can Stop/Restart server with delay and chat message on the server.
Plugins Management
You can use plugins management for server side plugins setup. Add plugin assembly and then select plugin.
Quick Server Setup
Basic setup as a foreground process:
Setup as a service:
Changing data directory on dedicated server
To change data directory for dedicated server, mklink command may be used.
- Make sure 'D:\Something\DirForData' exists
- Make sure 'C:\ProgramData\SpaceEngineersDedicated' does not exists
- Run command: mklink /J C:\ProgramData\SpaceEngineersDedicated D:\Something\DirForData
More information here (see Junction)
Setting up a Space Engineers Dedicated Server
Alternatively you can rent a Space Engineers Dedicated Game server from one of the official hosting providers.
- In order to run a dedicated server, players don't require a licensed copy of the game. However to legally obtain the game server files, at least one Steam account needs to have a valid license.
Contents
Dedicated Server Guide
How to find your group ID
If you want to find your Group ID, this is a way how to do it:
- First you have to be a member of the group
- On the group's page (e.g. http://steamcommunity.com/groups/rps), click "Invite Friends"
- On the new page that will open, you can find your Group ID (long number in bold) in the page's URL: Remote API
Remote API is RESTful web API, which you can use to get information about the server and running world. You can use VRage Remote Client to get the data or you can make your own client. These are available resources:
VRage remote management resources
Custom Client If you want to make your own client you have to properly create a request. Remote API is using HMAC (HMACSHA1) to compute hash from specific data. HMAC is using private key. Don’t share this key with anyone.
You have to compute hash from string (lines): URL - including query parameters Nonce - random string, can be used only once, can be a number Date - UtcNow, format r, RFC1123 pattern, must be added to header
This is converted to byte buffer from UTF8 string and then used to compute hash. Hash is converted to Base64 string and added to header to Authorization field in format “nonce:hash”.
Requirements
DS Minimum: CPU 3.2GHz, 3 logical cores 6G RAM
DS Recommended: CPU 4.5GHz, 3 logical cores 10G RAM
Как настроить dedicated server space engineers
Вопрос: Я сажусь в корабль, а оружие не стреляет и не работает бур. Что я делаю не так?
Вопрос: как задавать точные значения параметров элементов (например скорости вращения ротора) в меню управления. При помощи указателя мыши или кнопок "влево" - "вправо" значения выставляются не точно, "перескакивая" по инерции нужное мне значение. А мне нужно задать одну и ту же скорость у двух роторов
Ответ: Перед использованием, находясь в кокпите корабля, нужно нажать G, и перетащить нужное оружие или бур в панель выбора внизу экрана.
Ответ: Используйте стрелки на клавиатуре или нажмите Ctrl+Левый клик на ползунке.Как подключиться к выделенному серверу?
Ответ:
- открываете обозреватель серверов в Steam
- выбираете фильтр "Space engineers"
- двойной клик по любому серверу из спискаКак установить и запустить выделенный сервер?
Ответ:
- распаковать SteamApps/Common/SpaceEngineers/Tools/DedicatedServer.zip куда угодно
- запустить DedicatedServer64/SpaceEngineersDedicated.exe
- окно конфигурации будет запущено, тут можно многое настроить, после чего нажать "Save and start"
- Если вы работаете не в консольном режиме, вы сможете вернуться и настроить еще один сервер (убедитесь что у них разные порты) или закрыть окно
- чтобы сделать игру видимой в обозревателе серверов Steam или в игровом обозревателе, вы должны продвинуть/открыть UDP порт, более известный как "Серверный порт"Вопрос: "Можно ли настроить распределение ресурсов (скажем, чтобы в одном очистителе очищалось только железо, а в другом - только золото) или такой возможности нет и ресурсы распределяются рандомно?"
Ответ: Только если в ручную. Автоматически ресурсы забираются в произвольном порядке.Вопрос: Как задействовать геймпад в игре. Все мои попытки успехом не увенчались.
Вопрос: "Я почти скопал 3 астероида, 4 - крохотный и дырявый. Где брать ресурсы дальше?"
Ответ: На данный момент геймпад не поддерживается.
Ответ: Создайте новую карту или разбирайте пролетающие мимо кораблиВопрос: "Тогда еще один вопрос - я подключаю по схеме "очиститель-бокс хранения-сборщик", в очистителе есть готовые слитки, но сборщик их не видит - в чем проблема?"
Ответ: Проверьте соединение люков.
P.S.
Спасибо Николаю Юфереву за ответы.Вопрос: Как использовать стыковочный блок (Merge block)?
Ответ: Просто подлетите одним стыковочным блоком к другому и они автоматически схватятся. Чтобы отсоединится, отключите стыковочный блок в панели управления. Стоит отметить, пару моментв:
а) стыковать можно только корабли одного типа
б) если при стыковки соединились и обычные блоки, сами они уже не разъединятся.
Стоит учитывать, что если большой корабль состыковать со станцией, то после расстыковки он тоже станет станцией. Чтобы вернуть все обратно, нужно конвертировать его в корабль через панель управления.Вопрос: Как работает батарея?
Ответ: Она может работать только в двух режимах: режим зарядки и режим энергоисточника. В случае режима зарядки батарея не отдает энергию. Батарея заряжается от солнечных панелей или от реактора.Вопрос: Как работает панель кнопок?
Ответ: Нужно нажать К на пустое место под кнопку, после чего перетащить нужное действием из меню действий в меню кнопки.Вопрос: Как мне создать астероид/предмет/планету в креативном режиме?
Ответ: Комбинация Shift+F10Вопрос: Отсутствует звук в игре, перемещаю ползунки громкости, но они все равно остаются на минимуме.
Ответ: Обновите звуковой драйвер, в его настройках так же нужно выставить минимальное качество (16 бит, 48 000 Гц)Читайте также: