Add egg file

This commit is contained in:
zontreck 2024-07-10 16:14:17 -07:00
parent ad7c3dac0d
commit fb8d28a224

152
egg-skyrim-together.json Normal file
View file

@ -0,0 +1,152 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-07-10T23:11:50+00:00",
"name": "SkyrimTogether",
"author": "admin@zontreck.com",
"description": "Pterodactyl egg to host SkyrimTogether servers (AKA TiltedEvolution)\r\n\r\nSimply reinstall the server to update to the latest version of this mod. Unfortunately due to technical limitations, this egg will need significant modifications to support playing older versions of the mod.\r\n\r\nDo not use this Egg to create and host servers for profit. Commercial use of the mod is forbidden by the developers.",
"features": null,
"docker_images": {
"git.zontreck.com\/zontreck\/skyrim:latest": "git.zontreck.com\/zontreck\/skyrim:latest"
},
"file_denylist": [],
"startup": ".\/bin\/SkyrimTogetherServer",
"config": {
"files": "{\r\n \"config\/STServer.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"Note.Comment\": \"THIS FILE IS AUTOMATICALLY GENERATED BY PTERODACTYL\",\r\n \"Note.Comment2\": \"Please do not edit this file by hand, all changes will be lost. Use the Startup tab in your server panel instead.\",\r\n \"Note.Comment3\": \"Exception: Any new settings from new server versions that are not shown in the panel MAY be added to this file.\",\r\n \"Gameplay.fGoldLossFactor\": \"{{server.build.env.CFG_GAME_GOLD_LOSS_FACTOR}}\",\r\n \"Gameplay.bEnableXpSync\": \"{{server.build.env.CFG_GAME_XP_SYNC}}\",\r\n \"Gameplay.bEnablePvp\": \"{{server.build.env.CFG_GAME_ENABLE_PVP}}\",\r\n \"Gameplay.bEnableGreetings\": \"{{server.build.env.CFG_GAME_ENABLE_GREETINGS}}\",\r\n \"Gameplay.uDifficulty\": \"{{server.build.env.CFG_GAME_DIFFICULTY}}\",\r\n \"LiveServices.bAnnounceServer\": \"{{server.build.env.CFG_LIVE_ANNOUNCE_SERVER}}\",\r\n \"ModPolicy.bAllowMO2\": \"{{server.build.env.CFG_MOD_ALLOW_MO2}}\",\r\n \"ModPolicy.bAllowSKSE\": \"{{server.build.env.CFG_MOD_ALLOW_SKSE}}\",\r\n \"ModPolicy.bEnableModCheck\": \"{{server.build.env.CFG_MOD_ENABLE_MOD_CHECK}}\",\r\n \"GameServer.sPassword\": \"{{server.build.env.CFG_SRV_PASSWORD}}\",\r\n \"GameServer.sServerName\": \"{{server.build.env.CFG_SRV_NAME}}\",\r\n \"GameServer.bPremiumMode\": \"{{server.build.env.CFG_SRV_PREMIUM_MODE}}\",\r\n \"GameServer.uPort\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Server started,\"\r\n}",
"logs": "{}",
"stop": "\/quit"
},
"scripts": {
"installation": {
"script": "#!\/bin\/ash\r\n\r\n# SkyrimTogether Egg Installation Script\r\n# Author: Hayden Andreyka (haydenandreyka@gmail.com)\r\n\r\n# Description: Uses custom installer image that contains SkyrimTogether binaries and copies binaries to mounted persistent folder on Pterodactyl.\r\n# This setup is not ideal but due to the \"creative\" build process of the ST server, it's the most reliable solution possible.\r\n\r\n# Delete existing binaries\r\nif [ -d \"\/mnt\/server\/bin\" ]\r\nthen\r\n rm -rf \/mnt\/server\/bin\/*\r\nelse\r\n mkdir -p \/mnt\/server\/bin\r\nfi\r\n# Copy binaries from their home on installer image to the persistent mount point\r\ncp \/home\/server\/* \/mnt\/server\/bin\r\n\r\n# Done!\r\necho \"Done installing. Re-run the installer to update the server.\"",
"container": "git.zontreck.com\/zontreck\/skyrim:installer",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Gold Loss Factor",
"description": "Factor of the amount of gold lost on death",
"env_variable": "CFG_GAME_GOLD_LOSS_FACTOR",
"default_value": "0.0",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|max:1.0|min:0.0",
"field_type": "text"
},
{
"name": "Enable XP Sync",
"description": "Syncs combat XP within the party",
"env_variable": "CFG_GAME_XP_SYNC",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Enable PVP",
"description": "",
"env_variable": "CFG_GAME_ENABLE_PVP",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Enable Greetings",
"description": "Enables NPC greetings (disabled by default since they can be spammy with dialogue sync)",
"env_variable": "CFG_GAME_ENABLE_GREETINGS",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Difficulty",
"description": "In game difficulty",
"env_variable": "CFG_GAME_DIFFICULTY",
"default_value": "4",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer|min:0|max:5",
"field_type": "text"
},
{
"name": "Announce Server",
"description": "Whether to list the server on the public server list",
"env_variable": "CFG_LIVE_ANNOUNCE_SERVER",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Allow MO2",
"description": "Allow clients running Mod Organizer 2 to join",
"env_variable": "CFG_MOD_ALLOW_MO2",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Allow SKSE",
"description": "Allow clients with SKSE active to join",
"env_variable": "CFG_MOD_ALLOW_SKSE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Enable Mod Check",
"description": "Enables the checking of mods on the server",
"env_variable": "CFG_MOD_ENABLE_MOD_CHECK",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Server Password",
"description": "Set a password to join the server",
"env_variable": "CFG_SRV_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"field_type": "text"
},
{
"name": "Server Name",
"description": "Name that shows up in the server list. If empty, will be set to \"Private Server\".",
"env_variable": "CFG_SRV_NAME",
"default_value": "Dedicated Together Server",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:100",
"field_type": "text"
},
{
"name": "Premium Mode",
"description": "Use premium tick rate",
"env_variable": "CFG_SRV_PREMIUM_MODE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
}
]
}