小
描述
《Squad》是一款50对50的多人在线第一人称射击游戏,旨在通过沟通与团队协作实现战斗的真实感。主要特色包括载具协同作战、大规模战场环境、基地建设,以及集成位置语音系统(支持近距离对话与无线电通讯)。
50 浏览
5 下载
2026-06-30
更新于 1 天前
预设配置详情
Squad-egg
Squad
Squad 是一款在线多人第一人称射击游戏,旨在通过沟通和团队合作实现战斗的真实感。
所需端口
Squad 需要 5 个端口
| 端口 | 默认值 |
|---|---|
| 游戏 | 7787 |
| 游戏+1 | 7788 |
| 查询 | 27165 |
| 查询+1 | 27166 |
| 信标 | 15000+ |
对于额外的服务器,请将信标端口增加 1
功能特性
- [Wine 集成:通过 Wine 运行 Squad 服务器,使您能够在 Linux 平台上利用基于 Windows 的服务器可执行文件。
- [模组支持:完全支持通过 Steam 直接下载和配置模组。
- [脚本:包含用于轻松设置和管理游戏服务器的脚本,包括安装和更新。
致谢
作者:
这些人员通过直接代码贡献、测试、提供见解或文档帮助,为这些 egg 的开发做出了贡献。
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian
/home/container/SquadGame/Binaries/Linux/SquadGameServer SquadGame Port={{SERVER_PORT}} QueryPort={{QUERY_PORT}} -beaconport={{BEACON_PORT}}
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 查询端口 | QUERY_PORT |
查询您的Squad服务器端口。 | 27165 |
required|numeric
必填 数字
|
||
| ld lib path | LD_LIBRARY_PATH |
出于某种原因,这是必需的。 | /home/container/linux64/ |
required|string
必填 字符串
|
||
| 游戏ID | SRCDS_APPID |
使用SRCDS下载并运行游戏对应的ID。 | 403240 |
required|string|max:20
必填 字符串 最大 20
|
||
| 服务器名称 | servername |
服务器列表中的服务器名称 | Squad Server |
required|string|max:80
必填 字符串 最大 80
|
||
| 最大玩家数 | maxplayers |
设置最大玩家数量。 | 80 |
required
必填
|
||
| 允许更换队伍 | allowteamchange |
允许玩家更换队伍(true / false) | true |
required|string
必填 字符串
|
||
| 宣传服务器 | advertise |
让服务器向公共服务器列表报告(true / false) | true |
required|string
必填 字符串
|
||
| 预留位 | reservedslots |
管理员/模组预留的插槽数量 | 0 |
required|string
必填 字符串
|
||
| 防止不平衡时更换队伍 | ptciu |
这将防止玩家在队伍已经不平衡时更换队伍(true / false) | true |
required|string
必填 字符串
|
||
| 强制队伍平衡 | teambal |
如果队伍过于不平衡,这将强制进行队伍平衡(true / false) | true |
required|string
必填 字符串
|
||
| 录制演示 | recorddemos |
这将记录玩家的演示(true / false) | true |
required|string
必填 字符串
|
||
| 信标端口 | BEACON_PORT |
你的小队服务器的信标端口。 | 15000 |
required|numeric
必填 数字
|
||
| 下载工坊物品 | WORKSHOP_ITEMS |
用逗号 "," 分隔的工坊文件 ID(1111111,222222) 需要重新安装才能安装模组 | |
nullable|string
可选 字符串
|
镜像
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'
##
#
# Variables
# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.
# WINDOWS_INSTALL - if it's a windows server you want to install set to 1
# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch
# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.
# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.
# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.
#
##
# 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
## Deleted app workshop file if available to not save mods ID`s for the future as that will interviene with the mods specified in the variables tab
rm /mnt/server/container/steamapps/workshop/appworkshop_393380.acf
# 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 the 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 \
$(IFS=','; for item in $WORKSHOP_ITEMS; do echo "+workshop_download_item 393380 ${item}"; done) \
+quit
## 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
if test -f "/mnt/server/steamapps/workshop/appworkshop_393380.acf"; then
# Remove the Steam workshop file to prevent conflict with mods specified in the variables tab
rm /mnt/server/steamapps/workshop/appworkshop_393380.acf
fi
## Moves downloaded mods to the necesary folder
mv -f /mnt/server/steamapps/workshop/content/393380/* /mnt/server/SquadGame/Plugins/Mods/
echo -e "Moving downloaded mods if available
"
## add below your custom commands if needed
chmod +x /mnt/server/SquadGame/Binaries/Linux/SquadGameServer
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": "https://eggs.pterodactyl.top/eggs/113/download/egg-squad.json",
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T00:04:21+00:00",
"name": "Squad",
"author": "brycea@terrahost.cloud",
"description": "《Squad》是一款50对50的多人在线第一人称射击游戏,旨在通过沟通与团队协作实现战斗的真实感。主要特色包括载具协同作战、大规模战场环境、基地建设,以及集成位置语音系统(支持近距离对话与无线电通讯)。",
"features": [
"steam_disk_space"
],
"docker_images": {
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
},
"file_denylist": [],
"startup": "/home/container/SquadGame/Binaries/Linux/SquadGameServer SquadGame Port={{SERVER_PORT}} QueryPort={{QUERY_PORT}} -beaconport={{BEACON_PORT}}",
"config": {
"files": "{\r\n \"SquadGame/ServerConfig/Server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"ServerName\": \"ServerName=\\\"{{server.build.env.servername}}\\\"\",\r\n \"MaxPlayers\": \"MaxPlayers={{server.build.env.maxplayers}}\",\r\n \"AllowTeamChanges\": \"AllowTeamChanges={{server.build.env.allowteamchange}}\",\r\n \"ShouldAdvertise\": \"ShouldAdvertise={{server.build.env.advertise}}\",\r\n \"NumReservedSlots\": \"NumReservedSlots={{server.build.env.reservedslots}}\",\r\n \"PreventTeamChangeIfUnbalanced\": \"PreventTeamChangeIfUnbalanced={{server.build.env.ptciu}}\",\r\n \"EnforceTeamBalance\": \"EnforceTeamBalance={{server.build.env.teambal}}\",\r\n \"RecordDemos\": \"RecordDemos={{server.build.env.recorddemos}}\"\r\n }\r\n }\r\n}",
"logs": "{}",
"startup": "{\r\n \"done\": \"Engine Initialization\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash",
"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#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List\r\n# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch\r\n# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.\r\n# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.\r\n# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.\r\n#\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## Deleted app workshop file if available to not save mods ID`s for the future as that will interviene with the mods specified in the variables tab\r\nrm /mnt/server/container/steamapps/workshop/appworkshop_393380.acf\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 the game using steamcmd\r\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} \\\r\n$( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) \\\r\n+app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) \\\r\n$( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate \\\r\n$(IFS=','; for item in $WORKSHOP_ITEMS; do echo \"+workshop_download_item 393380 ${item}\"; done) \\\r\n+quit\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\nif test -f \"/mnt/server/steamapps/workshop/appworkshop_393380.acf\"; then\r\n # Remove the Steam workshop file to prevent conflict with mods specified in the variables tab\r\n rm /mnt/server/steamapps/workshop/appworkshop_393380.acf\r\nfi\r\n\r\n## Moves downloaded mods to the necesary folder\r\nmv -f /mnt/server/steamapps/workshop/content/393380/* /mnt/server/SquadGame/Plugins/Mods/\r\necho -e \"Moving downloaded mods if available\\n\"\r\n\r\n## add below your custom commands if needed\r\nchmod +x /mnt/server/SquadGame/Binaries/Linux/SquadGameServer\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
}
},
"variables": [
{
"name": "查询端口",
"description": "查询您的Squad服务器端口。",
"env_variable": "QUERY_PORT",
"default_value": "27165",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "ld lib path",
"description": "出于某种原因,这是必需的。",
"env_variable": "LD_LIBRARY_PATH",
"default_value": "/home/container/linux64/",
"user_viewable": false,
"user_editable": false,
"rules": "required|string",
"field_type": "text"
},
{
"name": "游戏ID",
"description": "使用SRCDS下载并运行游戏对应的ID。",
"env_variable": "SRCDS_APPID",
"default_value": "403240",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "服务器列表中的服务器名称",
"env_variable": "servername",
"default_value": "Squad Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:80",
"field_type": "text"
},
{
"name": "最大玩家数",
"description": "设置最大玩家数量。",
"env_variable": "maxplayers",
"default_value": "80",
"user_viewable": true,
"user_editable": true,
"rules": "required",
"field_type": "text"
},
{
"name": "允许更换队伍",
"description": "允许玩家更换队伍(true / false)",
"env_variable": "allowteamchange",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "宣传服务器",
"description": "让服务器向公共服务器列表报告(true / false)",
"env_variable": "advertise",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "预留位",
"description": "管理员/模组预留的插槽数量",
"env_variable": "reservedslots",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "防止不平衡时更换队伍",
"description": "这将防止玩家在队伍已经不平衡时更换队伍(true / false)",
"env_variable": "ptciu",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "强制队伍平衡",
"description": "如果队伍过于不平衡,这将强制进行队伍平衡(true / false)",
"env_variable": "teambal",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "录制演示",
"description": "这将记录玩家的演示(true / false)",
"env_variable": "recorddemos",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "信标端口",
"description": "你的小队服务器的信标端口。",
"env_variable": "BEACON_PORT",
"default_value": "15000",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "下载工坊物品",
"description": "用逗号 \",\" 分隔的工坊文件 ID(1111111,222222) \n需要重新安装才能安装模组",
"env_variable": "WORKSHOP_ITEMS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
50
浏览
5
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06