You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
- Updated docker-image pinning and github-actions versions by @jammsen (#312)
9
9
- Refactored from docker-compose.yml to new standard compose.yml including gitignore by @jammsen (#312)
10
10
- Implemented finally a version of auto-updating the compose.yml @jahusa02 (#188)
11
+
- Added the function to run a custom script, that the user can place at /palworld/custom-script - Off by default, completely opt-in and added a very explicit PSA in the README.md for it by @jammsen for @Jadiction (#273)
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,18 @@ This Docker image includes a Palworld Dedicated Server based on Linux and Docker
16
16
17
17
___
18
18
19
+
> [!CAUTION]
20
+
> **Public Service Announcement — Custom Script Feature**
21
+
>
22
+
> After many community requests, this image now supports running a custom script before the server starts.
23
+
> This feature is entirely **opt-in** and is controlled by the `CUSTOM_SCRIPT_ENABLED` environment variable, which defaults to `false`.
24
+
>
25
+
> **This image will never ship with a custom script of any kind.**
26
+
>
27
+
> If you come across a Docker image that appears to be this one but includes a bundled custom script, please be careful — it is not this image and I have no affiliation with it.
28
+
>
29
+
> This feature was added at the request of the community. While I am glad to offer the option, I will not be providing support for it, and I refuse to accept **any liability** for any harm, data loss, corruption, or security issues that may result from its use. Please use it at your own discretion. — Public Service Announcement.
Copy file name to clipboardExpand all lines: docs/ENV_VARS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ These settings control the behavior of the Docker container:
29
29
| RCON_PLAYER_DEBUG | Set to enabled will post debug messages to the console output | false | Boolean |
30
30
| RCON_PLAYER_DETECTION_STARTUP_DELAY | Initial delay for start checking for players, consider steam-updates and server start up in seconds | 60 | Integer |
31
31
| RCON_PLAYER_DETECTION_CHECK_INTERVAL | Interval in seconds to wait for next check in the infinite loop | 15 | Integer |
32
+
| CUSTOM_SCRIPT_ENABLED | Set to enabled will execute a custom script before the gameserver starts, see `CUSTOM_SCRIPT_PATH`| false | Boolean |
33
+
| CUSTOM_SCRIPT_PATH | Absolute path to the custom script to execute; the file must exist at container runtime (e.g. mounted via a volume) | /palworld/custom-script.sh | String (absolute path) |
32
34
| WEBHOOK_ENABLED | Set to enabled will send webhook notifications, NEEDS `WEBHOOK_URL`| false | Boolean |
33
35
| WEBHOOK_DEBUG_ENABLED | Set to enabled will enable feedback of curl and not use --silent | false | Boolean |
34
36
| WEBHOOK_URL | Defines the url the webhook to send data to || Url |
0 commit comments