2018-07-11 22:41:33 +02:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
2021-04-28 03:46:49 +02:00
"version" : "PTDL_v1" ,
"update_url" : null
2018-07-11 22:41:33 +02:00
} ,
2021-04-28 03:46:49 +02:00
"exported_at" : "2021-04-28T01:34:21+00:00" ,
2020-04-22 17:57:26 +02:00
"name" : "Rage.MP" ,
2018-07-11 22:41:33 +02:00
"author" : "noreply.waypointhosting@gmail.com" ,
2020-04-22 17:51:16 +02: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 03:46:49 +02:00
"features" : null ,
"images" : [
"quay.io\/parkervcp\/pterodactyl-images:debian_dotnet"
] ,
"file_denylist" : [ ] ,
2021-04-08 02:25:40 +02:00
"startup" : ".\/ragemp-server" ,
2018-07-11 22:41:33 +02:00
"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}" ,
2021-04-28 03:46:49 +02:00
"startup" : "{\r\n \"done\": \"The server is ready to accept connections\"\r\n}" ,
2018-07-11 22:41:33 +02:00
"logs" : "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}" ,
2021-04-09 23:28:25 +02:00
"stop" : "^X"
2018-07-11 22:41:33 +02:00
} ,
"scripts" : {
"installation" : {
2021-04-08 02:25:40 +02:00
"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\/gta\/ragemp\/conf.json >> conf.json\r\nfi\r\n\r\necho \"install complete\"\r\n\r\nexit 0" ,
2019-09-04 23:11:14 +02:00
"container" : "debian:stable-slim" ,
2018-07-11 22:41:33 +02: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 03:46:49 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2018-07-11 22:41:33 +02:00
"rules" : "required|string|max:64"
} ,
{
"name" : "Max Players" ,
"description" : "Maximum number of players your server will hold. (Max 100)" ,
"env_variable" : "MAX_PLAYERS" ,
"default_value" : "50" ,
2021-04-28 03:46:49 +02:00
"user_viewable" : true ,
"user_editable" : false ,
2021-04-08 02:25:40 +02:00
"rules" : "required|integer|between:1,10000"
2018-07-11 22:41:33 +02:00
} ,
{
"name" : "Announce" ,
2019-09-04 23:32:04 +02:00
"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." ,
2018-07-11 22:41:33 +02:00
"env_variable" : "ANNOUNCE" ,
2019-09-04 23:11:14 +02:00
"default_value" : "0" ,
2021-04-28 03:46:49 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2018-07-11 22:41:33 +02:00
"rules" : "required|boolean"
}
]
2021-04-28 03:46:49 +02:00
}