一、幻兽帕鲁的服务管理
# 启动幻兽帕鲁的服务
sudo systemctl start pal-server
# 重启幻兽帕鲁的服务
sudo systemctl restart pal-server
# 关闭幻兽帕鲁的服务
sudo systemctl stop pal-server
# 查询幻兽帕鲁服务的状态
sudo systemctl status pal-server
#更新游戏服务器版本(请先关闭幻兽帕鲁的服务)
wget -O - https://pal-server-1251810746.cos.accelerate.myqcloud.com/pal-server/Ubuntu/install.sh|sh
服务已启动,如下图
二、幻兽帕鲁的服务配置文件
默认设置位于:
/home/steam/Steam/steamapps/common/PalServer/DefaultPalWorldSettings.ini
#更改幻兽帕鲁服务器各项参数
sudo vim /home/steam/Steam/steamapps/common/PalServer/DefaultPalWorldSettings.ini
初始参数如下:
; This configuration file is a sample of the default server settings.
; Changes to this file will NOT be reflected on the server.
; To change the server settings, modify Pal/Saved/Config/LinuxServer/PalWorldSettings.ini.
[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=None,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,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,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="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")
三、配置参数
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
RCONPort=25575
Region=""
bUseAuth=True
BanListURL="https://api.palworldgame.com/api/banlist.txt"
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。