docker部署(黑群晖部署失败)
version: "3"
services:
pal_server:
container_name: pal_server
image: pasharp/pal_server
restart: always
user: game
ports:
- "8211:8211/udp"
volumes:
- ./data:/opt/palworld/Pal/Saved
command: /home/game/Steam/steamapps/common/PalServer/PalServer.sh
--------------docker部署失败,估计是nas的docker版本太低了,或者哪里被墙了,也可能是硬件问题
win部署
第一步:下载C++运行库(点击链接即可下载),需要手动安装
下载地址: https://aka.ms/vs/17/release/vc_redist.x64.exe
第二步:下载DirectX 支持库(点击链接即可下载),需要手动安装
下载地址: https://www.microsoft.com/en-us/download/details.aspx?id=35
第三步:下载Steamcmd(点击链接即可下载),需要手动解压
下载地址:https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
下载的包全都在palworld专题文件夹下
解压steamcmd.zip,运行steamcmd.exe,完成后会自动进入Steam>
在Steam>下运行以下命令
输入 login anonymous 匿名登录steam服务器
输入 app_update 2394010 validate 后,按回车下载这个游戏的服务端
安装完毕后 输入 quit 关闭cmd
后续更新也是运行这几行代码
login anonymous
app_update 2394010 validate
quit
完成后,会在steamcmd目录下出现./steamapps/common/PalServer路径
在路径下运行exe文件,帕鲁服务器运行起来就是一个黑窗口,不影响,然后会生成.\steamapps\common\PalServer\Pal\Saved\Config\WindowsServer\PalWorldSettings.ini这个空文件
将./steamapps/common/PalServer路径下DefaultPalWorldSettings.ini里的内容复制到.\steamapps\common\PalServer\Pal\Saved\Config\WindowsServer\PalWorldSettings.ini中
进程守护-Palworld-server-protector-DotNet
https://github.com/KirosHan/Palworld-server-protector-DotNet
解压缩Palworld-server-protector-DotNet.v2.6.1.1._x86_64.zip
打开exe,配置启动路径、修改服务端配置文件(PalWorldSettings.ini)、开启Rcon、配置Rcon管理员密码、其他配置自己按需开启就可以了
成员监控-pst
https://github.com/zaigie/palworld-server-tool
解压缩pst_v0.5.0_windows_x86.zip
打开config.yaml配置password和几个path
双击start.bat
内网穿透(frpc配置)
; pal
[pal-win]
type = udp
local_ip = 127.0.0.1
local_port = 8211
remote_port = 28234
; pal-manage
[pal-win-manage]
type = tcp
local_ip = 127.0.0.1
local_port = 8180
remote_port = 28235
参考资料
https://www.bilibili.com/read/cv29976029/
https://zhuanlan.zhihu.com/p/679954944
https://github.com/search?q=palworld+server&type=repositories
帕鲁mod安装
第二和第三类型的模组前置https://github.com/UE4SS-RE/RE-UE4SS
热门模组网站https://www.nexusmods.com/palworld
修复坏档相关链接https://github.com/cheahjs/palworld-save-tools
转移存档相关的链接https://github.com/xNul/palworld-host-save-fix
帕鲁服务端分支链接https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix
评论区