Skip to content
36 changes: 28 additions & 8 deletions eco/egg-eco.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-09-20T09:14:59+02:00",
"exported_at": "2026-02-21T18:48:56+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.",
Expand All @@ -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": ".\/EcoServer $([ -n \"$SERVER_PASSWORD\" ] && echo \"-serverpassword=\\\"${SERVER_PASSWORD}\\\"\") $([ -n \"$SLG_TOKEN\" ] && echo \"-userToken=\\\"${SLG_TOKEN}\\\"\") $([ -n \"$SLG_USER\" ] && echo \"-username=\\\"${SLG_USER}\\\"\") $([ \"$OFFLINE_MODE\" = \"1\" ] && echo \"-offline\")",
"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}",
Expand Down Expand Up @@ -190,25 +190,45 @@
"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": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "[ACCOUNT] SLG Username",
"description": "",
"env_variable": "SLG_USER",
"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_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:20",
"field_type": "text"
},
{
"name": "[SERVER] Offline Mode",
"description": "Players wishing to connect to a server in offline mode will also need to set their game client to offline mode.",
"env_variable": "OFFLINE_MODE",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
}
]
}
}