前言
需求配置
cpu:至少2核3.0以上的cpu 至少8g内存(最好能有16g 实测至少吃了10g) 动态或静态公网ip
20g左右存储空间 已购买方舟飞升的steam账号一个。
步骤一
下载所需的游戏内容
1、下载steamcmd – https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
2、在steam的库中选中工具分区

并下载方舟飞生服务器文件(文件保存在你的steam游戏库目录下的steamapps\common\ARK Survival Ascended Dedicated Server 中)

批处理文件代码块

rem ___________________
rem BEGIN CONFIGURATION
rem ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
set SteamCMD_Dir=F:\ArkSAServer
rem ^ Location to dirctory containing steamcmd.exe ^
set Server_Dir=F:\ArkSAServer\server
rem ^ Location to directory that the Ark Server will be installed in ^
set Executable_Dir=F:\ArkSAServer\server\ShooterGame\Binaries\Win64
rem ^ Location to directory containing the following executable ^
set Server_Executable=ArkAscendedServer.exe
rem ________________
rem BEGIN BATCH CODE
rem ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
cls
@echo off
title Ark Server Watchdog
echo DO NOT CLOSE THIS WINDOW!
echo.
:start
tasklist /nh /fi "Imagename eq %Server_Executable%" | find "ArkServer"
if ERRORLEVEL=1 goto update
if ERRORLEVEL=0 goto close
:update
echo Checking For Update
start "" /b /w /high "%SteamCMD_Dir%\steamcmd.exe" +login steamuser steampass +force_install_dir "%Server_Dir%" +app_update 2430930 validate +quit
echo.
echo If No Errors Exist, The Server Has Been Started! Check Task Manager
echo.
echo Waiting For Crash…
cd "%Executable_Dir%"
start "" /w /high "%Server_Executable%" start ArkAscendedServer TheIsland_WP"?SessionName=your cool servername?ServerPassword=none?ServerAdminPassword=none?Port=7777?QueryPort=27015?Listen" -NoBattlEye exit &:: Using "-log" Will Prevent Automatic Crash Detection
echo Crash Detected!
echo.
echo CTRL+C To Freeze Before Restarting
timeout /t 15
goto start
:close
echo.
echo !ERROR! SERVER ALREADY RUNNING! SHUTDOWN WILL COMMENCE
taskkill /im "%Server_Executable%" /f /t
timeout /t 3
goto start

创建一个文件夹并将所需文件放入文件夹中并将代码块中的文件保存为后缀名为bat的批处理文件
并将下载后的文件放入创建的文件夹中格式应该如下
ArkSAServer
├─server (steam下载文件改名:原名:ARK Survival Ascended Dedicated Server )
├─server.bat (创建的bat批处理文件)
└─steamcmd.exe (下载的steamcmd解压后的执行文件)
1、将红色内容替换为你的文件夹路径
1.F:\ArkSAServer对应下载并解压后的steamcmd路径
2.F:\ArkSAServer\server对应steam中下载的服务器路径
3.F:\ArkSAServer\server\ShooterGame\Binaries\Win64对应steam中下载的服务器运行文件路径
2、将蓝色部分替换为拥有游戏内容的steam账号
1.steamuser 替换为 账号
2.steampass 替换为 密码
3、自定义绿色部分的服务器基础信息
1.SessionName=your cool servername绿色部分替换为你的服务器名称
2.ServerPassword=none绿色部分替换为你的服务器名称
3.ServerAdminPassword=none 绿色部分替换为管理员密码
4.Port=7777绿色部分替换为游戏端口
5.QueryPort=27015绿色部分替换为查询端口
最后执行server.bat
批处理文件会自动更新服务器文件并执行服务器
执行服务器需要登陆拥有游戏的账号
如果需要验证码登录请在cmd中输入验证码内容
参考文献:Ark Survival Ascended Dedicated Server – SurvivalGamingClub.com