Palworld Dedicated Server
장점?
서버
관리자명령
- /Save Save the world data.
- /ShowPlayers Show information on all players in the dedicated server.
- /Info Shows info on the dedicated server.
- /DoExit Forcefully shutdowns the dedicated server immediately.
- /BanPlayer (SteamID) Ban a specific player from the dedicated server.
- /KickPlayer (SteamID) Kick a specific player out of the dedicated server.
- /TeleportToMe (SteamID) Teleport a specific player in the server to your character's location.
- /TeleportToPlayer (SteamID) Teleport your character to the location of a specific player in the server.
- /Broadcast (Message) Send a message to all players in the dedicated server.
- /ShutDown (Seconds) (Message) Shutdown server after a number of seconds, and send a message alerting players.
툴킷
- https://github.com/magicbear/palworld-server-toolkit Level.sav 편집기
- https://palworld.tf/ 온라인 에디터
기본월드설정
- PalGameWorldSettings.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, BaseCampMaxNumInGuild=4, PalEggDefaultHatchingTime=72.000000, WorkSpeedRate=1.000000, AutoSaveSpan=30.000000, bIsMultiplay=False, bIsPvP=False, bCanPickupOtherGuildDeathPenaltyDrop=False, bEnableNonLoginPenalty=True, bEnableFastTravel=True, bIsStartLocationSelectByMap=True, bExistPlayerAfterLogout=False, bEnableDefenseOtherGuildPlayer=False, bInvisibleOtherGuildBaseCampAreaFX=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", RESTAPIEnabled=False, RESTAPIPort=8212, bShowPlayerList=False, AllowConnectPlatform=Steam, bIsUseBackupSaveData=True, LogFormatType=Text)
자동 재시작
서비스 등록
sudo nano /etc/systemd/system/palworld.service
- palworld.service
[Unit] Description=PalWorld Server After=network.target [Service] WorkingDirectory=/home/steam/.steam/steam/steamapps/common/PalServer ExecStartPre=/usr/games/steamcmd +login anonymous +app_update 2394010 validate +quit ExecStart=/home/steam/.steam/steam/steamapps/common/PalServer/PalServer.sh -publiclobby -useperfthreads -NoAsyncLoading> Restart=always User=steam Group=steam [Install] WantedBy=multi-user.target
crontab 설정
루트로 해야함.
sudo crontab -e
# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any'). # # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command # 팰월드 새벽 4시 재시작 0 4 * * * systemctl restart palworld