차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
game:palworld_dedicated_server [2024/07/05 02:47] – 만듦 V_L | game: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. |
- | * / | + | * / |
- | * /Info Shows info on the dedicated server. | + | * /Info Shows info on the dedicated server. |
- | * / | + | * / |
- | * /BanPlayer (SteamID) Ban a specific player from the dedicated server. | + | * /BanPlayer (SteamID) |
- | * /KickPlayer (SteamID) Kick a specific player out of the dedicated server. | + | * /KickPlayer (SteamID) |
- | * / | + | * / |
- | * / | + | * / |
- | * /Broadcast (Message) Send a message to all players in the dedicated server. | + | * /Broadcast (Message) |
- | * /ShutDown (Seconds) (Message) Shutdown server after a number of seconds, and send a message alerting players. | + | * /ShutDown (Seconds) (Message) |
====툴킷==== | ====툴킷==== | ||
- | https:// | + | * https:// |
- | ====기본월드설정==== | + | * https:// |
+ | ====기본월드설정==== | ||
<file ini PalGameWorldSettings.ini> | <file ini PalGameWorldSettings.ini> | ||
줄 97: | 줄 99: | ||
</ | </ | ||
+ | ====자동 재시작==== | ||
+ | ===서비스 등록=== | ||
+ | sudo nano / | ||
+ | |||
+ | |||
+ | |||
+ | <file ini palworld.service> | ||
+ | [Unit] | ||
+ | Description=PalWorld Server | ||
+ | After=network.target | ||
+ | |||
+ | [Service] | ||
+ | WorkingDirectory=/ | ||
+ | ExecStartPre=/ | ||
+ | ExecStart=/ | ||
+ | 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 ' | ||
+ | # | ||
+ | # Notice that tasks will be started based on the cron's system | ||
+ | # daemon' | ||
+ | # | ||
+ | # 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 / | ||
+ | # | ||
+ | # For more information see the manual pages of crontab(5) and cron(8) | ||
+ | # | ||
+ | # m h dom mon dow | ||
+ | |||
+ | # 팰월드 새벽 4시 재시작 | ||
+ | 0 4 * * * systemctl restart palworld | ||
+ | </ |