mirror of
https://github.com/parkervcp/eggs.git
synced 2025-01-25 01:22:54 +08:00
RageMP updates
Added variables Corrected startup config Fixed conf layout README updated
This commit is contained in:
parent
8fab794037
commit
4854011479
@ -1,11 +1,9 @@
|
|||||||
{
|
{
|
||||||
{
|
"announce": false,
|
||||||
"announce": false,
|
"bind": "0.0.0.0",
|
||||||
"bind": "0.0.0.0",
|
"gamemode": "freeroam",
|
||||||
"gamemode": "freeroam",
|
"name": "RAGE:MP Unofficial server",
|
||||||
"name": "RAGE:MP Unofficial server",
|
"maxplayers": 100,
|
||||||
"maxplayers": 100,
|
"port": 26011,
|
||||||
"port": 22005,
|
"streamdistance": 500
|
||||||
"streamdistance": 500.0
|
}
|
||||||
}
|
|
||||||
}
|
|
@ -3,24 +3,52 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"version": "PTDL_v1"
|
"version": "PTDL_v1"
|
||||||
},
|
},
|
||||||
"exported_at": "2018-05-12T21:29:00+02:00",
|
"exported_at": "2018-06-03T00:48:50-04:00",
|
||||||
"name": "Rage.MP",
|
"name": "Rage.MP",
|
||||||
"author": "noreply.waypointhosting@gmail.com",
|
"author": "noreply.waypointhosting@gmail.com",
|
||||||
"description": "https:\/\/rage.mp\/",
|
"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\/pterodactyl\/core:glibc",
|
||||||
"startup": ".\/server",
|
"startup": ".\/server",
|
||||||
"config": {
|
"config": {
|
||||||
"files": "{\r\n \"conf.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\"\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}",
|
||||||
"startup": "{}",
|
"startup": "{\r\n \"done\": \"Started HTTP server\"\r\n}",
|
||||||
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||||
"stop": "^C"
|
"stop": "^C"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"installation": {
|
"installation": {
|
||||||
"script": "apt update\r\napt -y install curl tar libstdc++6\r\n\r\ncd \/mnt\/server\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\nrm ragemp-srv.tar.gz\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\/LordDamionDevil\/ragemppterodactyl\/master\/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 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",
|
||||||
"container": "ubuntu:16.04",
|
"container": "ubuntu:16.04",
|
||||||
"entrypoint": "bash"
|
"entrypoint": "bash"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variables": []
|
"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",
|
||||||
|
"user_viewable": 1,
|
||||||
|
"user_editable": 1,
|
||||||
|
"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",
|
||||||
|
"user_viewable": 1,
|
||||||
|
"user_editable": 0,
|
||||||
|
"rules": "required|integer|between:1,100"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Announce",
|
||||||
|
"description": "Announce to the master server so people can see you in their server browser.",
|
||||||
|
"env_variable": "ANNOUNCE",
|
||||||
|
"default_value": "false",
|
||||||
|
"user_viewable": 1,
|
||||||
|
"user_editable": 1,
|
||||||
|
"rules": "required|boolean"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -15,6 +15,8 @@ If you are submitting PR's try and keep names and titles the same.
|
|||||||
## Game Eggs
|
## Game Eggs
|
||||||
|
|
||||||
### GTA
|
### GTA
|
||||||
|
#### GTA V
|
||||||
|
|
||||||
#### FiveM
|
#### FiveM
|
||||||
The [FiveM](https://fivem.net/) GTA 5 dedicated server
|
The [FiveM](https://fivem.net/) GTA 5 dedicated server
|
||||||
- Only installs latest version versions are no selectable.
|
- Only installs latest version versions are no selectable.
|
||||||
@ -22,6 +24,8 @@ The [FiveM](https://fivem.net/) GTA 5 dedicated server
|
|||||||
#### Rage-MP
|
#### Rage-MP
|
||||||
The [Rage-MP](https://rage.mp/) GTA 5 dedicated server
|
The [Rage-MP](https://rage.mp/) GTA 5 dedicated server
|
||||||
|
|
||||||
|
#### San Andreas
|
||||||
|
|
||||||
#### SA:MP
|
#### SA:MP
|
||||||
The [SA:MP](https://www.sa-mp.com/) GTA San Andreas dedicated server
|
The [SA:MP](https://www.sa-mp.com/) GTA San Andreas dedicated server
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user