Add files via upload
This commit is contained in:
		
							parent
							
								
									e964a03744
								
							
						
					
					
						commit
						61b17feaf4
					
				
							
								
								
									
										3
									
								
								gmod_rework/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								gmod_rework/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | # Garry's Mod egg | ||||||
|  | 
 | ||||||
|  | A copy of the one already available in Pterodacty with the addition of the "maxplayers" setting. | ||||||
							
								
								
									
										54
									
								
								gmod_rework/egg-garry-s-mod--reworked.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								gmod_rework/egg-garry-s-mod--reworked.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": "2018-03-10T13:48:24+01:00", | ||||||
|  |     "name": "Garry's Mod - Reworked", | ||||||
|  |     "author": "vilhelm@prytznet.se", | ||||||
|  |     "description": "Garry's 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 -maxplayers {{MAX_PLAYERS}} -port {{SERVER_PORT}} +ip 0.0.0.0 +map {{SRCDS_MAP}} -strictportbind -norestart +sv_setsteamaccount {{STEAM_ACC}}", | ||||||
|  |     "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# Garry's Mod 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\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.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 4020 +quit\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so", | ||||||
|  |             "container": "ubuntu:16.04", | ||||||
|  |             "entrypoint": "bash" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     "variables": [ | ||||||
|  |         { | ||||||
|  |             "name": "Map", | ||||||
|  |             "description": "The default map for the server.", | ||||||
|  |             "env_variable": "SRCDS_MAP", | ||||||
|  |             "default_value": "gm_flatgrass", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "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": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "rules": "required|string|alpha_num|size:32" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Player Slots", | ||||||
|  |             "description": "The amount of player slots on the server.", | ||||||
|  |             "env_variable": "MAX_PLAYERS", | ||||||
|  |             "default_value": "32", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "rules": "required|integer|max:128" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user