diff --git a/eco/egg-eco.json b/eco/egg-eco.json index bd0111b1..02e903d6 100644 --- a/eco/egg-eco.json +++ b/eco/egg-eco.json @@ -2,9 +2,9 @@ "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", "meta": { "version": "PTDL_v2", - "update_url": null + "update_url": "https:\/\/pterodactyleggs.com\/egg\/6735ff474924a4e9bbcb97fb\/download\/egg-eco.json" }, - "exported_at": "2024-09-20T09:14:59+02:00", + "exported_at": "2025-10-19T10:54:32+00:00", "name": "Eco", "author": "eggs@goover.dev", "description": "Eco is an online world from Strange Loop Games where players must build civilization using resources from an ecosystem that can be damaged and destroyed. The world of Eco is an incredibly reactive one, and whatever any player does in the world affects the underlying ecosystem.", @@ -15,7 +15,7 @@ "ghcr.io\/ptero-eggs\/steamcmd:dotnet": "ghcr.io\/ptero-eggs\/steamcmd:dotnet" }, "file_denylist": [], - "startup": ".\/EcoServer --username=\"{{SLG_USER}}\" --password=\"{{SLG_PW}}\"", + "startup": "cmd=(.\/EcoServer); \r\nif [ -n \"$SLG_TOKEN\" ]; then \r\n cmd+=(--userToken=\"\\\"$SLG_TOKEN\\\"\"); \r\nelif [ -n \"$SLG_USER\" ] && [ -n \"$SLG_PW\" ]; then \r\n cmd+=(--username=\"\\\"$SLG_USER\\\"\" --password=\"\\\"$SLG_PW\\\"\"); \r\nfi; \r\nexec \"${cmd[@]}\"", "config": { "files": "{\r\n \"Configs\/Network.eco\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"GameServerPort\": \"{{server.build.default.port}}\",\r\n \"WebServerPort\": \"{{server.build.env.WEB_PORT}}\",\r\n \"PublicServer\": \"{{server.build.env.PUB_SRV}}\",\r\n \"Password\": \"{{server.build.env.SRV_PW}}\",\r\n \"UPnPEnabled\": \"{{server.build.env.UPNP}}\",\r\n \"Description\": \"{{server.build.env.SRV_NAME}}\",\r\n \"DetailedDescription\": \"{{server.build.env.DEDES}}\",\r\n \"Playtime\": \"{{server.build.env.PLAYTIME}}\",\r\n \"MaxConnections\": \"{{server.build.env.MAX_CON}}\",\r\n \"DiscordAddress\": \"{{server.build.env.DISCORD_SRV}}\",\r\n \"RconServerPort\": \"{{server.build.env.RCON_PORT}}\",\r\n \"RconPassword\": \"{{server.build.env.RCON_PW}}\",\r\n \"ServerCategory\": \"{{server.build.env.SRV_CAT}}\"\r\n }\r\n },\r\n \"Configs\/Localization.eco\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"Language\": \"{{server.build.env.LANGUAGE}}\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"Web Server now listening on:\"\r\n}", @@ -190,6 +190,16 @@ "rules": "required|string|in:English,French,German", "field_type": "text" }, + { + "name": "[ACCOUNT] SLG Token", + "description": "Generate a token in your Strange Loop Games account under your Eco account at https:\/\/play.eco\/account and copy it here. This will override username and password login!", + "env_variable": "SLG_TOKEN", + "default_value": "", + "user_viewable": false, + "user_editable": true, + "rules": "nullable|string", + "field_type": "text" + }, { "name": "[ACCOUNT] SLG Username", "description": "", @@ -197,18 +207,18 @@ "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20", + "rules": "nullable|string|max:20", "field_type": "text" }, { "name": "[ACCOUNT] SLG Pasword", - "description": "", + "description": "Use your Strange Loop Games password with your Strange Loop Account username.", "env_variable": "SLG_PW", "default_value": "", "user_viewable": false, - "user_editable": false, - "rules": "required|string|max:20", + "user_editable": true, + "rules": "nullable|string|max:20", "field_type": "text" } ] -} \ No newline at end of file +}