在这款全新的多人开放世界生存与制作游戏中,与被称为“帕鲁”的神秘生物一同战斗、耕种、建造和工作吧!
预设配置详情
幻兽帕鲁
Steam 描述
在这款全新的多人开放世界生存与建造游戏中,与名为"帕鲁"的神秘生物一起战斗、耕种、建造和工作!
作者/贡献者
<table>
<tr>
<td align="center">
<a href="https://github.com/Ballaual">
<img src="https://avatars.githubusercontent.com/u/38478976" width="50px;" alt=""/><br /><sub><b>Alexander Ballauf</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1900216079" title="代码">💻</a>
<a href="https://github.com/pelican-eggs/games-steamcmd/commits?author=Ballaual" title="维护者">🔨</a>
</td>
<td align="center">
<a href="https://github.com/QuintenQVD0">
<img src="https://avatars.githubusercontent.com/u/67589015" width="50px;" alt=""/><br /><sub><b>QuintenQVD0</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1899999796" title="代码">💻</a>
<td align="center">
<a href="https://github.com/hackles">
<img src="https://avatars.githubusercontent.com/u/30584261" width="50px;" alt=""/><br /><sub><b>heckler</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1900043987" title="贡献者">💡</a>
</td>
</td>
<td align="center">
<a href="https://github.com/danny6167">
<img src="https://avatars.githubusercontent.com/u/388231" width="50px;" alt=""/><br /><sub><b>Daniel Barton</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1900100992" title="代码">💻</a>
</td>
<td align="center">
<a href="https://github.com/Rodhin">
<img src="https://avatars.githubusercontent.com/u/13395074" width="50px;" alt=""/><br /><sub><b>Rodhin</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1900153550" title="代码">💻</a>
</td>
<td align="center">
<a href="https://github.com/B0rbor4d">
<img src="https://avatars.githubusercontent.com/u/33213807" width="50px;" alt=""/><br /><sub><b>B0rbor4d</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1900213758" title="贡献者">💡</a>
</td>
<td align="center">
<a href="https://github.com/Simsz">
<img src="https://avatars.githubusercontent.com/u/12779829" width="50px;" alt=""/><br /><sub><b>Zach</b></sub>
</a>
<br />
<a href="https://github.com/pelican-eggs/games-steamcmd/issues/2669#issuecomment-1899954711" title="贡献者">💡</a>
</td>
</tr>
</table>
已知问题 / 常见问题
-
服务器不会显示在社区服务器标签页中。<br>
-> 这是一个已知问题,开发者希望尽快修复。最佳选择是通过IP和密码连接。 -
服务器存在内存泄漏。<br>
-> 这也是他们已知的问题。<br>
->bEnableInvaderEnemy选项似乎对当前内存使用有巨大影响。禁用该选项可能是一个选择。<br>
-> 提示:每6小时安排一次服务器重启。您可以根据系统情况调整该值!<br> -
服务器不会显示在Steam服务器列表中。<br>
-> 目前不支持,且可能永远不会支持。 -
配置文件在服务器重启时被删除/重置。<br>
-> 在编辑配置文件之前,请务必先完全停止服务器。否则所有更改都不会被保存。
推荐服务器设置
内存
由于至少存在一个内存泄漏问题,服务器需要约16-32GB内存。<br>
根据官方文档,您可以用8GB内存启动服务器,但内存会很快耗尽。<br>
最低应为16GB,但目前强烈推荐32GB。<br>
CPU
Intel/AMD处理器,至少4核。
存储
截至2024年1月19日,服务器需要约5GB存储空间。随着后续内容/更新,这一需求可能会增加。
服务器端口
| 端口 | 默认值 |
|---|---|
| 游戏 | 8211 |
| RCON(可选) | 25575 |
RCON端口无需分配。
更新
- 更新您的egg
- 将所有已创建服务器的启动项更新为egg附带的新版本
- 然后点击重新安装,因为需要下载解析器应用程序
- 由于Palworld开发者在v0.1.5.0版本中忘记在配置中添加新的
bShowPlayerList键,您需要自行添加。这可能在将来修复。其默认值为False
配置文件末尾示例:bUseAuth=True,bShowPlayerList=False,BanListURL="https://api.palworldgame.com/api/banlist.txt")
变量解析
当前附带的解析器应用程序能够编辑截至2024年2月1日Palworld配置文件中存在的所有变量。
然而,egg中仅包含最基本和必要的变量。
需要更多变量的用户必须自行添加。
查看哪些键对应哪些变量的列表在此
不存在的变量将自动跳过解析,因此您无需担心它会清空您的配置文件
Proton
有一个特殊的egg使用Proton而非原生Linux版本,该版本附带winmm.dll和RE-UE4SS,因此希望运行模组的用户可以这样做。
请注意,此egg的控制台输出存在问题(感谢Proton/Wine),因此您只能看到解析器输出。RCON控制台仍然可用。
配置
配置文件位于以下路径:Pal/Saved/Config/LinuxServer/PalWorldSettings.ini,如果您运行的是Proton egg,则为Pal/Saved/Config/WindowsServer/PalWorldSettings.ini
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian
./PalworldServerConfigParser; (while read cmd; do rcon -s -a "localhost:$RCON_PORT" -p "$ADMIN_PASSWORD" "$cmd";done) < /dev/stdin & /home/container/Pal/Binaries/Linux/PalServer-Linux-Shipping Pal -publiclobby -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -port={{SERVER_PORT}} -publicport={{SERVER_PORT}} -servername="{{SERVER_NAME}}" -players={{MAX_PLAYERS}} $(if [ -n "$SERVER_PASSWORD" ]; then echo "-serverpassword=\"${SERVER_PASSWORD}\""; fi) -adminpassword="{{ADMIN_PASSWORD}}" -rcon
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 应用ID | SRCDS_APPID |
不要编辑! | 2394010 |
required|string|in:2394010
必填 字符串 选项: 2394010
|
||
| 自动更新 | AUTO_UPDATE |
启动时自动更新服务器。 | 1 |
boolean
布尔
|
||
| 最大玩家数 | MAX_PLAYERS |
32 |
required|numeric|between:1,32
必填 数字 介于 1-32 之间
|
|||
| 管理员密码 | ADMIN_PASSWORD |
如果指定,玩家必须提供此密码(通过游戏内聊天或RCON)才能获得服务器上的管理员命令权限。 | |
required|alpha_dash|between:1,30
必填 介于 1-30 之间
|
||
| 公网IP | PUBLIC_IP |
将此设置为服务器的公网IP地址。 仅当分配的是本地IP时需要,否则将自动使用分配的IP。 | |
nullable|string
可选 字符串
|
||
| 服务器名称 | SERVER_NAME |
A Pterodactyl hosted Palworld Server |
required|string|max:64
必填 字符串 最大 64
|
|||
| 服务器密码 | SERVER_PASSWORD |
如果指定,玩家必须提供此密码才能加入服务器。 | |
nullable|alpha_dash|between:1,30
可选 介于 1-30 之间
|
||
| RCON 端口 | RCON_PORT |
无需分配! | 25575 |
required|numeric
必填 数字
|
||
| 启用RCON | RCON_ENABLE |
必须开启 | True |
required|string|in:True
必填 字符串 选项: True
|
||
| 服务器描述 | SERVER_DESCRIPTION |
服务器的描述。 | |
nullable|string|max:128
可选 字符串 最大 128
|
||
| 连接平台 | ALLOW_CONNECT_PLATFORM |
玩家将能够从该平台连接。 | Steam |
required|string|in:Steam,Xbox
必填 字符串 选项: Steam,Xbox
|
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
## add below your custom commands if needed
## copy template config file
echo "Copy template config file into config folder!"
if [ -f "/mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini" ]; then
echo "Config file already exitis, backing up and overwriting with a new one"
mv /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings_$(date +"%Y%m%d%H%M%S").ini
cp /mnt/server/DefaultPalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
else
echo "Creating new config file"
mkdir -p /mnt/server/Pal/Saved/Config/LinuxServer
cp /mnt/server/DefaultPalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
fi
cd /mnt/server
# Download self made replace tool
echo "Downloading config parser application"
curl -sSL -o PalworldServerConfigParser https://github.com/pelican-eggs/Palworld-Config-Parser-Tool/releases/latest/download/PalworldServerConfigParser-linux-amd64
chmod +x PalworldServerConfigParser
## 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/87/download/egg-palworld.json"
},
"exported_at": "2024-07-15T18:52:08+02:00",
"name": "Palworld",
"author": "admin@ballaual.de",
"description": "在这款全新的多人开放世界生存与制作游戏中,与被称为“帕鲁”的神秘生物一同战斗、耕种、建造和工作吧!",
"features": [
"steam_disk_space"
],
"docker_images": {
"SteamCMD_Debian": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
},
"file_denylist": [
"PalServer.sh"
],
"startup": "./PalworldServerConfigParser; (while read cmd; do rcon -s -a \"localhost:$RCON_PORT\" -p \"$ADMIN_PASSWORD\" \"$cmd\";done) < /dev/stdin & /home/container/Pal/Binaries/Linux/PalServer-Linux-Shipping Pal -publiclobby -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -port={{SERVER_PORT}} -publicport={{SERVER_PORT}} -servername=\"{{SERVER_NAME}}\" -players={{MAX_PLAYERS}} $(if [ -n \"$SERVER_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SERVER_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\" -rcon",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}",
"logs": "{}",
"stop": "shutdown 15"
},
"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## add below your custom commands if needed\r\n\r\n## copy template config file\r\necho \"Copy template config file into config folder!\"\r\nif [ -f \"/mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini\" ]; then\r\n echo \"Config file already exitis, backing up and overwriting with a new one\"\r\n mv /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings_$(date +\"%Y%m%d%H%M%S\").ini\r\n cp /mnt/server/DefaultPalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini\r\nelse\r\n echo \"Creating new config file\"\r\n mkdir -p /mnt/server/Pal/Saved/Config/LinuxServer\r\n cp /mnt/server/DefaultPalWorldSettings.ini /mnt/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini\r\nfi\r\n\r\ncd /mnt/server\r\n# Download self made replace tool\r\necho \"Downloading config parser application\"\r\ncurl -sSL -o PalworldServerConfigParser https://github.com/pelican-eggs/Palworld-Config-Parser-Tool/releases/latest/download/PalworldServerConfigParser-linux-amd64\r\nchmod +x PalworldServerConfigParser\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": "应用ID",
"description": "不要编辑!",
"env_variable": "SRCDS_APPID",
"default_value": "2394010",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:2394010",
"field_type": "text"
},
{
"name": "自动更新",
"description": "启动时自动更新服务器。",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "最大玩家数",
"description": "",
"env_variable": "MAX_PLAYERS",
"default_value": "32",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|between:1,32",
"field_type": "text"
},
{
"name": "管理员密码",
"description": "如果指定,玩家必须提供此密码(通过游戏内聊天或RCON)才能获得服务器上的管理员命令权限。",
"env_variable": "ADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|alpha_dash|between:1,30",
"field_type": "text"
},
{
"name": "公网IP",
"description": "将此设置为服务器的公网IP地址。 \n仅当分配的是本地IP时需要,否则将自动使用分配的IP。",
"env_variable": "PUBLIC_IP",
"default_value": "",
"user_viewable": true,
"user_editable": false,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "",
"env_variable": "SERVER_NAME",
"default_value": "A Pterodactyl hosted Palworld Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64",
"field_type": "text"
},
{
"name": "服务器密码",
"description": "如果指定,玩家必须提供此密码才能加入服务器。",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|alpha_dash|between:1,30",
"field_type": "text"
},
{
"name": "RCON 端口",
"description": "无需分配!",
"env_variable": "RCON_PORT",
"default_value": "25575",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "启用RCON",
"description": "必须开启",
"env_variable": "RCON_ENABLE",
"default_value": "True",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:True",
"field_type": "text"
},
{
"name": "服务器描述",
"description": "服务器的描述。",
"env_variable": "SERVER_DESCRIPTION",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:128",
"field_type": "text"
},
{
"name": "连接平台",
"description": "玩家将能够从该平台连接。",
"env_variable": "ALLOW_CONNECT_PLATFORM",
"default_value": "Steam",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:Steam,Xbox",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!