非
描述
《非生物因子》是一款支持1-6名玩家的生存制作游戏,故事发生在一座地下研究设施的深处。在超自然收容失效、军事讨伐以及来自多个位面的混乱夹击下,世界上最杰出的头脑们必须对抗宇宙中最致命的威胁以求生存。
73 浏览
10 下载
2026-06-30
更新于 1 天前
预设配置详情
非生物因子
《非生物因子》是一款支持1-6名玩家的生存建造类游戏,故事发生在地下研究设施的深处。在超自然收容失效、军事讨伐与来自多个位面的混乱交织中,世界上最杰出的头脑必须对抗宇宙中最致命的威胁。
官方服务器文档:https://github.com/DFJacob/AbioticFactorDedicatedServer/wiki
配置文件
| 文件 | 用途 | 路径 |
|---|---|---|
| SandboxSettings.ini | 通用游戏配置 | /home/container/AbioticFactor/Saved/SaveGames/Server/Worlds/Cascade/SandboxSettings.ini |
| Admin.ini | 服务器管理员设置 | /home/container/AbioticFactor/Saved/SaveGames/Server/Admin.ini |
服务器端口
| 名称 | 默认端口 |
|---|---|
| 游戏端口 | 7777 |
| 查询端口 | 27015 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:proton
cd /home/container/AbioticFactor/Binaries/Win64; proton run ./AbioticFactorServer-Win64-Shipping.exe -log -useperfthreads -NoAsyncLoadingThread -MaxServerPlayers={{NUM_PLAYERS}} -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -ServerPassword="{{SERVER_PASSWORD}}" -SteamServerName="{{SERVER_NAME}}" -SandboxIniPath="{{SANDBOX_INI_PATH}}" & AF_PID=$!; tail -c0 -F /home/container/AbioticFactor/Saved/Logs/AbioticFactor.log --pid=$AF_PID
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| [STEAM] SRCDS_APPID | SRCDS_APPID |
Steam 应用 ID | 2857200 |
required|numeric|in:2857200
必填 数字 选项: 2857200
|
||
| [STEAM] 自动更新 | AUTO_UPDATE |
自动更新 | 1 |
boolean
布尔
|
||
| [SERVER] 服务器名称 | SERVER_NAME |
服务器名称 | A Pelican Hosted Server |
required|string|max:64
必填 字符串 最大 64
|
||
| [STEAM] WINDOWS_INSTALL | WINDOWS_INSTALL |
1 |
boolean|in:1
布尔 选项: 1
|
|||
| [SERVER] 服务器密码 | SERVER_PASSWORD |
服务器访问密码 | |
required|string|max:30
必填 字符串 最大 30
|
||
| [SERVER] 查询端口 | QUERY_PORT |
Steam 查询端口 | 27015 |
required|numeric
必填 数字
|
||
| [SERVER] 玩家数量 | NUM_PLAYERS |
允许的玩家连接数 | 6 |
required|numeric|between:1,32
必填 数字 介于 1-32 之间
|
||
| [SERVER] 沙盒初始化文件路径 | SANDBOX_INI_PATH |
沙盒 ini 文件的路径 | Config/WindowsServer/SandboxSettings.ini |
required|string|max:255
必填 字符串 最大 255
|
镜像
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian
入口
bash
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'
# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
#apt -y update
#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.
"
echo -e "Using anonymous user.
"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
## download the default server settings file
mkdir -p /mnt/server/AbioticFactor/Saved/Config/WindowsServer/
curl -sS -o /mnt/server/AbioticFactor/Saved/Config/WindowsServer/SandboxSettings.ini https://raw.githubusercontent.com/DFJacob/AbioticFactorDedicatedServer/refs/heads/main/SandboxSettings.ini
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/19/download/egg-abiotic-factor.json"
},
"exported_at": "2025-12-25T10:06:37+00:00",
"name": "Abiotic Factor",
"author": "git@robsti.dev",
"description": "《非生物因子》是一款支持1-6名玩家的生存制作游戏,故事发生在一座地下研究设施的深处。在超自然收容失效、军事讨伐以及来自多个位面的混乱夹击下,世界上最杰出的头脑们必须对抗宇宙中最致命的威胁以求生存。",
"features": [
"steam_disk_space"
],
"docker_images": {
"Steamcmd Proton": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:proton"
},
"file_denylist": [],
"startup": "cd /home/container/AbioticFactor/Binaries/Win64; proton run ./AbioticFactorServer-Win64-Shipping.exe -log -useperfthreads -NoAsyncLoadingThread -MaxServerPlayers={{NUM_PLAYERS}} -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -ServerPassword=\"{{SERVER_PASSWORD}}\" -SteamServerName=\"{{SERVER_NAME}}\" -SandboxIniPath=\"{{SANDBOX_INI_PATH}}\" & AF_PID=$!; tail -c0 -F /home/container/AbioticFactor/Saved/Logs/AbioticFactor.log --pid=$AF_PID",
"config": {
"files": "{}",
"startup": "{\n \"done\": \"LogInit: Display: Engine is initialized.\"\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd /tmp\r\nmkdir -p /mnt/server/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\r\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd /mnt/server/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root /mnt\r\nexport HOME=/mnt/server\r\n\r\n## install game using steamcmd\r\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk32\r\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk64\r\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\r\n\r\n## download the default server settings file\r\nmkdir -p /mnt/server/AbioticFactor/Saved/Config/WindowsServer/\r\ncurl -sS -o /mnt/server/AbioticFactor/Saved/Config/WindowsServer/SandboxSettings.ini https://raw.githubusercontent.com/DFJacob/AbioticFactorDedicatedServer/refs/heads/main/SandboxSettings.ini\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "[STEAM] SRCDS_APPID",
"description": "Steam 应用 ID",
"env_variable": "SRCDS_APPID",
"default_value": "2857200",
"user_viewable": false,
"user_editable": false,
"rules": "required|numeric|in:2857200",
"field_type": "text"
},
{
"name": "[STEAM] 自动更新",
"description": "自动更新",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "[SERVER] 服务器名称",
"description": "服务器名称",
"env_variable": "SERVER_NAME",
"default_value": "A Pelican Hosted Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64",
"field_type": "text"
},
{
"name": "[STEAM] WINDOWS_INSTALL",
"description": "",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean|in:1",
"field_type": "text"
},
{
"name": "[SERVER] 服务器密码",
"description": "服务器访问密码",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:30",
"field_type": "text"
},
{
"name": "[SERVER] 查询端口",
"description": "Steam 查询端口",
"env_variable": "QUERY_PORT",
"default_value": "27015",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "[SERVER] 玩家数量",
"description": "允许的玩家连接数",
"env_variable": "NUM_PLAYERS",
"default_value": "6",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|between:1,32",
"field_type": "text"
},
{
"name": "[SERVER] 沙盒初始化文件路径",
"description": "沙盒 ini 文件的路径",
"env_variable": "SANDBOX_INI_PATH",
"default_value": "Config/WindowsServer/SandboxSettings.ini",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:255",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
73
浏览
10
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06