commit
						a8e8252f5b
					
				@ -3,11 +3,11 @@
 | 
				
			|||||||
    "meta": {
 | 
					    "meta": {
 | 
				
			||||||
        "version": "PTDL_v1"
 | 
					        "version": "PTDL_v1"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "exported_at": "2018-11-18T22:56:21-05:00",
 | 
					    "exported_at": "2019-09-04T17:31:10-04:00",
 | 
				
			||||||
    "name": "Rage.MP",
 | 
					    "name": "Rage.MP",
 | 
				
			||||||
    "author": "noreply.waypointhosting@gmail.com",
 | 
					    "author": "noreply.waypointhosting@gmail.com",
 | 
				
			||||||
    "description": "https:\/\/rage.mp\/\r\n\r\nThis server requires 2 ports to be added for the server. the main port and the next (port+1) as ports for the server.",
 | 
					    "description": "https:\/\/rage.mp\/\r\n\r\nThis server requires 2 ports to be added for the server. the main port and the next (port+1) as ports for the server.",
 | 
				
			||||||
    "image": "quay.io\/pterodactyl\/core:glibc",
 | 
					    "image": "quay.io\/parkervcp\/pterodactyl-images:base_debian",
 | 
				
			||||||
    "startup": ".\/server",
 | 
					    "startup": ".\/server",
 | 
				
			||||||
    "config": {
 | 
					    "config": {
 | 
				
			||||||
        "files": "{\r\n    \"conf.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"bind\": \"0.0.0.0\",\r\n            \"port\": \"{{server.build.default.port}}\",\r\n            \"name\": \"{{server.build.env.SERVER_NAME}}\",\r\n            \"maxplayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n            \"announce\": \"{{server.build.env.ANNOUNCE}}\"\r\n        }\r\n    }\r\n}",
 | 
					        "files": "{\r\n    \"conf.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"bind\": \"0.0.0.0\",\r\n            \"port\": \"{{server.build.default.port}}\",\r\n            \"name\": \"{{server.build.env.SERVER_NAME}}\",\r\n            \"maxplayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n            \"announce\": \"{{server.build.env.ANNOUNCE}}\"\r\n        }\r\n    }\r\n}",
 | 
				
			||||||
@ -17,8 +17,8 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "installation": {
 | 
					        "installation": {
 | 
				
			||||||
            "script": "apt update\r\napt -y install curl tar libstdc++6\r\n\r\ncd \/mnt\/server\r\n\r\necho \"Downloading rage.mp\"\r\ncurl -sSL -o ragemp-srv.tar.gz https:\/\/cdn.rage.mp\/lin\/ragemp-srv.tar.gz\r\n\r\ntar -xzvf ragemp-srv.tar.gz --strip 1 -C \/mnt\/server\r\n\r\nrm ragemp-srv.tar.gz\r\n\r\nchmod +x .\/server\r\n\r\nif [ -e conf.json ]; then\r\n    echo \"server config file exists\"\r\nelse\r\n    echo \"Downloading default rage.mp config\"\r\n    curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/gta\/ragemp\/conf.json >> conf.json\r\nfi\r\n\r\necho \"install complete\"\r\n\r\nexit 0",
 | 
					            "script": "apt update\r\napt -y install curl tar\r\n\r\ncd \/mnt\/server\r\n\r\necho \"Downloading rage.mp\"\r\ncurl -sSL -o ragemp-srv.tar.gz https:\/\/cdn.rage.mp\/lin\/ragemp-srv.tar.gz\r\n\r\ntar -xzvf ragemp-srv.tar.gz --strip 1 -C \/mnt\/server\r\n\r\nrm ragemp-srv.tar.gz\r\n\r\nchmod +x .\/server\r\n\r\nif [ -e conf.json ]; then\r\n    echo \"server config file exists\"\r\nelse\r\n    echo \"Downloading default rage.mp config\"\r\n    curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/GTA\/RageMP\/conf.json >> conf.json\r\nfi\r\n\r\necho \"install complete\"\r\n\r\nexit 0",
 | 
				
			||||||
            "container": "ubuntu:16.04",
 | 
					            "container": "debian:stable-slim",
 | 
				
			||||||
            "entrypoint": "bash"
 | 
					            "entrypoint": "bash"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -43,9 +43,9 @@
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "Announce",
 | 
					            "name": "Announce",
 | 
				
			||||||
            "description": "Announce to the master server so people can see you in their server browser.",
 | 
					            "description": "Announce to the master server so people can see you in their server browser.\r\n\r\nThis needs to be a 0 (false) or 1 (true) due to weird boolean parsing.",
 | 
				
			||||||
            "env_variable": "ANNOUNCE",
 | 
					            "env_variable": "ANNOUNCE",
 | 
				
			||||||
            "default_value": "true",
 | 
					            "default_value": "0",
 | 
				
			||||||
            "user_viewable": 1,
 | 
					            "user_viewable": 1,
 | 
				
			||||||
            "user_editable": 1,
 | 
					            "user_editable": 1,
 | 
				
			||||||
            "rules": "required|boolean"
 | 
					            "rules": "required|boolean"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user