Ark survival evolved windows server

Содержание
  1. Ark survival evolved windows server
  2. Настройка Выделенного Сервера
  3. Содержание
  4. Требование к ОС [ править | править код ]
  5. Системные требования [ править | править код ]
  6. Сеть [ править | править код ]
  7. Программное обеспечение [ править | править код ]
  8. Windows [ править | править код ]
  9. Linux [ править | править код ]
  10. Лимит открытых файлов [ править | править код ]
  11. SteamCMD [ править | править код ]
  12. Установка сервера [ править | править код ]
  13. Установка бета версий [ править | править код ]
  14. Перенаправление портов и брандмауэр [ править | править код ]
  15. Windows [ править | править код ]
  16. OS X [ править | править код ]
  17. Linux [ править | править код ]
  18. UFW [ править | править код ]
  19. FirewallD [ править | править код ]
  20. iptables [ править | править код ]
  21. Port Forwarding [ править | править код ]
  22. Finding Your Server in Lists [ править | править код ]
  23. Automatic Startup [ править | править код ]
  24. Windows (via Scheduled Task) [ править | править код ]
  25. Linux (via systemd) [ править | править код ]
  26. Post-Setup Management [ править | править код ]
  27. Updating [ править | править код ]
  28. Console Commands [ править | править код ]
  29. Backing Up Server Data [ править | править код ]
  30. Troubleshooting [ править | править код ]
  31. Server Loses Characters or World Data Upon Restart [ править | править код ]
  32. Linux Server Exhibits High CPU Usage and Low Memory Usage (Below 1GB) [ править | править код ]
  33. Ark survival evolved windows server
  34. Dedicated Server Setup
  35. Contents
  36. Prerequisites
  37. Hardware
  38. Network
  39. Operating system
  40. Windows
  41. Linux
  42. SteamCMD
  43. Server Installation
  44. Run a Beta Branch
  45. Port Forwarding and Firewall
  46. Windows (Firewall and Allow Rules)
  47. OS X (firewall application)
  48. Linux
  49. FirewallD
  50. iptables
  51. Port Forwarding
  52. Finding Your Server in Lists
  53. Automatic Startup
  54. Windows (via Scheduled Task)
  55. Linux (via systemd)
  56. Post-Setup Management
  57. Updating
  58. Console Commands
  59. Backing Up Server Data
  60. Troubleshooting
  61. Server loses characters or world data upon restart
  62. Linux server exhibits high CPU usage and low memory usage (Below 1GB)

Ark survival evolved windows server

файл используется для более продвинутых модификаций, таких как отключение каких либо энграмм или увеличение количество хр за уровень,или изменение баланса в зависимости от вкусов игроков.
В отличии от файла GameUserSettings.ini где мы все команды прописываем в раздел [ServerSettings], тут же нужно будет вписать раздел вручную так как файл Game.ini изначально чист, итак вписываем раздел [/script/shootergame.shootergamemode] в файле Game.ini, только посли этого вводим команду, вот пример,
[/script/shootergame.shootergamemode]
EggHatchSpeedMultiplier=1.0

Все опции в файле конфигурации требуется значение. Если параметр не указан в конфигурационном файле, его значение по умолчанию используется автоматически.

После команды обязательно ставьте символ = только потом значение, вот пример
ServerCrosshair=True
AllowThirdPersonPlayer=True
MapPlayerLocation=True
MaxStructuresInRange=100

Для того чтобы запустить сервер с нужными нам параметрами, создадим удобный файл «два в одном» он нам будет служить и конфиг-файлом и файлом exe, для этого убедимся что мы можем изменять расширения файлов, сделать это очень просто создаем на рабочем столе текстовой документ, для того чтобы все пошло по плану, он должен выглядеть так

Итак приступаем к созданию конфиг-файла, На рабочем столе создаем новый текстовый документ, Переименовываем его к примеру в snart.server и меняем расширение файла «приставку» с txt на bat, если вы все сделали правильно выскочит такое вот окно;

тыкаем на кнопку да, если вы все сделали правильно, то у вас текстовой файл превратится в конфиг-фаил, выглядит он так;

И так все готово, можно приступать к созданию параметров командной строки,

Открываем файл который мы создали, и прописываем в нем следующие вещи;

start ShooterGameServer.exe «TheIsland?Название сервера?ServerPassword=Пороль сервера(не обяз)?Port=7777Этот или свой порт?Query27015??MaxPlayers=70ServerAdminPassword=Админ пароль обязательно
exit
*(Подчеркнутый текст замените на свои значения)

Источник

Настройка Выделенного Сервера

Эту статью необходимо переписать в соответствии с принятыми стандартами качества.

На этой странице вы найдете информацию о установке и некоторых настроек для сервера ARK: SE.

Скрипты по запуску сервера на вашем железе вы найдете в разделе Dedicated Server Scripts.

Содержание

Требование к ОС [ править | править код ]

Ваша ОС (операционная система) должна быть 64-битной (ShooterGameServer это 64-битный исполняемый файл и не будет работать на 32 битных Linux и Windows). Сервер был протестирован на Ubuntu 14.04 [1] а так же поддерживается любая ОС Windows с предустановленным софтом, который вы найдете в _CommonRedist (DirectX и vcredist 2010-13).

Системные требования [ править | править код ]

Для запуска сервера требуется не менее 6ГБ ОЗУ. Потребление ОЗУ зависит от количества подключенных игроков. А так же зависит от настроек сервера и установленных модов.

В Windows пустой сервер ARK: SE использует от 4.5 ГБ, Linux от 4GB ОЗУ.

Сеть [ править | править код ]

Сервер прослушивает входящие соединения через порты, перечисленные ниже. Убедитесь, что ваша сетевая конфигурация разрешает входящие соединения с этими портами и направляет их на хост, на котором будет работать ваш выделенный сервер.

Порт Назначение
UDP 27015 Query порт для запросов Steam browser
UDP 7777 Основной игровой порт
UDP 7778 Порт для «сырых» сокетов UDP (Всегда больше на +1 чем основной)
TCP 27020 RCON порт, для удаленного администрирования (опционально)

Примечание: указаны порты по умолчанию, администратор сервера может указать любые порты.

Вы можете разместить несколько выделенных серверов на одном железе, однако имейте в виду, что следует внимательно следить за процессором и памятью.

Кластеры Основной порт «Сырой» UDP порт Query порт RCON порт
Сервер в кластере #1 7777 7778 27015 27020
Сервер в кластере #2 7779 7780 27016 27021
Сервер в кластере #3 7781 7782 27017 27022
Сервер в кластере #4 9999 10000 37015 37016

Примечание: Query порт не может быть указан в диапазоне 27020 и 27050 из-за того, что Steam использует эти порты.

Программное обеспечение [ править | править код ]

Windows [ править | править код ]

DirectX (находится в папке _CommonRedist/DirectX ).

Linux [ править | править код ]

64 битному Linux серверу необходимы 32 битные компоненты для установки и запуска steamcmd.

Выделенному серверу ARK: SE требуется glibc 2.14 или выше. В Ubuntu 14.04 (или новее) и Debian 8 (Jessie) эти компоненты установлены, а в старых версиях, например, Debian 7 (Wheezy), нет. Чтобы установить необходимую версию glibc на Debian 7 (Wheezy):

Примечание: данная процедура не обновит систему до Debian Unstable (sid); только glibc и все его зависимости(возможно это сломает все, лучше использовать новые ОС).

Для более старых дистрибутивов, которые не поддерживают glibc 2.14, почитайте документации к дистрибутиву или обратитесь за помощью на форумах.

Лимит открытых файлов [ править | править код ]

Что бы настроить лимит на открытые файлы, следуйте инструкциям:

затем выполните следующую команду, чтобы применить изменения(добавьте в начало sudo, если нет root привилегий)

Внимание: без этих настроек игровой сервер может не запуститься. Если сервер запускается, но сильно нагружает процессор без использования как минимум 5,5 ГБ ОЗУ, сервер не смог открыть все необходимые ему файлы, и необходимо применить указанные выше изменение.

это демон, который отслеживает использование системных компонентов и динамически настраивает системные параметры, в настоящее время только на RHEL7, CentOS7.x и Fedora.

Примечание: вам нужно настроить «пропускную способность». В противном случае все изменения в /etc/security/limits.conf будут игнорироваться!

SteamCMD [ править | править код ]

Выделенный сервер ARK: SE доступен на Windows и Linux. SteamCMD используется для загрузки сервера. Посетите страницу SteamCMD для уточнения детальной информации. Далее описываемые действия являются краткими инструкциями.

Установка сервера [ править | править код ]

Для Linux, создайте server_start.sh : и разместите в ВАША_ПАПКА_С_СЕРВЕРОМ/ShooterGame/Binaries/Linux/

В Linux, после создания скрипта, сделайте его запускаемым:

Установка бета версий [ править | править код ]

Иногда вы можете поучаствовать в тестировании бета версий.

Brachname это пример, название бета версии может быть другим.

Перенаправление портов и брандмауэр [ править | править код ]

Чтобы ваш сервер был виден в списках серверов Ark, так и в списках Steam, сделайте следующее:

Windows [ править | править код ]

OS X [ править | править код ]

Linux [ править | править код ]

В большинстве Linux дистрибутивах брандмауэром является iptables. Для настройки правил будем использовать удобную утилиту UFW.

Все команды выполняем от root или с приставкой sudo. These open ports 7777 7778 and 27015 for UDP and optionally 27020 for TCP. You may want to adjust the list of ports you need by editing the «for port in. » line.

UFW [ править | править код ]

This script will open the ports in a way that will persist across reboots. UFW is the firewall on Ubuntu

FirewallD [ править | править код ]

This script will open the ports in a way that will persist across reboots. FirewallD is the firewall on RHEL7, CentOS7.x, and Fedora.

iptables [ править | править код ]

Port Forwarding [ править | править код ]

There are many websites with tutorials on port forwarding. It is highly suggested you visit portforward.com, which offers tutorials for the majority of routers.

What ports work depends on you. Try forwarding 27015 as the port, and 27016 as the query port. 27015, 27016, and 7777 are the most common ports that work.

You MUST forward both TCP and UDP for your server to show up on any lists. You can make sure your ports are open by using the tool from portforward.com, that is, after you

Enter the ports that you have forwarded in the start_server.bat file you should have created earlier. For example,

Good luck, port forwarding is not very easy.

Finding Your Server in Lists [ править | править код ]

You can access your server via the Steam servers list or the Ark unofficial list. Just search for you name in the Ark list, or find your IP address in the Steam server list. It is best to add your servers IP:PORT to your Steam favourites and joining using the ‘favourites’ tab ingame. The ingame list has a limit on the servers it will show at one time. There is no guarantee your server will appear in the unofficial lists all the time.

Automatic Startup [ править | править код ]

Windows (via Scheduled Task) [ править | править код ]

You can configure a scheduled task to automatically run a batch file and start the dedicated server when the system boots.

Linux (via systemd) [ править | править код ]

NOTE: systemd is not available for Ubuntu 14.04

As an alternative to using a script to launch the dedicated server manually, hosts running systemd can be configured to automatically start the dedicated server when the system boots. When using this method to manage the server, using GameUserSettings.ini to specify its settings is highly recommended. Refer to Admin Game Commands for more information.

The ExecStart line specifies the command to run in order to start the service. It uses the same syntax as the startup examples shown above (in #Server Installation), with all the same arguments, but here it’s important to adjust it to reflect the location of your ARK dedicated server on the host. Use the full path to the server executable, as shown above.

Be sure to replace with the desired session name for your server as well.

It’s recommended to run the dedicated server in an unprivileged account used solely for this purpose. In the example above, the user account «steam» is used. It’s a member of the «steam» group, which is generally created along with the account.

You will need to reboot after installation to initialize systemd.

Activate the new service so it starts automatically when the host boots by running the following command via sudo or a root shell:

After running this command, the dedicated server will automatically start when the host does. The command doesn’t start the server immediately, so to launch the dedicated server after enabling it, run:

After following these steps, your server should be up and running, and be automatically managed by the host on startup and shutdown.

Post-Setup Management [ править | править код ]

The server can be stopped by running:

and its current status can be viewed (whether it’s running or not) by running:

Note: If you need to update the ark-dedicated.service file (to change the dedicated server’s startup options or to adjust its path), run the following command to ensure your changes are applied:

Updating [ править | править код ]

To update the server when a new version is released, repeat the same SteamCMD commands shown in the previous section. Be sure to use the correct set of commands for your platform. Refer to SteamCMD’s documentation for details on automating this process.

If you use the systemd startup file you can easily integrate the update-mechanism to be run before every start of the game.

SteamCMD provides additional tools to make installation and updates easier and more seamless.

Console Commands [ править | править код ]

While running the game, the command console can be accessed with either the [

] (tilde) or [TAB] keys (depending on game version, default configuration and your keyboard layout). Once in the console, to activate administrator commands, enter:

Replace with the server’s administrator password.

Refer to Admin Game Commands for a list of available commands.

If the console can’t be opened in-game, exit the game, open the game’s DefaultInput.ini file (located in your Steam library in the folder named steamapps\common\ARK\ShooterGame\Config ) with a text editor and locate the line (near the bottom of the file) that reads:

Remove the semicolon (;), changing the line to read:

Save the file and launch the game. The console should be accessible.

Backing Up Server Data [ править | править код ]

To make a backup of the server data, simply copy the folder named ShooterGame/Saved (and his content) to the desired backup location. This folder contains all tribe, player and world data for the server. Performing a backup is recommended before updating a server to a new release.

Troubleshooting [ править | править код ]

Server Loses Characters or World Data Upon Restart [ править | править код ]

If your server isn’t retaining characters or world data when it’s restarted, it may not have full access to the folder where it’s installed.

The first time the server is run, it should create a folder named ShooterGame/Saved containing various configuration and save files. If the server has run at least once but hasn’t created this folder, it may not have been able to create new folders and files there. Verify that the folder where the server is installed is readable and writable by the user account that actually runs the server. (For Windows servers, check the status of User Account Control)

The server software, by default, is set-up to automatically save world data every 15 minutes. If your server crashes before the first 15 minutes are up, you will not have any data saved.

Linux Server Exhibits High CPU Usage and Low Memory Usage (Below 1GB) [ править | править код ]

This can occur when the server can’t open all the files it needs due to an insufficient open files limit on the host. Refer to the Linux section above and follow the procedure to increase the host’s open files limit.

Источник

Ark survival evolved windows server

TCP/UDP: 7777 Thanks SilverLlama!

You will need to port forward and allow the port through all firewalls on your network. Use portforward.com to find your modem/router model number and how to forward the ARK dedicated Server port.

Direct X (Included with download, C:\arkserver\_commonredist\DirectX)

Visual Studio 2013 (Included with download C:\arkserver\_commonRedist\Vredist\

Create a folder where you wish to store your ARK: Survival Evolved Dedicated Server Files (C:\ArkServer)

Doubleclick the extracted SteamCMD.exe file. It will start downloading the rest of steamcmd. Once you reach the prompt type the following. YOU MUST OWN ARK: IN ORDER TO INSTALL THE SERVER


login USERNAME PASSWORD

app_update 346110 validate

You can close the application once the download has finished. You can also download the entire game and the server files are included in the game folder.

You can start the standard server by browsing to the C:\ArkServer\shootergame\binaries\win64\ and creating a batch file:

Right click > New text Document

Change name >Serverstart.bat

Open the new batch file in a text editor and place the code into it. Save the file.

Change the code below as needed:

start ShooterGameServer «TheIsland?SessionName=GameServerSetup?QueryPort=27015?ServerPassword=MyPassword?ServerAdminPassword=MYPassword?listen»
exit

Make sure your forward the ports and allow them through the firewall.

Double Click the serverstart.bat to launch your server!

To update the server just run the code above again.

Источник

Dedicated Server Setup

This article may need cleanup to meet quality standards.
Please help improve this if you can. The talk page may contain suggestions.

This page discusses the installation and configuration of a dedicated ARK server.

For scripts that you can run on your own dedicated server, see Dedicated Server Scripts.

Contents

Prerequisites

Your OS must be a 64-bit OS (ShooterGameServer is a 64-bit executable and as such will not run on a 32-bit install of Ubuntu or Windows). The server has been tested on Ubuntu 14.04 [1] and should also support any Windows host where the prerequisites found in _CommonRedist can be installed.

Hardware

The server requires at least 6GB of RAM to start. Memory requirements increase as the number of connected players increases. This is also dependant on your settings/mods and configurable options. Some mods increase RAM more than others. On Windows Server 2012 R2, the server uses 2.3GB of RAM without any clients. On Linux, the installation uses 3.2GB of RAM without any clients.

Network

The server listens for incoming connections on the ports listed below. Ensure your network configuration allows incoming connections to these ports and directs them to the host that will be running your dedicated server.

Port Purpose
UDP 27015 Query port for Steam’s server browser
UDP 7777 Game client port
UDP 7778 Raw UDP socket port (always Game client port +1)
TCP 27020 RCON for remote console server access (optional)

You can host multiple dedicated servers on the same host, however be aware that CPU and memory should be monitored carefully if they are busy servers rather than test servers. For example:

Server instance Game port Raw UDP port Query port RCON port
Server game instance 1 7777 7778 27015 27020
Server game instance 2 7779 7780 27016 27021
Server game instance 3 7781 7782 27017 27022
Server game instance 4
completely different ports
9999 10000 37015 37016

Note: Query Port cannot be between 27020 and 27050 due to Steam using those ports.

Operating system

Windows

Microsoft Visual C++ 2013 Redistributable (can be found in the Steam Ark game folder under _CommonRedist/vcredist/folder).

DirectX (DXSETUP, can be found in the Steam Ark game folder under _CommonRedist/DirectX/June2010/ folder).

Linux

64bit Linux servers will require 32 bit binaries to install/run steamcmd.

The game server requires glibc 2.14 or greater. Ubuntu 14.04 (and newer) and Debian 8 (Jessie) satisfy this requirement automatically, but older versions, such as Debian 7 (Wheezy), do not. To install the required version of glibc on a Debian 7 (Wheezy) host:

For other older distributions that don’t include glibc 2.14 or newer, refer to the distribution’s documentation and support forums for guidance.

Open Files Limit

To ensure that the host’s open files limit is high enough to support the game server:

then run the following command via sudo or a root shell to apply the change:

Tuned is a daemon that monitors the use of system components and dynamically tunes system settings, currently only on RHEL7, CentOS7.x and Fedora.

Note: You need to set tuned to „throughput-performance“. Otherwise all changes in /etc/security/limits.conf will ignored!

SteamCMD

The dedicated server is available for both Linux and Windows platforms. For both platforms, SteamCMD is used to download the server files. Refer to that page for detailed instructions on its installation and usage; the instructions included in the steps below are deliberately concise for space considerations.

Warning: [Linux-specific | Windows: report missing] If you want to use a SSD to run the server, but your normal steam folder is on your main HDD, check the soft-links of the folders located in ‘.steam’

Server Installation

For Linux, create server_start.sh and place it in YOUR_ARK_SERVER_FOLDER/ShooterGame/Binaries/Linux/ (remove the ‘ ‘ symbols!)

On Linux, after creating the script, make it executable:

In both of these examples, replace with the desired name for your server, with whatever password players must provide to join your server and with the password that must be provided to gain administrator access to the server. If no player join password is desired, remove the entire option from the list (including the ?ServerPassword= parameter itself).

Run a Beta Branch

Sometimes events are not implemented in the main game but into a so called branch. To run this event you change to this branch.

Of course change the branchname to whatever the name of the branch is. When the event is or should be finished, just remove the additions.

Port Forwarding and Firewall

For your server to become visible in both the Ark server lists and the Steam lists, do the following:

Windows (Firewall and Allow Rules)

OS X (firewall application)

Linux

For most Linux distros, if there is a firewall at all it will be iptables based. Most modern distributions will use a different interface, it’s a good idea to use that instead of direct iptables commands.

All firewall changes must be made either as root or with sudo. These open ports 7777 7778 and 27015 for UDP and optionally 27020 for TCP. You may want to adjust the list of ports you need by editing the «for port in. » line.

This script will open the ports in a way that will persist across reboots. UFW is the firewall on Ubuntu

FirewallD

This script will open the ports in a way that will persist across reboots. FirewallD is the firewall on RHEL7, CentOS7.x and Fedora.

iptables

Port Forwarding

There are many websites with tutorials on port forwarding. It is highly suggested you visit portforward.com, which offers tutorials for the majority of routers.

What ports work depends on you. Try forwarding 27015 as the port and 27016 as the query port. 27015, 27016 and 7777 are the most common ports that work.

You must forward both TCP and UDP for your server to show up on any lists. You can make sure your ports are open by using the tool from portforward.com, that is, after you enter the ports that you have forwarded in the start_server.bat file you should have created earlier.

Good luck, port forwarding is not very easy.

Finding Your Server in Lists

You can access your server via the Steam servers list or the Ark unofficial list. Just search for your name in the Ark list, or find your IP address in the Steam server list. It is best to add your servers IP:PORT to your Steam favorites and joining using the ‘favorites’ tab in game. The in game list has a limit on the servers it will show at one time. There is no guarantee your server will appear in the unofficial lists all the time.

Automatic Startup

Windows (via Scheduled Task)

You can configure a scheduled task to automatically run a batch file and start the dedicated server when the system boots.

Linux (via systemd)

As an alternative to using a script to launch the dedicated server manually, hosts running systemd can be configured to automatically start the dedicated server when the system boots. When using this method to manage the server, using GameUserSettings.ini to specify its settings is highly recommended. Refer to Admin Game Commands for more information.

The ExecStart line specifies the command to run in order to start the service. It uses the same syntax as the startup examples shown above (in #Server Installation), with all the same arguments, but here it’s important to adjust it to reflect the location of your ARK dedicated server on the host. Use the full path to the server executable, as shown above.

Be sure to replace with the desired session name for your server as well.

It’s recommended to run the dedicated server in an unprivileged account used solely for this purpose. In the example above, the user account «steam» is used. It’s a member of the «steam» group, which is generally created along with the account.

You will need to reboot after installation to initialize systemd.

Activate the new service so it starts automatically when the host boots by running the following command via sudo or a root shell:

After running this command, the dedicated server will automatically start when the host does. The command doesn’t start the server immediately, so to launch the dedicated server after enabling it, run:

After following these steps, your server should be up and running and be automatically managed by the host on startup and shutdown.

Post-Setup Management

The server can be stopped by running:

and its current status can be viewed (whether it’s running or not) by running:

Note: If you need to update the ark-dedicated.service file (to change the dedicated server’s startup options or to adjust its path), run the following command to ensure your changes are applied:

Updating

To update the server when a new version is released, repeat the same SteamCMD commands shown in the previous section. Be sure to use the correct set of commands for your platform. Refer to SteamCMD’s documentation for details on automating this process.

If you use the systemd startup file you can easily integrate the update-mechanism to be run before every start of the game.

SteamCMD provides additional tools to make installation and updates easier and more seamless.

Console Commands

While running the game, the command console can be accessed with either the [

] (tilde) or [TAB] keys (depending on game version, default configuration and your keyboard layout). Once in the console, to activate administrator commands, enter:

Replace with the server’s administrator password.

Refer to Admin Game Commands for a list of available commands.

If the console can’t be opened in-game, exit the game, open the game’s DefaultInput.ini file (located in your Steam library in the folder named steamapps\common\ARK\ShooterGame\Config ) with a text editor and locate the line (near the bottom of the file) that reads:

Remove the semicolon (;), changing the line to read:

Save the file and launch the game. The console should be accessible.

Backing Up Server Data

To make a backup of the server data, simply copy the folder named ShooterGame/Saved (and his content) to the desired backup location. This folder contains all tribe, player and world data for the server. Performing a backup is recommended before updating a server to a new release.

Troubleshooting

Server loses characters or world data upon restart

If your server isn’t retaining characters or world data when it’s restarted, it may not have full access to the folder where it’s installed.

The first time the server is run, it should create a folder named ShooterGame/Saved containing various configuration and save files. If the server has run at least once but hasn’t created this folder, it may not have been able to create new folders and files there. Verify that the folder where the server is installed is readable and writable by the user account that actually runs the server. (For Windows servers, check the status of User Account Control)

The server software, by default, is set-up to automatically save world data every 15 minutes. If your server crashes before the first 15 minutes are up, you will not have any data saved.

Linux server exhibits high CPU usage and low memory usage (Below 1GB)

This can occur when the server can’t open all the files it needs due to an insufficient open files limit on the host. Refer to the Linux section above and follow the procedure to increase the host’s open files limit.

Источник

Читайте также:  Windows 10 x64 ltsc 2020 torrent
Поделиться с друзьями
Советы экспертов и специалистов
Adblock
detector