From cf77f4deaf002765fdc0db948cabc96208fc3b69 Mon Sep 17 00:00:00 2001 From: NgLoader Date: Thu, 27 Feb 2020 01:55:55 +0100 Subject: [PATCH 1/7] feat: added vintage story --- vintage_story/README.md | 18 ++++++++ .../vintage_story/egg-vintage-story.json | 45 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 vintage_story/README.md create mode 100644 vintage_story/vintage_story/egg-vintage-story.json diff --git a/vintage_story/README.md b/vintage_story/README.md new file mode 100644 index 00000000..4bffe25f --- /dev/null +++ b/vintage_story/README.md @@ -0,0 +1,18 @@ +# Vintage Story + +#### The Vintage Story Server +The server supports mods + +#### from the developers + +Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. +Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. +Relive the advent of human civilization, or take your own path. +New to the game? Make sure to checkout their [starter page](https://wiki.vintagestory.at/index.php?title=Main_Page). + +### Server Ports +Vintage Story requires a single port + +| Port | default | +|---------|---------| +| Game | 42420 | \ No newline at end of file diff --git a/vintage_story/vintage_story/egg-vintage-story.json b/vintage_story/vintage_story/egg-vintage-story.json new file mode 100644 index 00000000..0de38eef --- /dev/null +++ b/vintage_story/vintage_story/egg-vintage-story.json @@ -0,0 +1,45 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-02-27T01:53:00+01:00", + "name": "Vintage Story", + "author": "mail@wuffy.eu", + "description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.", + "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", + "startup": "mono VintagestoryServer.exe --dataPath .\/data {{OPTIONS}}", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Dedicated Server now running on Port \",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \".\/data\/Logs\/server-debug.txt\"\r\n}", + "stop": "\/stop" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/ash\r\n# Vintage Story Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y screen wget curl\r\n\r\ncd mnt\/server\r\n\r\ncurl -o vs_server.tar.gz https:\/\/cdn.vintagestory.at\/gamefiles\/stable\/vs_server_${VERSION}.tar.gz\r\ntar -xzf vs_server.tar.gz", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Start Options", + "description": "", + "env_variable": "OPTIONS", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "max:200" + }, + { + "name": "Version", + "description": "", + "env_variable": "VERSION", + "default_value": "1.12.5", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:20" + } + ] +} \ No newline at end of file From ef74df17880326876d25bc3b9b30cd86c60e12e8 Mon Sep 17 00:00:00 2001 From: NgLoader Date: Thu, 27 Feb 2020 02:46:51 +0100 Subject: [PATCH 2/7] fix: fixed default port was used feat: added maxClients --- vintage_story/vintage_story/egg-vintage-story.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/vintage_story/vintage_story/egg-vintage-story.json b/vintage_story/vintage_story/egg-vintage-story.json index 0de38eef..626cda11 100644 --- a/vintage_story/vintage_story/egg-vintage-story.json +++ b/vintage_story/vintage_story/egg-vintage-story.json @@ -3,12 +3,12 @@ "meta": { "version": "PTDL_v1" }, - "exported_at": "2020-02-27T01:53:00+01:00", + "exported_at": "2020-02-27T02:46:01+01:00", "name": "Vintage Story", "author": "mail@wuffy.eu", "description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.", "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", - "startup": "mono VintagestoryServer.exe --dataPath .\/data {{OPTIONS}}", + "startup": "mono VintagestoryServer.exe --dataPath .\/data --port={{SERVER_PORT}} --maxclients={{MAX_CLIENTS}} {{OPTIONS}}", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Dedicated Server now running on Port \",\r\n \"userInteraction\": []\r\n}", @@ -40,6 +40,15 @@ "user_viewable": 1, "user_editable": 1, "rules": "required|string|max:20" + }, + { + "name": "Max Clients", + "description": "", + "env_variable": "MAX_CLIENTS", + "default_value": "16", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|integer|max:2000" } ] } \ No newline at end of file From d2bc5e17302654747aa4357ad41d24e102ae87f8 Mon Sep 17 00:00:00 2001 From: NgLoader Date: Thu, 27 Feb 2020 02:55:01 +0100 Subject: [PATCH 3/7] fix: forgot the main readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c768cf0e..de5d90ab 100644 --- a/README.md +++ b/README.md @@ -118,4 +118,6 @@ If you are reading this it looks like you are looking to add an egg to your serv [Tycoon Games](/tycoon_games/) * [OpenTTD](/tycoon_games/openttd/) -[Xonotic](/xonotic/xonotic/) \ No newline at end of file +[Xonotic](/xonotic/xonotic/) + +[Vintage Story](/vintage_story/vintage_story/) \ No newline at end of file From d7294882e9ad5d9990d0a59b320de1ab2e4af1e2 Mon Sep 17 00:00:00 2001 From: NgLoader Date: Thu, 27 Feb 2020 04:21:49 +0100 Subject: [PATCH 4/7] fix: moved into an alphabetical order --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de5d90ab..4484c5fe 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,8 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Tower Unite](/unreal_engine/tower_unite/) * [Tower Unite](/steamcmd_servers/tower_unite/) +[Vintage Story](/vintage_story/vintage_story/) + [Terraria](/terraria/) * [tmodloader](/terraria/tmodloader) * [tshock](/terraria/tshock/) @@ -119,5 +121,3 @@ If you are reading this it looks like you are looking to add an egg to your serv * [OpenTTD](/tycoon_games/openttd/) [Xonotic](/xonotic/xonotic/) - -[Vintage Story](/vintage_story/vintage_story/) \ No newline at end of file From c5d51e3e625a369fa2b065f515703530b935d1f1 Mon Sep 17 00:00:00 2001 From: NgLoader Date: Thu, 27 Feb 2020 08:04:44 +0100 Subject: [PATCH 5/7] fix: fixed false position --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4484c5fe..f83163c8 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,6 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Tower Unite](/unreal_engine/tower_unite/) * [Tower Unite](/steamcmd_servers/tower_unite/) -[Vintage Story](/vintage_story/vintage_story/) - [Terraria](/terraria/) * [tmodloader](/terraria/tmodloader) * [tshock](/terraria/tshock/) @@ -120,4 +118,6 @@ If you are reading this it looks like you are looking to add an egg to your serv [Tycoon Games](/tycoon_games/) * [OpenTTD](/tycoon_games/openttd/) +[Vintage Story](/vintage_story/vintage_story/) + [Xonotic](/xonotic/xonotic/) From 79ecbe0541b5c9a1ddcfca7bbf4818d163e5b30a Mon Sep 17 00:00:00 2001 From: NgLoader Date: Fri, 28 Feb 2020 00:20:31 +0100 Subject: [PATCH 6/7] fix: fixed readme fix: removed duplicated entry --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f83163c8..bc83dabb 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,6 @@ If you are reading this it looks like you are looking to add an egg to your serv * [RocketMod](/steamcmd_servers/unturned/rocketmod/) * [Unturned](/steamcmd_servers/unturned/unturned/) -[Tycoon Games](/tycoon_games/) -* [OpenTTD](/tycoon_games/openttd/) - -[Unreal Engine](/unreal_engine) -* [Tower Unite](/unreal_engine/tower_unite/) -* [Tower Unite](/steamcmd_servers/tower_unite/) - [Terraria](/terraria/) * [tmodloader](/terraria/tmodloader) * [tshock](/terraria/tshock/) @@ -118,6 +111,10 @@ If you are reading this it looks like you are looking to add an egg to your serv [Tycoon Games](/tycoon_games/) * [OpenTTD](/tycoon_games/openttd/) +[Unreal Engine](/unreal_engine) +* [Tower Unite](/unreal_engine/tower_unite/) +* [Tower Unite](/steamcmd_servers/tower_unite/) + [Vintage Story](/vintage_story/vintage_story/) [Xonotic](/xonotic/xonotic/) From 09faa83471d2a875874133584efb03ec524d379e Mon Sep 17 00:00:00 2001 From: NgLoader Date: Fri, 28 Feb 2020 20:03:48 +0100 Subject: [PATCH 7/7] feat: added a latest support Co-Authored-By: Daniel --- vintage_story/vintage_story/egg-vintage-story.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vintage_story/vintage_story/egg-vintage-story.json b/vintage_story/vintage_story/egg-vintage-story.json index 626cda11..1f2ac2ee 100644 --- a/vintage_story/vintage_story/egg-vintage-story.json +++ b/vintage_story/vintage_story/egg-vintage-story.json @@ -3,7 +3,7 @@ "meta": { "version": "PTDL_v1" }, - "exported_at": "2020-02-27T02:46:01+01:00", + "exported_at": "2020-02-28T20:02:42+01:00", "name": "Vintage Story", "author": "mail@wuffy.eu", "description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.", @@ -17,7 +17,7 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/ash\r\n# Vintage Story Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y screen wget curl\r\n\r\ncd mnt\/server\r\n\r\ncurl -o vs_server.tar.gz https:\/\/cdn.vintagestory.at\/gamefiles\/stable\/vs_server_${VERSION}.tar.gz\r\ntar -xzf vs_server.tar.gz", + "script": "#!\/bin\/ash\r\n# Vintage Story Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y screen wget curl\r\n\r\n# Fetching last github release\r\nif [ -z \"${RELEASE_VERSION}\" ] || [ \"${RELEASE_VERSION}\" == \"latest\" ]; then\r\n echo -e \"Using latest release version\"\r\n LATEST=`curl -s4 https:\/\/account.vintagestory.at\/files\/stable\/ | awk -F 'vs_server' '{print $2}' | sed -r '\/^\\s*$\/d' | sed -r 's\/_\/\/' | sed -r 's\/\"\/\/' | sed -r 's\/>\/\/' | grep \".tar.gz$\" | sort --version-sort | tail -n 1`;\r\n DOWNLOAD_URL=https:\/\/account.vintagestory.at\/files\/stable\/vs_server_${LATEST}\r\nelse\r\n echo -e \"Using custom release version\"\r\n DOWNLOAD_URL=https:\/\/account.vintagestory.at\/files\/stable\/vs_server_${RELEASE_VERSION}.tar.gz\r\nfi\r\n\r\ncd \/mnt\/server\/\r\n\r\ncurl -o vs_server.tar.gz ${DOWNLOAD_URL}\r\ntar -xzf vs_server.tar.gz\r\n\r\nrm vs_server.tar.gz", "container": "debian:buster-slim", "entrypoint": "bash" } @@ -35,8 +35,8 @@ { "name": "Version", "description": "", - "env_variable": "VERSION", - "default_value": "1.12.5", + "env_variable": "RELEASE_VERSION", + "default_value": "latest", "user_viewable": 1, "user_editable": 1, "rules": "required|string|max:20"