幻兽帕鲁服务器搭建的准备工作
在使用命令操作服务器前,我们需要准备的事还不少,不过不用担心,我已经为大家整理好了
选购适用于幻兽帕鲁服务端的云服务器
租用国内低延迟的独享IP云服务器
![图片[1]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123222443293-image.png)
推荐一下自家的服务器,玄灵云:https://cloud.xuanling.cn/cart
本文使用的是8核16G20M的云服务器,系统先择的是CentOS7.6
我推荐的这个8h16g也是不错的选择,关于价格和配置,凭良心讲已经不错了
![图片[2]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123222548700-image.png)
下载安装服务器连接工具,并连接服务器
支持系统:windows
推荐标签:免费/简单/中文
下载地址:
支持系统:安卓
推荐标签:简单/中文/解锁高级版
下载地址:
支持系统:安卓
推荐标签:全能/中文
下载地址:
打开堡塔SSH客户端,点击添加服务器
![图片[3]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/06/20240603205216293-13e1fd73799005bd82c8c664578640f6.png)
如果已经租用了服务器,在服务器列表可以找到自己的服务器(不知道在哪里就问客服),点击操作
![图片[4]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/06/20240603210130666-8a4ce3b19791bdfc909f97f5f2185b9f.png)
红框中就是需要用到的信息(公网IP,用户名,密码,端口)
![图片[5]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/06/20240603210049872-image.png)
将上面的信息填写到连接工具对应输入框,点击保存并连接服务器(CentOS用户名一般为root)
![图片[6]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/06/20240603205230426-3eb1e29dce245d708728b116688b45c2.png)
放行需要使用的端口或关闭防火墙
查看安全组中的规则,放行22,8211,或全部放通出入方向的udp和tcp
![图片[7]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240127112104634-image.png)
如果没有放通,则新增规则,如图所示
![图片[8]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2023/10/20231030214623119-1698673583-Image_1698673541281.png)
修改云服务器的软件下载源
系统原本的下载源可能速度并不快,这会导致安装下载程序的速度大打折扣,换源以提升速
更新系统版本为最新版
本文使用的系统版本是CentOS7.6,不管你的服务器使用的镜像是7点几,使用下方文章的操作,都可以升级到最新版
幻兽帕鲁服务端创建流程
这里的部分是真的精华,说是正文也没错
为云服务器安装依赖
安装screen
这个是用于让某个程序的命令窗口脱离ssh运行的,后面会讲到如何操作,你也可以用其它方法保障幻兽帕鲁服务端窗口处于运行状态
yum install screen -y
![图片[9]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123233336734-image.png)
安装glibc
steamCMD是基于C/C++语言编写的程序,glibc是Linux系统上的C库,所以需要这个glibc的库来支持,以下仅适用于64位系统
yum install glibc.i686 libstdc++.i686 -y
![图片[10]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123233355586-image.png)
安装wget
下载文件必须的软件,后面要用到
yum install wget -y
![图片[11]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124155133143-image.png)
安装steamCMD和幻兽帕鲁服务端
为steamCMD单独添加一个用户名,因为steam不建议直接在root下运行,可能存在风险
adduser steam
![图片[12]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123233419136-image.png)
passwd steam
切换用户为steam
su - steam
![图片[13]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124151604158-image.png)
使用wget下载steamCMD,并解压文件
wget -O steamcmd_linux.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz && tar xf steamcmd_linux.tar.gz
![图片[14]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124154917538-image.png)
运行steamCMD会开始下载,最后会进入视图,你会在左下角看见steam>
./steamcmd.sh
![图片[15]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123233646391-9955e52c954e90ebcce129094826b386.png)
设置游戏服务端的安装目录
force_install_dir /home/steam/PalServer
![图片[16]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124145547398-98ce923d7d45eee7411fbc69c7142fb6.png)
匿名模式登录到Steam
login anonymous
幻兽帕鲁的服务端下载应该是不需要登录的,匿名模式应该可以下载的。一般是网络原因,失败就重试几次
login <用户名> <密码>
![图片[17]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123233723644-4184763eaa428b97a1b13324a07c1512.png)
更新或安装幻兽帕鲁服务器端,等待安装完成
app_update 2394010 validate
2394010是应用id,你可以在steamdb找到相应的软件服务端id
![图片[18]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124150752587-image.png)
![图片[19]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123234033617-5f17999a42a7993c44a3d1599ee0b365.png)
安装幻兽帕鲁服务器端完成后,退出steamCMD
quit
![图片[20]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123234041375-d0fa80816008808a824ba3c5884a6b40.png)
配置幻兽帕鲁服务端
进入PalServer文件夹,进入后可以输入ls查看文件目录,检查是否有PalServer.sh文件
cd PalServer
![图片[21]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123234343991-d4e0857679f1150b32beb07990fca00e.png)
运行PalServer.sh脚本,启动服务端,底部出现succeeded证明运行成功
./PalServer.sh
![图片[22]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240126232819469-image.png)
按Ctrl+C按键关闭服务端,因为需要先启动一次后,才会自动创建配置文件PalWorldSettings.ini等必须文件
succeeded就是有报错,一般是缺少文件导致的(点我查看错误解决方案)![图片[23]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240123235418234-0936a3a68973339c8547e82aab0476ff.png)
如上图报错,是因为/.steam/sdk64/缺少steamclient.so文件,我们从其它目录复制一下,依次输入后回车
mkdir -p ~/.steam/sdk64/
cp linux64/steamclient.so ~/.steam/sdk64/
完成后再次尝试按原来的步骤启动PalServer.sh
将DefaultPalWorldSettings.ini内的内容复制到Pal/Saved/Config/LinuxServer/PalWorldSettings.ini上
cp DefaultPalWorldSettings.ini Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
![图片[24]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124000234120-c535bb89f492b5f445617c5f9ddd571b.png)
进入LinuxServer目录,你可以再输入ls检查是否有PalWorldSettings.ini这个配置文件
cd Pal/Saved/Config/LinuxServer
![图片[25]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124000441295-bca7c8bc4c22ad797358df5fa95d6cea.png)
使用vi编辑PalWorldSettings.ini文件
vi PalWorldSettings.ini
![图片[26]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124000622978-ca155d9bb448d4c05e9cacba377d887f.png)
已经看到了配置文件的内容,按I键可以进入编辑模式,使用↑↓←→移动光标
![图片[27]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124000747182-a33ed93c818073fbb2e2189775cd70e0.png)
我们需要编辑的配置主要为红框标注的部分,我推荐将ssh的内容复制到电脑新建文本文档里,而后删除ssh内所有内容,我们在电脑的文本文档里编辑
![图片[28]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124001155410-caaf6774912cc0bb3705674533b13fbe.png)
| ServerPlayerMaxNum | 服务器最多玩家数量上限(不建议太高) |
| ServerName | 服务器名称(支持常见语言) |
| ServerPassword | 服务器密码(可空留) |
| PublicPort | 默认为8211(默认UDP端口) |
| PublicIP | 服务器IP地址(填外网IP地址,可空留) |
可视化配置文件生成在线工具:https://wxsnote.cn/palworldset
Difficulty=None (难度None或Difficulty)
DayTimeSpeedRate=1.000000 (日间速度倍率)
NightTimeSpeedRate=1.000000 (夜间速度倍率)
ExpRate=1.000000 (经验倍率)
PalCaptureRate=1.000000 (帕鲁捕获倍率)
PalSpawnNumRate=1.000000 (帕鲁生成数量倍率)
PalDamageRateAttack=1.000000 (帕鲁攻击伤害倍率)
PalDamageRateDefense=1.000000 (帕鲁防御伤害倍率)
PlayerDamageRateAttack=1.000000 (玩家攻击伤害倍率)
PlayerDamageRateDefense=1.000000 (玩家防御伤害倍率)
PlayerStomachDecreaceRate=1.000000 (玩家饥饿减少速率)
PlayerStaminaDecreaceRate=1.000000 (玩家体力减少速率)
PlayerAutoHPRegeneRate=1.000000 (玩家自动血量恢复倍率)
PlayerAutoHpRegeneRateInSleep=1.000000 (玩家睡眠中自动血量恢复倍率)
PalStomachDecreaceRate=1.000000 (帕鲁饥饿减少速率)
PalStaminaDecreaceRate=1.000000 (帕鲁体力减少速率)
PalAutoHPRegeneRate=1.000000 (帕鲁自动血量恢复倍率)
PalAutoHpRegeneRateInSleep=1.000000 (帕鲁睡眠中自动血量恢复倍率)
BuildObjectDamageRate=1.000000 (建筑物受损倍率)
BuildObjectDeteriorationDamageRate=1.000000 (建筑物劣化受损倍率)
CollectionDropRate=1.000000 (收集物掉落倍率)
CollectionObjectHpRate=1.000000 (收集物体生命值倍率)
CollectionObjectRespawnSpeedRate=1.000000 (收集物体重生速度倍率)
EnemyDropItemRate=1.000000 (敌人掉落物品倍率)
DeathPenalty=All (死亡惩罚:None不掉落,Item只掉物品不掉装备,ItemAndEquipment掉物品和装备,All全都掉)
bEnablePlayerToPlayerDamage=False (允许玩家对玩家造成伤害)
bEnableFriendlyFire=False (允许友军伤害)
bEnableInvaderEnemy=True (允许入侵)
bActiveUNKO=False (未知)
bEnableAimAssistPad=True (启用手柄瞄准辅助)
bEnableAimAssistKeyboard=False (启用键盘瞄准辅助)
DropItemMaxNum=3000 (掉落物品最大数量)
DropItemMaxNum_UNKO=100 (掉落物品最大数量_UNKO)
BaseCampMaxNum=128 (基地最大数量)
BaseCampWorkerMaxNum=15 (基地帕鲁最大数量)
DropItemAliveMaxHours=1.000000 (掉落物品存在最长时间)
bAutoResetGuildNoOnlinePlayers=False (自动重置没有在线玩家的公会)
AutoResetGuildTimeNoOnlinePlayers=72.000000 (无在线玩家时自动重置生成时间)
GuildPlayerMaxNum=20 (公会最大玩家数量)
PalEggDefaultHatchingTime=72.000000 (帕鲁蛋默认孵化时间)
WorkSpeedRate=1.000000 (工作速度倍率)
bIsMultiplay=False (多人游戏)
bIsPvP=False (PvP模式)
bCanPickupOtherGuildDeathPenaltyDrop=False (可拾取其他公会的死亡掉落物)
bEnableNonLoginPenalty=True (启用不登录惩罚)
bEnableFastTravel=True (启用快速旅行)
bIsStartLocationSelectByMap=True (通过地图选择起始位置)
bExistPlayerAfterLogout=False (离线后玩家仍然存在)
bEnableDefenseOtherGuildPlayer=False (启用防御其他公会玩家功能)
CoopPlayerMaxNum=4 (合作玩家最大人数)
ServerPlayerMaxNum=32 (服务器玩家最大人数)
ServerName="Default Palworld Server" (服务器名称)
ServerDescription="" (服务器描述)
AdminPassword="" (管理员密码)
ServerPassword="" (服务器密码)
PublicPort=8211 (服务器端口)
PublicIP="" (服务器ip)
RCONEnabled=False(启用 RCON)
RCONPort=25575(RCON端口)
Region=""(地区)
bUseAuth=True(使用授权)
BanListURL="" (封禁用户url)
你可以选择是否将服务器公布到社群EpicApp=PalServer
![图片[29]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124002325516-56f1741da6e346e7ff3783a8d7272122.png)
编辑完成后按Esc键,输入:wq,按回车保存并退出编辑模式
![图片[30]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124002337859-c28b6bc7a11e17349c4024340e13da93.png)
回到PalServer目录
cd ~ && cd PalServer
![图片[31]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124002726702-94d8bf120298ba663bfeb2d8e29c46fa.png)
再次启动服务端
./PalServer.sh
![图片[22]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240126232819469-image.png)
按Ctrl+A+D将程序PalServer从当前终端中分离出来
以下消息表明程序PalServer已经从ssh终端中分离出来,并在后台运行
![图片[33]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124003005519-0e6616ff3890ae8005e350020497432b.png)
玩家进入幻兽帕鲁多人服务器游戏
点击加入多人游戏
![图片[34]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124003619902-dc61e223b2c26d366118d2673e34d681.png)
输入IP地址:端口,点击联系,端口就是配置文件中填的端口,注意填写其它服务已经占用的端口,要开启UDP
![图片[35]-幻兽帕鲁palworld服务器Linux图文详细开服教程-附常见问题解答-王先生笔记](https://wxsnote.cn/wp-content/uploads/2024/01/20240124003806917-c17e0c5add41dd2c20b817d62f4e7283.png)
幻兽帕鲁服务端常见问题解答
以下是常见幻兽帕鲁服务端的提问,如果无法解决你遇到的问题,请在评论区提问
如何将幻兽帕鲁电脑本地地图替换到服务端?
幻兽帕鲁服务端常用的命令有什么?
如何更新幻兽帕鲁服务端版本?
幻兽帕鲁服务端安全组和运营商的端口都放行了,还是超时无法连接?
待新增其它解答,请在王先生笔记本文评论区提问
本文参考:
https://www.bilibili.com/read/cv29830426
https://tech.palworldgame.com/dedicated-server-guide
https://developer.valvesoftware.com/wiki/SteamCMD:zh-cn
2024-02-06 12:00:10,某些文章具有时效性,若有错误或已失效,请在下方留言或加入QQ群:
399019539 联系群主反馈。注意一些链接无法访问可能是你网络的原因,如Github,并非资源地址失效。
登录后可快速点此处反馈,点击登录















请登录后查看评论内容