From ae65d3594af2b529da75cf2cb5631f0193c491fd Mon Sep 17 00:00:00 2001 From: "Michael (Parker) Parker" Date: Sat, 6 Oct 2018 20:27:57 -0400 Subject: [PATCH] Adding Don't Starve Resolves #82 --- README.md | 2 + dont_starve/dont_starve/README.md | 20 +++++++++ dont_starve/dont_starve/egg-don-t-starve.json | 45 +++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 dont_starve/dont_starve/README.md create mode 100644 dont_starve/dont_starve/egg-don-t-starve.json diff --git a/README.md b/README.md index 6a70c313..d62063f6 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ If you are submitting PR's try and keep names and titles the same. ## Game Eggs +[Don't Starve](/dont_starve/dont_starve) + [Factorio](/factorio/factorio/) [Grand Theft Auto](/gta/) * [FiveM](/gta/fivem/) diff --git a/dont_starve/dont_starve/README.md b/dont_starve/dont_starve/README.md new file mode 100644 index 00000000..37c701d3 --- /dev/null +++ b/dont_starve/dont_starve/README.md @@ -0,0 +1,20 @@ +# Don't Starve Together +### From their [site](https://www.klei.com/games/dont-starve) +Don’t Starve is an uncompromising wilderness survival game full of science and magic. + +You play as Wilson, an intrepid Gentleman Scientist who has been trapped by a demon and transported to a mysterious wilderness world. Wilson must learn to exploit his environment and its inhabitants if he ever hopes to escape and find his way back home. + +Enter a strange and unexplored world full of strange creatures, dangers, and surprises. Gather resources to craft items and structures that match your survival style. Play your way as you unravel the mysteries of this strange land. + +### Minimum RAM warning +Minimum required memory to run the server is around 512mb for a single user.. + + +### Server Ports +Don't Starve Together only requires a single port to run. The default is 7777 + +| Port | default | +|---------|---------| +| Game | 10998 | + +#### Mods/Plugins may require ports to be added to the server. diff --git a/dont_starve/dont_starve/egg-don-t-starve.json b/dont_starve/dont_starve/egg-don-t-starve.json new file mode 100644 index 00000000..e5c44d3f --- /dev/null +++ b/dont_starve/dont_starve/egg-don-t-starve.json @@ -0,0 +1,45 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-10-06T20:21:42-04:00", + "name": "Don't Starve", + "author": "parker@parkervcp.com", + "description": "Don\u2019t Starve is an uncompromising wilderness survival game full of science and magic.", + "image": "quay.io\/parkervcp\/pterodactyl-images:source", + "startup": "'cd bin && .\/dontstarve_dedicated_server_nullrenderer -bind_ip 0.0.0.0 -port {{SERVER_PORT}} -console -persistent_storage_root \/home\/container\/DoNotStarveTogether -conf_dir config -cluster server -players {{MAX_PLAYERS}}'", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID\",\r\n \"userInteraction\": []\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Don't Starve 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 \/mnt\/server\/logs\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\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\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 343050 +quit\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\nmkdir -p ~\/DoNotStarveTogether\/config\/server\/\r\necho \"${SERVER_TOKEN}\" >> ~\/DoNotStarveTogether\/config\/server\/cluster_token.txt", + "container": "ubuntu:18.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Max Players", + "description": "Set the maximum number of players that will be allowed to join the game. This option overrides the [GAMEPLAY] \/ max_players setting in cluster.ini.", + "env_variable": "MAX_PLAYERS", + "default_value": "4", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|integer|between:1,31" + }, + { + "name": "Server Token", + "description": "Required to run a public server. This needs to be generated from in game.", + "env_variable": "SERVER_TOKEN", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:64" + } + ] +} \ No newline at end of file