Adding Don't Starve

Resolves #82
This commit is contained in:
Michael (Parker) Parker 2018-10-06 20:27:57 -04:00
parent d5deff886c
commit ae65d3594a
3 changed files with 67 additions and 0 deletions

View File

@ -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/)

View File

@ -0,0 +1,20 @@
# Don't Starve Together
### From their [site](https://www.klei.com/games/dont-starve)
Dont 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.

View File

@ -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"
}
]
}