开放端口8211 iptables -A INPUT -p udp -p tcp --dport 8211 -j ACCEPT
iptables -A INPUT -p udp -p udp --dport 8211 -j ACCEPT
yum -y install glibc.i686 libstdc++.i686 screen libcurl.i686
yum install glibc-devel.i686
yum install libstdc++-devel.i686
yum -y install glibc.i686 libstdc++.i686 screen libcurl.i686
useradd -m steam
su - steam
mkdir ~/steamcmd
cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
./steamcmd.sh
login anonymous
app_update 2394010
app_update 1007
quit
mkdir /home/steam/.steam
mkdir /home/steam/.steam/sdk64
cd linux64
cp steamclient.so /home/steam/.steam/sdk64
cd /home/steam/Steam/steamapps/common/PalServer
配置文件 Pal/Saved/Config/LinuxServer/PalWorldSettings.ini.
需要修改
================启动
./PalServer.sh
=====后台托管运行
nohup ./PalServer.sh >/dev/null &
; 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=10,ServerName="masangy",ServerDescription="masan",AdminPassword="123456",ServerPassword="123456",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")
启动服务器
./PalServer.sh
启动成功
配置大意
==================管理员
游戏内输入 /adminpassword 123456
/Shutdown 秒 消息 停服并通知
/DoExit 强制停止服务器
/Broadcast 消息 广播消息
/KickPlayer {SteamID} 提出
/BanPlayer {SteamID} 封禁
/TeleporToPalyer {SteamID} 传送玩家至
/TeleporToMe {SteamID} 将玩家传送到你
/ShowPalyer 在线玩家
/Info 展示服务器信息文章来源:https://www.toymoban.com/news/detail-820721.html
/Save 保存世界文章来源地址https://www.toymoban.com/news/detail-820721.html
到了这里,关于PALWORLD linux centos7开服教程的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!