2018-07-12 04:41:33 +08:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
2022-12-12 00:32:01 +08:00
"version" : "PTDL_v2" ,
2021-04-28 09:46:49 +08:00
"update_url" : null
2018-07-12 04:41:33 +08:00
} ,
2022-12-12 00:32:01 +08:00
"exported_at" : "2022-12-11T17:31:26+01:00" ,
2020-04-22 23:57:26 +08:00
"name" : "Rage.MP" ,
2018-07-12 04:41:33 +08:00
"author" : "noreply.waypointhosting@gmail.com" ,
2020-04-22 23:51:16 +08:00
"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." ,
2021-04-28 09:46:49 +08:00
"features" : null ,
2022-12-12 00:32:01 +08:00
"docker_images" : {
"ghcr.io\/parkervcp\/yolks:debian" : "ghcr.io\/parkervcp\/yolks:debian"
} ,
2021-04-28 09:46:49 +08:00
"file_denylist" : [ ] ,
2021-04-08 08:25:40 +08:00
"startup" : ".\/ragemp-server" ,
2018-07-12 04:41:33 +08:00
"config" : {
2022-12-12 00:32:01 +08:00
"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}" ,
2021-04-28 09:46:49 +08:00
"startup" : "{\r\n \"done\": \"The server is ready to accept connections\"\r\n}" ,
2022-12-12 00:32:01 +08:00
"logs" : "{}" ,
2021-04-10 05:28:25 +08:00
"stop" : "^X"
2018-07-12 04:41:33 +08:00
} ,
"scripts" : {
"installation" : {
2022-12-12 00:32:01 +08:00
"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" : "ghcr.io\/parkervcp\/installers:debian" ,
2018-07-12 04:41:33 +08:00
"entrypoint" : "bash"
}
} ,
"variables" : [
{
"name" : "Server Name" ,
"description" : "Server name that will be displayed to the master server. (64 Char max)" ,
"env_variable" : "SERVER_NAME" ,
"default_value" : "RAGE:MP Unofficial server" ,
2021-04-28 09:46:49 +08:00
"user_viewable" : true ,
"user_editable" : true ,
2022-12-12 00:32:01 +08:00
"rules" : "required|string|max:64" ,
"field_type" : "text"
2018-07-12 04:41:33 +08:00
} ,
{
"name" : "Max Players" ,
"description" : "Maximum number of players your server will hold. (Max 100)" ,
"env_variable" : "MAX_PLAYERS" ,
"default_value" : "50" ,
2021-04-28 09:46:49 +08:00
"user_viewable" : true ,
"user_editable" : false ,
2022-12-12 00:32:01 +08:00
"rules" : "required|integer|between:1,100" ,
"field_type" : "text"
2018-07-12 04:41:33 +08:00
}
]
2021-04-28 09:46:49 +08:00
}