mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-23 21:22:54 +08:00
38abae58ef
Adding the stock pterodactyl eggs in the same folder format.
54 lines
2.9 KiB
JSON
54 lines
2.9 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v1"
|
|
},
|
|
"exported_at": "2018-01-21T16:59:48-06:00",
|
|
"name": "Insurgency",
|
|
"author": "support@pterodactyl.io",
|
|
"description": "Take to the streets for intense close quarters combat, where a team's survival depends upon securing crucial strongholds and destroying enemy supply in this multiplayer and cooperative Source Engine based experience.",
|
|
"image": "quay.io\/pterodactyl\/core:source",
|
|
"startup": ".\/srcds_run -game {{SRCDS_GAME}} -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} +ip 0.0.0.0 -strictportbind -norestart",
|
|
"config": {
|
|
"files": "{}",
|
|
"startup": "{\"done\": \"gameserver Steam ID\", \"userInteraction\": []}",
|
|
"logs": "{\"custom\": true, \"location\": \"logs\/latest.log\"}",
|
|
"stop": "quit"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\n# SRCDS Base Installation Script\n#\n# Server Files: \/mnt\/server\napt -y update\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\n\ncd \/tmp\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\n\nmkdir -p \/mnt\/server\/steamcmd\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\ncd \/mnt\/server\/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root \/mnt\n\nexport HOME=\/mnt\/server\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} +quit\n\nmkdir -p \/mnt\/server\/.steam\/sdk32\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so",
|
|
"container": "ubuntu:16.04",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Game ID",
|
|
"description": "The ID corresponding to the game to download and run using SRCDS.",
|
|
"env_variable": "SRCDS_APPID",
|
|
"default_value": "17705",
|
|
"user_viewable": 1,
|
|
"user_editable": 0,
|
|
"rules": "required|regex:\/^(17705)$\/"
|
|
},
|
|
{
|
|
"name": "Game Name",
|
|
"description": "The name corresponding to the game to download and run using SRCDS.",
|
|
"env_variable": "SRCDS_GAME",
|
|
"default_value": "insurgency",
|
|
"user_viewable": 1,
|
|
"user_editable": 0,
|
|
"rules": "required|regex:\/^(insurgency)$\/"
|
|
},
|
|
{
|
|
"name": "Default Map",
|
|
"description": "The default map to use when starting the server.",
|
|
"env_variable": "SRCDS_MAP",
|
|
"default_value": "sinjar",
|
|
"user_viewable": 1,
|
|
"user_editable": 1,
|
|
"rules": "required|regex:\/^(\\w{1,20})$\/"
|
|
}
|
|
]
|
|
} |