From 3f95dc5398cced53b24bcd3ffd1cbb30409b6271 Mon Sep 17 00:00:00 2001 From: SheppeR Date: Mon, 29 Oct 2018 21:29:58 +0100 Subject: [PATCH 1/2] ARK egg for vanilla or moded server --- source_servers/ark_survival_evolved/README.md | 12 ++++ .../egg-ark--survival-evolved.json | 63 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 source_servers/ark_survival_evolved/README.md create mode 100644 source_servers/ark_survival_evolved/egg-ark--survival-evolved.json diff --git a/source_servers/ark_survival_evolved/README.md b/source_servers/ark_survival_evolved/README.md new file mode 100644 index 00000000..1546d680 --- /dev/null +++ b/source_servers/ark_survival_evolved/README.md @@ -0,0 +1,12 @@ +# Ark: Survival Evolved +Steam Description : +As a man or woman stranded naked, freezing and starving on the shores of a mysterious island called ARK, you must hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements. Use your cunning and resources to kill or tame & breed the leviathan dinosaurs and other primeval creatures roaming the land, and team up with or prey on hundreds of other players to survive, dominate... and escape! + +### Server Ports + +| Port | default | +|-------|---------| +| Game | 7777 | +| Query | 27015 | +| Raw UDP | 7778 | +| RCON | 27020 | diff --git a/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json b/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json new file mode 100644 index 00000000..bc1b7ca6 --- /dev/null +++ b/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json @@ -0,0 +1,63 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-10-29T20:51:32+01:00", + "name": "Ark: Survival Evolved", + "author": "support@pterodactyl.io", + "description": "As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! \u2014 Gamepedia: ARK", + "image": "quay.io\/pterodactyl\/core:source", + "startup": "'cd ShooterGame\/Binaries\/Linux && .\/ShooterGameServer TheIsland?listen?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?MaxPlayers={{SERVER_MAX_PLAYERS}}'", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 346110\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# ARK: Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/Engine\/Binaries\/ThirdParty\/SteamCMD\/Linux\r\n\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/Engine\/Binaries\/ThirdParty\/SteamCMD\/Linux\r\n\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 376030 +quit\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\ncd \/mnt\/server\/Engine\/Binaries\/ThirdParty\/SteamCMD\/Linux\r\n\r\nln -sf ..\/..\/..\/..\/..\/Steam\/steamapps steamapps\r\n\r\ncd \/mnt\/server", + "container": "ubuntu:16.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Server Password", + "description": "If specified, players must provide this password to join the server.", + "env_variable": "ARK_PASSWORD", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|alpha_dash|between:1,100" + }, + { + "name": "Admin Password", + "description": "If specified, players must provide this password (via the in-game console) to gain access to administrator commands on the server.", + "env_variable": "ARK_ADMIN_PASSWORD", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|alpha_dash|between:1,100" + }, + { + "name": "Maximum Players", + "description": "Specifies the maximum number of players that can play on the server simultaneously.", + "env_variable": "SERVER_MAX_PLAYERS", + "default_value": "20", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|numeric|digits_between:1,4" + }, + { + "name": "App ID", + "description": "ARK App ID", + "env_variable": "SRCDS_APPID", + "default_value": "376030", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|numeric" + } + ] +} \ No newline at end of file From d256aa3fa68f5887630e8299abf317d92a736425 Mon Sep 17 00:00:00 2001 From: SheppeR Date: Mon, 5 Nov 2018 08:38:58 +0100 Subject: [PATCH 2/2] Update egg-ark--survival-evolved.json --- .../ark_survival_evolved/egg-ark--survival-evolved.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json b/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json index bc1b7ca6..7742f4d4 100644 --- a/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json +++ b/source_servers/ark_survival_evolved/egg-ark--survival-evolved.json @@ -5,7 +5,7 @@ }, "exported_at": "2018-10-29T20:51:32+01:00", "name": "Ark: Survival Evolved", - "author": "support@pterodactyl.io", + "author": "dev@shepper.fr", "description": "As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! \u2014 Gamepedia: ARK", "image": "quay.io\/pterodactyl\/core:source", "startup": "'cd ShooterGame\/Binaries\/Linux && .\/ShooterGameServer TheIsland?listen?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?MaxPlayers={{SERVER_MAX_PLAYERS}}'", @@ -60,4 +60,4 @@ "rules": "required|numeric" } ] -} \ No newline at end of file +}