mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-11-04 02:48:07 +00:00 
			
		
		
		
	ragemp cleanup
This commit is contained in:
		
							parent
							
								
									220757abfa
								
							
						
					
					
						commit
						c0566fe4f6
					
				@ -1,9 +1,10 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "announce": true,
 | 
					    "announce": false,
 | 
				
			||||||
    "bind": "0.0.0.0",
 | 
					    "bind": "0.0.0.0",
 | 
				
			||||||
 | 
					    "csharp": "disabled",
 | 
				
			||||||
    "gamemode": "freeroam",
 | 
					    "gamemode": "freeroam",
 | 
				
			||||||
 | 
					    "maxplayers": 50,
 | 
				
			||||||
    "name": "RAGE:MP Unofficial server",
 | 
					    "name": "RAGE:MP Unofficial server",
 | 
				
			||||||
    "maxplayers": 100,
 | 
					    "port": 25565,
 | 
				
			||||||
    "port": 26011,
 | 
					    "stream-distance": 500
 | 
				
			||||||
    "streamdistance": 500
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -1,29 +1,29 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
 | 
					    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
 | 
				
			||||||
    "meta": {
 | 
					    "meta": {
 | 
				
			||||||
        "version": "PTDL_v1",
 | 
					        "version": "PTDL_v2",
 | 
				
			||||||
        "update_url": null
 | 
					        "update_url": null
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "exported_at": "2021-07-02T03:51:58+03:00",
 | 
					    "exported_at": "2022-12-11T17:31:26+01:00",
 | 
				
			||||||
    "name": "Rage.MP",
 | 
					    "name": "Rage.MP",
 | 
				
			||||||
    "author": "noreply.waypointhosting@gmail.com",
 | 
					    "author": "noreply.waypointhosting@gmail.com",
 | 
				
			||||||
    "description": "https:\/\/rage.mp\/\r\n\r\nModified to work with the latest version of RAGE:MP\r\nWill automatically install linux bridge.\r\n**This 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\nModified to work with the latest version of RAGE:MP\r\nWill automatically install linux bridge.\r\n**This server requires 2 ports to be added for the server. the main port and the next (port+1) as ports for the server.",
 | 
				
			||||||
    "features": null,
 | 
					    "features": null,
 | 
				
			||||||
    "images": [
 | 
					    "docker_images": {
 | 
				
			||||||
        "quay.io\/parkervcp\/pterodactyl-images:debian_dotnet"
 | 
					        "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
 | 
				
			||||||
    ],
 | 
					    },
 | 
				
			||||||
    "file_denylist": [],
 | 
					    "file_denylist": [],
 | 
				
			||||||
    "startup": ".\/ragemp-server",
 | 
					    "startup": ".\/ragemp-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            \"port\": \"{{server.build.default.port}}\",\r\n            \"bind\":\"0.0.0.0\",\r\n            \"name\": \"{{server.build.env.SERVER_NAME}}\",\r\n            \"maxplayers\": \"{{server.build.env.MAX_PLAYERS}}\"\r\n        }\r\n    }\r\n}",
 | 
				
			||||||
        "startup": "{\r\n    \"done\": \"The server is ready to accept connections\"\r\n}",
 | 
					        "startup": "{\r\n    \"done\": \"The server is ready to accept connections\"\r\n}",
 | 
				
			||||||
        "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}",
 | 
					        "logs": "{}",
 | 
				
			||||||
        "stop": "^X"
 | 
					        "stop": "^X"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "installation": {
 | 
					        "installation": {
 | 
				
			||||||
            "script": "apt update\r\napt -y install curl tar git wget\r\n\r\ncd \/mnt\/server\r\n\r\necho \"Downloading rage.mp\"\r\ncurl -sSL -o linux_x64.tar.gz https:\/\/cdn.rage.mp\/updater\/10_mNwuchuQ4ktWbR8d2N5jUzRt\/server-files\/linux_x64.tar.gz\r\n\r\ntar -xzvf linux_x64.tar.gz --strip 1 -C \/mnt\/server\r\n\r\nrm linux_x64.tar.gz\r\n\r\nchmod +x .\/ragemp-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\/game_eggs\/gta\/ragemp\/conf.json >> conf.json\r\nfi\r\n\r\necho \"install complete\"\r\n\r\nexit 0",
 | 
					            "script": "#!\/bin\/bash\r\n\r\nmkdir -p \/mnt\/server\/tmp\r\ncd \/mnt\/server\r\n\r\nrm -rf bin\/\r\nrm -rf dotnet\/\r\nrm ragemp-server\r\n\r\ncd \/mnt\/server\/tmp\r\necho \"Downloading rage.mp\"\r\ncurl -sSL -o linux_x64.tar.gz https:\/\/cdn.rage.mp\/updater\/prerelease\/server-files\/linux_x64.tar.gz\r\ntar -xzvf linux_x64.tar.gz\r\nrm linux_x64.tar.gz\r\ncd \/mnt\/server\/tmp\/ragemp-srv\/\r\nmv * \/mnt\/server\r\n\r\ncd \/mnt\/server\r\nchmod +x .\/ragemp-server\r\nrm -rf \/mnt\/server\/tmp\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\/game_eggs\/gta\/ragemp\/conf.json >> conf.json\r\nfi\r\n\r\necho \"install complete\"\r\n\r\nexit 0",
 | 
				
			||||||
            "container": "debian:stable-slim",
 | 
					            "container": "ghcr.io\/parkervcp\/installers:debian",
 | 
				
			||||||
            "entrypoint": "bash"
 | 
					            "entrypoint": "bash"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -35,7 +35,8 @@
 | 
				
			|||||||
            "default_value": "RAGE:MP Unofficial server",
 | 
					            "default_value": "RAGE:MP Unofficial server",
 | 
				
			||||||
            "user_viewable": true,
 | 
					            "user_viewable": true,
 | 
				
			||||||
            "user_editable": true,
 | 
					            "user_editable": true,
 | 
				
			||||||
            "rules": "required|string|max:64"
 | 
					            "rules": "required|string|max:64",
 | 
				
			||||||
 | 
					            "field_type": "text"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "Max Players",
 | 
					            "name": "Max Players",
 | 
				
			||||||
@ -44,16 +45,8 @@
 | 
				
			|||||||
            "default_value": "50",
 | 
					            "default_value": "50",
 | 
				
			||||||
            "user_viewable": true,
 | 
					            "user_viewable": true,
 | 
				
			||||||
            "user_editable": false,
 | 
					            "user_editable": false,
 | 
				
			||||||
            "rules": "required|integer|between:1,10000"
 | 
					            "rules": "required|integer|between:1,100",
 | 
				
			||||||
        },
 | 
					            "field_type": "text"
 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            "name": "Announce",
 | 
					 | 
				
			||||||
            "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",
 | 
					 | 
				
			||||||
            "default_value": "0",
 | 
					 | 
				
			||||||
            "user_viewable": true,
 | 
					 | 
				
			||||||
            "user_editable": true,
 | 
					 | 
				
			||||||
            "rules": "required|boolean"
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user