rename stock-eggs to follower the underscore format
This commit is contained in:
		
							
								
								
									
										70
									
								
								stock_eggs/source-engine/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								stock_eggs/source-engine/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,70 @@ | ||||
| # Source-Engine | ||||
|  | ||||
| The Source Dedicated Server or SRCDS is a tool that runs the server component of a Source game without the client component. In other words, it simulates the game without drawing it. | ||||
|  | ||||
| This also covers games that are installed using the steamcmd utility. | ||||
|  | ||||
| ### Server Ports | ||||
| Many of these servers will require the steam query ports to be open for the server. | ||||
| The default steam query port is 27015 | ||||
|  | ||||
| ## ARK Survival Evolved | ||||
|  | ||||
| ### Port Requirements | ||||
| The ARK server requires 4 ports minimum. | ||||
|  | ||||
| | Port    | default | | ||||
| |---------|---------| | ||||
| | Game    | 7777    | | ||||
| | Game +1 | 7778    | | ||||
| | Query   | 27015   | | ||||
| | RCON    | 27020   | | ||||
|  | ||||
| Please note the server may not show up on steam game server lists due to this requirement if all ports are not set/added. | ||||
|  | ||||
| ## Counter Strike: Global Offensive | ||||
|  | ||||
| Counter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago. CS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.).  | ||||
|  | ||||
| ### Port Requirements | ||||
| |   Port   | default | | ||||
| |----------|---------| | ||||
| |   Game   | 27015   | | ||||
|  | ||||
| ## Custom Source Engine Game | ||||
|  | ||||
| This is a generic one size fit's all egg that supports srcds game servers. | ||||
|  | ||||
| This is not for games like Counter Strike 1.6 which is an HLDS title. See [HLDS server](game_eggs/steamcmd_servers/hlds_server) | ||||
|  | ||||
| ### Port Requirements | ||||
| |   Port   | default | | ||||
| |----------|---------| | ||||
| |   Game   | 27015   | | ||||
|  | ||||
| ## Garry's Mod | ||||
|  | ||||
| Garry's Mod is a physics sandbox. There aren't any predefined aims or goals. We give you the tools and leave you to play.  | ||||
|  | ||||
| ### Port Requirements | ||||
| |   Port   | default | | ||||
| |----------|---------| | ||||
| |   Game   | 27015   | | ||||
|  | ||||
| ## Insurgency | ||||
|  | ||||
| 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.  | ||||
|  | ||||
| ### Port Requirements | ||||
| |   Port   | default | | ||||
| |----------|---------| | ||||
| |   Game   | 27015   | | ||||
|  | ||||
| ## Team Fortress 2 | ||||
|  | ||||
| Nine distinct classes provide a broad range of tactical abilities and personalities. Constantly updated with new game modes, maps, equipment and, most importantly, hats! | ||||
|  | ||||
| ### Port Requirements | ||||
| |   Port   | default | | ||||
| |----------|---------| | ||||
| |   Game   | 27015   | | ||||
							
								
								
									
										117
									
								
								stock_eggs/source-engine/egg-ark--survival-evolved.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								stock_eggs/source-engine/egg-ark--survival-evolved.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,117 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-19T23:29:06+00:00", | ||||
|     "name": "Ark: Survival Evolved", | ||||
|     "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\/parkervcp\/pterodactyl-images:debian_source", | ||||
|     "startup": "rmv() { echo -e \"stoppping server\"; rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c saveworld && rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c DoExit; }; trap rmv 15; cd ShooterGame\/Binaries\/Linux && .\/ShooterGameServer {{SERVER_MAP}}?listen?SessionName=\"{{SESSION_NAME}}\"?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?RCONPort={{RCON_PORT}}?QueryPort={{QUERY_PORT}}?RCONEnabled={{ENABLE_RCON}}$( [ \"$BATTLE_EYE\" == \"0\" ] || printf %s '?-NoBattlEye' ) -server -log & until echo \"waiting for rcon connection...\"; rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD}; do sleep 5; done", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"Waiting commands for 127.0.0.1:\",\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# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ubuntu:18.04'\r\napt -y update\r\napt -y --no-install-recommends --no-install-suggests install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\n\r\nmkdir -p \/mnt\/server\/Engine\/Binaries\/ThirdParty\/SteamCMD\/Linux\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## create a symbolic link for loading mods\r\ncd \/mnt\/server\/Engine\/Binaries\/ThirdParty\/SteamCMD\/Linux\r\nln -sf ..\/..\/..\/..\/..\/Steam\/steamapps steamapps\r\ncd \/mnt\/server", | ||||
|             "container": "debian:buster-slim", | ||||
|             "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": true, | ||||
|             "user_editable": true, | ||||
|             "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": "PleaseChangeMe", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|alpha_dash|between:1,100" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Map", | ||||
|             "description": "Available Maps: TheIsland, TheCenter, Ragnarok, ScorchedEarth_P, Aberration_P, Extinction, Valguero_P, Genesis", | ||||
|             "env_variable": "SERVER_MAP", | ||||
|             "default_value": "TheIsland", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "App ID", | ||||
|             "description": "ARK steam app id for auto updates. Leave blank to avoid auto update.", | ||||
|             "env_variable": "SRCDS_APPID", | ||||
|             "default_value": "376030", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "nullable|numeric" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Name", | ||||
|             "description": "ARK server name", | ||||
|             "env_variable": "SESSION_NAME", | ||||
|             "default_value": "A Pterodactyl Hosted ARK Server", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:128" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Use Rcon", | ||||
|             "description": "Enable or disable rcon system. (true or false)\r\n\r\nDefault True for the console to work.", | ||||
|             "env_variable": "ENABLE_RCON", | ||||
|             "default_value": "True", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|in:True,False" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Rcon Port", | ||||
|             "description": "ARK rcon port used by rcon tools.", | ||||
|             "env_variable": "RCON_PORT", | ||||
|             "default_value": "27020", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|numeric" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Query Port", | ||||
|             "description": "ARK query port used by steam server browser and ark client server browser.", | ||||
|             "env_variable": "QUERY_PORT", | ||||
|             "default_value": "27015", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|numeric" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Auto-update server", | ||||
|             "description": "This is to enable auto-updating for servers.\r\n\r\nDefault is 0. Set to 1 to update", | ||||
|             "env_variable": "AUTO_UPDATE", | ||||
|             "default_value": "0", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Ballte Eye", | ||||
|             "description": "Enable BattleEye\r\n\r\n0 to disable\r\n1 to enable\r\n\r\ndefault=\"1\"", | ||||
|             "env_variable": "BATTLE_EYE", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| @@ -0,0 +1,54 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-19T23:29:57+00:00", | ||||
|     "name": "Counter-Strike: Global Offensive", | ||||
|     "author": "support@pterodactyl.io", | ||||
|     "description": "Counter-Strike: Global Offensive is a multiplayer first-person shooter video game developed by Hidden Path Entertainment and Valve Corporation.", | ||||
|     "image": "quay.io\/pterodactyl\/core:source", | ||||
|     "startup": ".\/srcds_run -game csgo -console -port {{SERVER_PORT}} +ip 0.0.0.0 +map {{SRCDS_MAP}} -strictportbind -norestart +sv_setsteamaccount {{STEAM_ACC}}", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"Connection to Steam servers successful\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "quit" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ubuntu:18.04'\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so", | ||||
|             "container": "ubuntu:18.04", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Map", | ||||
|             "description": "The default map for the server.", | ||||
|             "env_variable": "SRCDS_MAP", | ||||
|             "default_value": "de_dust2", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|alpha_dash" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Steam Account Token", | ||||
|             "description": "The Steam Account Token required for the server to be displayed publicly.", | ||||
|             "env_variable": "STEAM_ACC", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|alpha_num|size:32" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Source AppID", | ||||
|             "description": "Required for game to update on server restart. Do not modify this.", | ||||
|             "env_variable": "SRCDS_APPID", | ||||
|             "default_value": "740", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										54
									
								
								stock_eggs/source-engine/egg-custom-source-engine-game.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								stock_eggs/source-engine/egg-custom-source-engine-game.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-19T23:33:52+00:00", | ||||
|     "name": "Custom Source Engine Game", | ||||
|     "author": "support@pterodactyl.io", | ||||
|     "description": "This option allows modifying the startup arguments and other details to run a custom SRCDS based game on the panel.", | ||||
|     "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": "{\r\n    \"done\": \"gameserver Steam ID\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "quit" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'debian:buster-slim'\r\n\r\n##\r\n#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id ffound here - https:\/\/developer.valvesoftware.com\/wiki\/Dedicated_Servers_List\r\n# EXTRA_FLAGS - when a server has extra glas for things like beta installs or updates.\r\n#\r\n##\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so", | ||||
|             "container": "debian:buster-slim", | ||||
|             "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": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|numeric|digits_between:1,6" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Game Name", | ||||
|             "description": "The name corresponding to the game to download and run using SRCDS.", | ||||
|             "env_variable": "SRCDS_GAME", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|alpha_dash|between:1,100" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Map", | ||||
|             "description": "The default map for the server.", | ||||
|             "env_variable": "SRCDS_MAP", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|alpha_dash" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										90
									
								
								stock_eggs/source-engine/egg-garrys-mod.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										90
									
								
								stock_eggs/source-engine/egg-garrys-mod.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,90 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-19T23:34:44+00:00", | ||||
|     "name": "Garrys Mod", | ||||
|     "author": "support@pterodactyl.io", | ||||
|     "description": "Garrys Mod, is a sandbox physics game created by Garry Newman, and developed by his company, Facepunch Studios.", | ||||
|     "image": "quay.io\/pterodactyl\/core:source", | ||||
|     "startup": ".\/srcds_run -game garrysmod -console -port {{SERVER_PORT}} +ip 0.0.0.0 +host_workshop_collection {{WORKSHOP_ID}} +map {{SRCDS_MAP}} +gamemode {{GAMEMODE}} -strictportbind -norestart +sv_setsteamaccount {{STEAM_ACC}} +maxplayers {{MAX_PLAYERS}}  -tickrate {{TICKRATE}}", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"gameserver Steam ID\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "quit" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'debian:buster-slim'\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n# Creating needed default files for the game\r\ncd \/mnt\/server\/garrysmod\/lua\/autorun\/server\r\necho '\r\n-- Docs: https:\/\/wiki.facepunch.com\/gmod\/resource.AddWorkshop\r\n-- Place the ID of the workshop addon you want to be downloaded to people who join your server, not the collection ID\r\n-- Use https:\/\/beta.configcreator.com\/create\/gmod\/resources.lua to easily create a list based on your collection ID\r\n\r\nresource.AddWorkshop( \"\" )\r\n' > workshop.lua\r\n\r\ncd \/mnt\/server\/garrysmod\/cfg\r\necho '\r\n\/\/ Please do not set RCon in here, use the startup parameters.\r\n\r\nhostname\t\t\"New Gmod Server\"\r\nsv_password\t\t\"\"\r\nsv_loadingurl   \"\"\r\n\r\n\/\/ Steam Server List Settings\r\nsv_region \"255\"\r\nsv_lan \"0\"\r\nsv_max_queries_sec_global \"30000\"\r\nsv_max_queries_window \"45\"\r\nsv_max_queries_sec \"5\"\r\n\r\n\/\/ Server Limits\r\nsbox_maxprops\t\t100\r\nsbox_maxragdolls\t5\r\nsbox_maxnpcs\t\t10\r\nsbox_maxballoons\t10\r\nsbox_maxeffects\t\t10\r\nsbox_maxdynamite\t10\r\nsbox_maxlamps\t\t10\r\nsbox_maxthrusters\t10\r\nsbox_maxwheels\t\t10\r\nsbox_maxhoverballs\t10\r\nsbox_maxvehicles\t20\r\nsbox_maxbuttons\t\t10\r\nsbox_maxsents\t\t20\r\nsbox_maxemitters\t5\r\nsbox_godmode\t\t0\r\nsbox_noclip\t\t    0\r\n\r\n\/\/ Network Settings - Please keep these set to default.\r\n\r\nsv_minrate\t\t75000\r\nsv_maxrate\t\t0\r\ngmod_physiterations\t2\r\nnet_splitpacket_maxrate\t45000\r\ndecalfrequency\t\t12 \r\n\r\n\/\/ Execute Ban Files - Please do not edit\r\nexec banned_ip.cfg \r\nexec banned_user.cfg \r\n\r\n\/\/ Add custom lines under here\r\n' > server.cfg", | ||||
|             "container": "debian:buster-slim", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Map", | ||||
|             "description": "The default map for the server.", | ||||
|             "env_variable": "SRCDS_MAP", | ||||
|             "default_value": "gm_flatgrass", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|alpha_dash" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Steam Account Token", | ||||
|             "description": "The Steam Account Token required for the server to be displayed publicly.", | ||||
|             "env_variable": "STEAM_ACC", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string|alpha_num|size:32" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Source AppID", | ||||
|             "description": "Required for game to update on server restart. Do not modify this.", | ||||
|             "env_variable": "SRCDS_APPID", | ||||
|             "default_value": "4020", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Workshop ID", | ||||
|             "description": "The ID of your workshop collection (the numbers at the end of the URL)", | ||||
|             "env_variable": "WORKSHOP_ID", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|integer" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Gamemode", | ||||
|             "description": "The gamemode of your server.", | ||||
|             "env_variable": "GAMEMODE", | ||||
|             "default_value": "sandbox", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Max Players", | ||||
|             "description": "The maximum amount of players allowed on your game server.", | ||||
|             "env_variable": "MAX_PLAYERS", | ||||
|             "default_value": "32", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|integer|max:128" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Tickrate", | ||||
|             "description": "The tickrate defines how fast the server will update each entities location.", | ||||
|             "env_variable": "TICKRATE", | ||||
|             "default_value": "22", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|integer|max:100" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										54
									
								
								stock_eggs/source-engine/egg-insurgency.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								stock_eggs/source-engine/egg-insurgency.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-27T02:39:14+00: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 -workshop -secure", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"gameserver Steam ID\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "quit" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'debian:buster-slim'\r\n\r\n##\r\n#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id ffound here - https:\/\/developer.valvesoftware.com\/wiki\/Dedicated_Servers_List\r\n# EXTRA_FLAGS - when a server has extra glas for things like beta installs or updates.\r\n#\r\n##\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so", | ||||
|             "container": "debian:buster-slim", | ||||
|             "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": "237410", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|regex:\/^(237410)$\/" | ||||
|         }, | ||||
|         { | ||||
|             "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": true, | ||||
|             "user_editable": false, | ||||
|             "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": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|regex:\/^(\\w{1,20})$\/" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										54
									
								
								stock_eggs/source-engine/egg-team-fortress2.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								stock_eggs/source-engine/egg-team-fortress2.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-10-19T23:36:44+00:00", | ||||
|     "name": "Team Fortress 2", | ||||
|     "author": "support@pterodactyl.io", | ||||
|     "description": "Team Fortress 2 is a team-based first-person shooter multiplayer video game developed and published by Valve Corporation. It is the sequel to the 1996 mod Team Fortress for Quake and its 1999 remake.", | ||||
|     "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": "{\r\n    \"done\": \"gameserver Steam ID\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "quit" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'debian:buster-slim'\r\n\r\n##\r\n#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id ffound here - https:\/\/developer.valvesoftware.com\/wiki\/Dedicated_Servers_List\r\n# EXTRA_FLAGS - when a server has extra glas for things like beta installs or updates.\r\n#\r\n##\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\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\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so", | ||||
|             "container": "debian:buster-slim", | ||||
|             "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": "232250", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|regex:\/^(232250)$\/" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Game Name", | ||||
|             "description": "The name corresponding to the game to download and run using SRCDS.", | ||||
|             "env_variable": "SRCDS_GAME", | ||||
|             "default_value": "tf", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|regex:\/^(tf)$\/" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Default Map", | ||||
|             "description": "The default map to use when starting the server.", | ||||
|             "env_variable": "SRCDS_MAP", | ||||
|             "default_value": "cp_dustbowl", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|regex:\/^(\\w{1,20})$\/" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user