차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
game:palworld_dedicated_server [2024/07/05 02:47] – 만듦 V_Lgame:palworld_dedicated_server [2024/07/08 00:41] (현재) – [Palworld Dedicated Server] V_L
줄 3: 줄 3:
  
  
 +장점?
 =====서버===== =====서버=====
  
 ====관리자명령==== ====관리자명령====
-  * /Save Save the world data. +  * /Save    Save the world data. 
-  * /ShowPlayers Show information on all players in the dedicated server. +  * /ShowPlayers    Show information on all players in the dedicated server. 
-  * /Info Shows info on the dedicated server. +  * /Info    Shows info on the dedicated server. 
-  * /DoExit Forcefully shutdowns the dedicated server immediately. +  * /DoExit    Forcefully shutdowns the dedicated server immediately. 
-  * /BanPlayer (SteamID) Ban a specific player from the dedicated server. +  * /BanPlayer (SteamID)    Ban a specific player from the dedicated server. 
-  * /KickPlayer (SteamID) Kick a specific player out of 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. +  * /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. +  * /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. +  * /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.+  * /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://github.com/magicbear/palworld-server-toolkit Level.sav 편집기 
-====기본월드설정====+  * https://palworld.tf/ 온라인 에디터
  
 +====기본월드설정====
  
 <file ini PalGameWorldSettings.ini> <file ini PalGameWorldSettings.ini>
줄 97: 줄 99:
 </file> </file>
  
 +====자동 재시작====
 +===서비스 등록===
  
 +  sudo nano /etc/systemd/system/palworld.service
 +
 +
 +
 +<file ini 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
 +</file>
 +===crontab 설정===
 +루트로 해야함.
 +
 +  sudo crontab -e
 +
 +<file>
 +# 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
 +</file>