forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SAVE_SLOT to Sons Of The Forest (pelican-eggs#2822)
* Update egg-sons-of-the-forest.json Add SAVE_SLOT variable to set save slot in startup command. Allow end-users to upload their own save and set save folder name easily. * export from panel --------- Co-authored-by: Quinten <[email protected]>
- Loading branch information
1 parent
5c61da2
commit 86313ee
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2023-10-18T18:00:26+02:00", | ||
"exported_at": "2024-03-24T15:18:00+01:00", | ||
"name": "Sons Of The Forest", | ||
"author": "[email protected]", | ||
"description": "Sons of the Forest is a horror survival game and sequel to The Forest by Endnight Games, Ltd.. Sent to find a missing billionaire on a remote island, you find yourself in a cannibal-infested hellscape. Craft, build, and struggle to survive, alone or with friends.", | ||
|
@@ -15,9 +15,9 @@ | |
"ghcr.io\/parkervcp\/yolks:wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest" | ||
}, | ||
"file_denylist": [], | ||
"startup": "wine .\/SonsOfTheForestDS.exe -userdatapath \"\/home\/container\/serverconfig\" -dedicatedserver.IpAddress \"0.0.0.0\" -dedicatedserver.GamePort \"{{SERVER_PORT}}\" -dedicatedserver.QueryPort \"{{QUERY_PORT}}\" -dedicatedserver.BlobSyncPort \"{{BLOBSYNC_PORT}}\" -dedicatedserver.MaxPlayers \"{{MAX_PLAYERS}}\" -dedicatedserver.Password \"{{SRV_PW}}\" -dedicatedserver.GameMode \"{{GAME_MODE}}\" -dedicatedserver.SkipNetworkAccessibilityTest \"{{SKIP_TESTS}}\" -dedicatedserver.LogFilesEnabled \"true\" -dedicatedserver.TimestampLogFilenames \"true\"", | ||
"startup": "wine .\/SonsOfTheForestDS.exe -userdatapath \"\/home\/container\/serverconfig\" -dedicatedserver.IpAddress \"0.0.0.0\" -dedicatedserver.GamePort \"{{SERVER_PORT}}\" -dedicatedserver.QueryPort \"{{QUERY_PORT}}\" -dedicatedserver.BlobSyncPort \"{{BLOBSYNC_PORT}}\" -dedicatedserver.MaxPlayers \"{{MAX_PLAYERS}}\" -dedicatedserver.Password \"{{SRV_PW}}\" -dedicatedserver.GameMode \"{{GAME_MODE}}\" -dedicatedserver.SkipNetworkAccessibilityTest \"{{SKIP_TESTS}}\" -dedicatedserver.SaveSlot \"{{SAVE_SLOT}}\" -dedicatedserver.LogFilesEnabled \"true\" -dedicatedserver.TimestampLogFilenames \"true\"", | ||
"config": { | ||
"files": "{\r\n \"serverconfig\/dedicatedserver.cfg\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"ServerName\": \"{{server.build.env.SRV_NAME}}\"\r\n }\r\n }\r\n}", | ||
"files": "{\r\n \"serverconfig\/dedicatedserver.cfg\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"ServerName\": \"{{server.build.env.SRV_NAME}}\",\r\n \"SaveSlot\": \"{{server.build.env.SAVE_SLOT}}\"\r\n }\r\n }\r\n}", | ||
"startup": "{\r\n \"done\": \"#DSL Dedicated server loaded.\"\r\n}", | ||
"logs": "{}", | ||
"stop": "^^C" | ||
|
@@ -157,7 +157,7 @@ | |
"default_value": "1", | ||
"user_viewable": false, | ||
"user_editable": false, | ||
"rules": "required|string|max:20", | ||
"rules": "required|string|in:1", | ||
"field_type": "text" | ||
}, | ||
{ | ||
|
@@ -169,6 +169,16 @@ | |
"user_editable": true, | ||
"rules": "required|string|in:true,false", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Save Slot", | ||
"description": "If you uploaded an existing save from your PC you can enter the save slot number here.", | ||
"env_variable": "SAVE_SLOT", | ||
"default_value": "0000000001", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|numeric|max:30", | ||
"field_type": "text" | ||
} | ||
] | ||
} |