mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-10-31 17:08:06 +00:00 
			
		
		
		
	
						commit
						ffb350fb7d
					
				| @ -98,6 +98,12 @@ If you are reading this it looks like you are looking to add an egg to your serv | ||||
|   * [Travertine](/minecraft/proxy/travertine/) Java | ||||
|   * [Velocity](/minecraft/proxy/velocity/) | ||||
| 
 | ||||
| [OpenRA](/openra/) | ||||
| * [OpenRA Dune2000](/openra/openra_dune2000) | ||||
| * [OpenRA Red Alert](/openra/openra_red_alert) | ||||
| * [OpenRA Tiberian Dawn](/openra/openra_tiberian_dawn) | ||||
| 
 | ||||
| 
 | ||||
| [Red Dead Redemption](/rdr/) | ||||
| * [RedM](/rdr/redm/) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										5
									
								
								openra/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								openra/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| # OpenRA Servers | ||||
| 
 | ||||
| OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games.  | ||||
| We have developed a flexible open source game engine (the OpenRA engine) that provides  | ||||
| a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods). | ||||
							
								
								
									
										20
									
								
								openra/openra_dune2000/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								openra/openra_dune2000/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| # OpenRA Dune2000 | ||||
| 
 | ||||
| #### The classic command & conquer Server | ||||
| 
 | ||||
| 
 | ||||
| #### from the developers | ||||
| OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods). | ||||
| 
 | ||||
| This means that OpenRA is not restricted by the technical limitations of the original closed-source games: it includes native support for modern operating systems and screen resolutions (including Windows 10, macOS, and most Linux distros) without relying on emulation or binary hacks, and features integrated online multiplayer. | ||||
| 
 | ||||
| Make sure to checkout their [Home Page](https://openra.net). | ||||
| 
 | ||||
| ### Server Ports | ||||
| OpenRA requires a single port   | ||||
| 
 | ||||
| | Port    | default | | ||||
| |---------|---------| | ||||
| | Game    | 5500    | | ||||
| 
 | ||||
| #### Mods/Plugins may require ports to be added to the server. | ||||
							
								
								
									
										117
									
								
								openra/openra_dune2000/egg-open-r-a--dune2000.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								openra/openra_dune2000/egg-open-r-a--dune2000.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-09-13T17:40:31+02:00", | ||||
|     "name": "OpenRA - Dune2000", | ||||
|     "author": "patz.michael@gmail.com", | ||||
|     "description": "OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods).", | ||||
|     "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", | ||||
|     "startup": ".\/squashfs-root\/AppRun --server Server.Name=\"{{SERVER_NAME}}\" Server.ListenPort={{SERVER_PORT}} Server.AdvertiseOnline={{PUBLIC}} Server.EnableSingleplayer={{SINGLEPLAYER}} Server.Password=\"{{PASSWORD}}\" Server.EnableGeoIP={{GEOIP}} Server.ShareAnonymizedIPs={{ANONYMOUS}}", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"Master server communication established.\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": false,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# Vanilla Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n## install packages to get version and download links\r\napt update\r\napt install -y curl wget file jq\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n    echo -e \"using anon api call\"\r\nelse\r\n    echo -e \"user and oauth token set\"\r\n    alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n    DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n    if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n        DOWNLOAD_LINK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n    else\r\n        echo -e \"defaulting to latest release\"\r\n        DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n    fi\r\nfi\r\n\r\nwget $DOWNLOAD_LINK\r\n\r\n#wget https:\/\/github.com\/OpenRA\/OpenRA\/releases\/download\/release-20200503\/OpenRA-Red-Alert-x86_64.AppImage\r\nchmod +x $MATCH\r\n.\/$MATCH --appimage-extract\r\nrm $MATCH\r\nrm *.zsync\r\ncd squashfs-root\r\nchmod +x AppRun", | ||||
|             "container": "debian:buster-slim", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Server Name", | ||||
|             "description": "The Name of the Server", | ||||
|             "env_variable": "SERVER_NAME", | ||||
|             "default_value": "OpenRAServer", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Public Server", | ||||
|             "description": "Shall this server be public", | ||||
|             "env_variable": "PUBLIC", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Enable Singleplayer", | ||||
|             "description": "Enable Singleplayer ?", | ||||
|             "env_variable": "SINGLEPLAYER", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Require Authentification", | ||||
|             "description": "Enable Authentification", | ||||
|             "env_variable": "AUTH", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "PASSWORD", | ||||
|             "description": "Server Password", | ||||
|             "env_variable": "PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable:string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GEOIP", | ||||
|             "description": "Enable GEOIP", | ||||
|             "env_variable": "GEOIP", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Anonymized IPs", | ||||
|             "description": "Hide IPs", | ||||
|             "env_variable": "ANONYMOUS", | ||||
|             "default_value": "true", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GITHUB_PACKAGE", | ||||
|             "description": "GITHUB_PACKAGE", | ||||
|             "env_variable": "GITHUB_PACKAGE", | ||||
|             "default_value": "OpenRA\/OpenRA", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "MATCH", | ||||
|             "description": "MATCH", | ||||
|             "env_variable": "MATCH", | ||||
|             "default_value": "OpenRA-Dune-2000-x86_64.AppImage", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:50" | ||||
|         }, | ||||
|         { | ||||
|             "name": "VERSION", | ||||
|             "description": "VERSION", | ||||
|             "env_variable": "VERSION", | ||||
|             "default_value": "latest", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										20
									
								
								openra/openra_red_alert/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								openra/openra_red_alert/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| # OpenRA | ||||
| 
 | ||||
| #### The classic command & conquer Server | ||||
| 
 | ||||
| 
 | ||||
| #### from the developers | ||||
| OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods). | ||||
| 
 | ||||
| This means that OpenRA is not restricted by the technical limitations of the original closed-source games: it includes native support for modern operating systems and screen resolutions (including Windows 10, macOS, and most Linux distros) without relying on emulation or binary hacks, and features integrated online multiplayer. | ||||
| 
 | ||||
| Make sure to checkout their [Home Page](https://openra.net). | ||||
| 
 | ||||
| ### Server Ports | ||||
| OpenRA requires a single port   | ||||
| 
 | ||||
| | Port    | default | | ||||
| |---------|---------| | ||||
| | Game    | 5500    | | ||||
| 
 | ||||
| #### Mods/Plugins may require ports to be added to the server. | ||||
							
								
								
									
										117
									
								
								openra/openra_red_alert/egg-open-r-a.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								openra/openra_red_alert/egg-open-r-a.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-09-13T17:40:21+02:00", | ||||
|     "name": "OpenRA", | ||||
|     "author": "patz.michael@gmail.com", | ||||
|     "description": "OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods).", | ||||
|     "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", | ||||
|     "startup": ".\/squashfs-root\/AppRun --server Server.Name=\"{{SERVER_NAME}}\" Server.ListenPort={{SERVER_PORT}} Server.AdvertiseOnline={{PUBLIC}} Server.EnableSingleplayer={{SINGLEPLAYER}} Server.Password=\"{{PASSWORD}}\" Server.EnableGeoIP={{GEOIP}} Server.ShareAnonymizedIPs={{ANONYMOUS}}", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"Master server communication established.\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": false,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# Vanilla Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n## install packages to get version and download links\r\napt update\r\napt install -y curl wget file jq\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n    echo -e \"using anon api call\"\r\nelse\r\n    echo -e \"user and oauth token set\"\r\n    alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n    DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n    if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n        DOWNLOAD_LINK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n    else\r\n        echo -e \"defaulting to latest release\"\r\n        DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n    fi\r\nfi\r\n\r\nwget $DOWNLOAD_LINK\r\n\r\n#wget https:\/\/github.com\/OpenRA\/OpenRA\/releases\/download\/release-20200503\/OpenRA-Red-Alert-x86_64.AppImage\r\nchmod +x $MATCH\r\n.\/$MATCH --appimage-extract\r\nrm $MATCH\r\nrm *.zsync\r\ncd squashfs-root\r\nchmod +x AppRun", | ||||
|             "container": "debian:buster-slim", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Server Name", | ||||
|             "description": "The Name of the Server", | ||||
|             "env_variable": "SERVER_NAME", | ||||
|             "default_value": "OpenRAServer", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Public Server", | ||||
|             "description": "Shall this server be public", | ||||
|             "env_variable": "PUBLIC", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Enable Singleplayer", | ||||
|             "description": "Enable Singleplayer ?", | ||||
|             "env_variable": "SINGLEPLAYER", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Require Authentification", | ||||
|             "description": "Enable Authentification", | ||||
|             "env_variable": "AUTH", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "PASSWORD", | ||||
|             "description": "Server Password", | ||||
|             "env_variable": "PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable:string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GEOIP", | ||||
|             "description": "Enable GEOIP", | ||||
|             "env_variable": "GEOIP", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Anonymized IPs", | ||||
|             "description": "Hide IPs", | ||||
|             "env_variable": "ANONYMOUS", | ||||
|             "default_value": "true", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GITHUB_PACKAGE", | ||||
|             "description": "GITHUB_PACKAGE", | ||||
|             "env_variable": "GITHUB_PACKAGE", | ||||
|             "default_value": "OpenRA\/OpenRA", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "MATCH", | ||||
|             "description": "MATCH", | ||||
|             "env_variable": "MATCH", | ||||
|             "default_value": "OpenRA-Red-Alert-x86_64.AppImage", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:50" | ||||
|         }, | ||||
|         { | ||||
|             "name": "VERSION", | ||||
|             "description": "VERSION", | ||||
|             "env_variable": "VERSION", | ||||
|             "default_value": "latest", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										20
									
								
								openra/openra_tiberian_dawn/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								openra/openra_tiberian_dawn/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| # OpenRA Tiberian Dawn | ||||
| 
 | ||||
| #### The classic command & conquer Server | ||||
| 
 | ||||
| 
 | ||||
| #### from the developers | ||||
| OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods). | ||||
| 
 | ||||
| This means that OpenRA is not restricted by the technical limitations of the original closed-source games: it includes native support for modern operating systems and screen resolutions (including Windows 10, macOS, and most Linux distros) without relying on emulation or binary hacks, and features integrated online multiplayer. | ||||
| 
 | ||||
| Make sure to checkout their [Home Page](https://openra.net). | ||||
| 
 | ||||
| ### Server Ports | ||||
| OpenRA requires a single port   | ||||
| 
 | ||||
| | Port    | default | | ||||
| |---------|---------| | ||||
| | Game    | 5500    | | ||||
| 
 | ||||
| #### Mods/Plugins may require ports to be added to the server. | ||||
							
								
								
									
										117
									
								
								openra/openra_tiberian_dawn/egg-open-r-a--tiberian-dawn.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								openra/openra_tiberian_dawn/egg-open-r-a--tiberian-dawn.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-09-13T17:40:41+02:00", | ||||
|     "name": "OpenRA - Tiberian Dawn", | ||||
|     "author": "patz.michael@gmail.com", | ||||
|     "description": "OpenRA is a project that recreates and modernizes the classic Command & Conquer real time strategy games. We have developed a flexible open source game engine (the OpenRA engine) that provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods).", | ||||
|     "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", | ||||
|     "startup": ".\/squashfs-root\/AppRun --server Server.Name=\"{{SERVER_NAME}}\" Server.ListenPort={{SERVER_PORT}} Server.AdvertiseOnline={{PUBLIC}} Server.EnableSingleplayer={{SINGLEPLAYER}} Server.Password=\"{{PASSWORD}}\" Server.EnableGeoIP={{GEOIP}} Server.ShareAnonymizedIPs={{ANONYMOUS}}", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"Master server communication established.\",\r\n    \"userInteraction\": []\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": false,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# Vanilla Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n## install packages to get version and download links\r\napt update\r\napt install -y curl wget file jq\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n    echo -e \"using anon api call\"\r\nelse\r\n    echo -e \"user and oauth token set\"\r\n    alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n    DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n    if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n        DOWNLOAD_LINK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n    else\r\n        echo -e \"defaulting to latest release\"\r\n        DOWNLOAD_LINK=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n    fi\r\nfi\r\n\r\nwget $DOWNLOAD_LINK\r\n\r\n#wget https:\/\/github.com\/OpenRA\/OpenRA\/releases\/download\/release-20200503\/OpenRA-Red-Alert-x86_64.AppImage\r\nchmod +x $MATCH\r\n.\/$MATCH --appimage-extract\r\nrm $MATCH\r\nrm *.zsync\r\ncd squashfs-root\r\nchmod +x AppRun", | ||||
|             "container": "debian:buster-slim", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Server Name", | ||||
|             "description": "The Name of the Server", | ||||
|             "env_variable": "SERVER_NAME", | ||||
|             "default_value": "OpenRAServer", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Public Server", | ||||
|             "description": "Shall this server be public", | ||||
|             "env_variable": "PUBLIC", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Enable Singleplayer", | ||||
|             "description": "Enable Singleplayer ?", | ||||
|             "env_variable": "SINGLEPLAYER", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Require Authentification", | ||||
|             "description": "Enable Authentification", | ||||
|             "env_variable": "AUTH", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "PASSWORD", | ||||
|             "description": "Server Password", | ||||
|             "env_variable": "PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable:string" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GEOIP", | ||||
|             "description": "Enable GEOIP", | ||||
|             "env_variable": "GEOIP", | ||||
|             "default_value": "false", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Anonymized IPs", | ||||
|             "description": "Hide IPs", | ||||
|             "env_variable": "ANONYMOUS", | ||||
|             "default_value": "true", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "GITHUB_PACKAGE", | ||||
|             "description": "GITHUB_PACKAGE", | ||||
|             "env_variable": "GITHUB_PACKAGE", | ||||
|             "default_value": "OpenRA\/OpenRA", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "MATCH", | ||||
|             "description": "MATCH", | ||||
|             "env_variable": "MATCH", | ||||
|             "default_value": "OpenRA-Tiberian-Dawn-x86_64.AppImage", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:50" | ||||
|         }, | ||||
|         { | ||||
|             "name": "VERSION", | ||||
|             "description": "VERSION", | ||||
|             "env_variable": "VERSION", | ||||
|             "default_value": "latest", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user