minecraft/GTA/FiveM/egg-five-m.json

55 lines
3.2 KiB
JSON
Raw Normal View History

2018-02-12 03:31:29 +01:00
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
2018-02-14 05:23:58 +01:00
"exported_at": "2018-02-13T23:23:06-05:00",
2018-02-16 05:31:37 +01:00
"name": "FiveM",
2018-02-12 03:31:29 +01:00
"author": "parker@parkervcp.com",
"description": "The FiveM multiplayer server on Pterodactyl.",
"image": "quay.io\/pterodactyl\/core:glibc",
2018-02-13 04:20:28 +01:00
"startup": ".\/cfx-server\/FXServer +exec server.cfg +set sv_licenseKey {{FIVEM_LICENSE}} +set citizen_dir \/home\/container\/cfx-server\/citizen",
2018-02-12 03:31:29 +01:00
"config": {
2018-02-14 05:23:58 +01:00
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"endpoint_add_tcp\": \"endpoint_add_tcp \\\"0.0.0.0:{{server.build.default.port}}\\\"\",\r\n \"endpoint_add_udp\": \"endpoint_add_udp \\\"0.0.0.0:{{server.build.default.port}}\\\"\",\r\n \"sv_hostname\": \"sv_hostname \\\"{{server.build.env.HOSTNAME}}\\\"\",\r\n \"sv_maxclients\": \"sv_maxclients {{server.build.env.MAX_CLIENTS}}\",\r\n \"sv_licenseKey\": \"sv_licenseKey {{server.build.env.FIVEM_LICENSE}}\"\r\n }\r\n }\r\n}",
2018-02-12 03:31:29 +01:00
"startup": "{\r\n \"done\": \"Server license key authentication succeeded. Welcome!\"\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
2018-02-14 05:23:58 +01:00
"script": "#!\/bin\/ash\r\n# FiveM Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\n## Only download if a path is provided, otherwise continue.\r\napk add openssl tar xz curl git --no-cache\r\n\r\ngit clone https:\/\/github.com\/citizenfx\/cfx-server-data.git \/mnt\/server\/\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_proot_linux\/master\/446-8a058b67e5f11677c380a330f677e768e2b2a705\/fx.tar.xz\r\n\r\ntar xf fx.tar.xz alpine\/opt\/\r\n\r\nmv alpine\/opt\/cfx-server\/ .\/\r\n\r\nchmod +x .\/cfx-server\/FXServer\r\n\r\nrm -rf fx.tar.xz alpine\/\r\n\r\ncurl https:\/\/hastebin.com\/raw\/lawubemuhe >> server.cfg",
2018-02-12 03:31:29 +01:00
"container": "alpine:3.7",
"entrypoint": "ash"
}
},
"variables": [
{
2018-02-14 05:23:58 +01:00
"name": "Server License Key",
2018-02-16 05:32:53 +01:00
"description": "Key is required to start the service. Get your keys at https://keymaster.fivem.net",
2018-02-12 03:31:29 +01:00
"env_variable": "FIVEM_LICENSE",
2018-02-14 05:25:28 +01:00
"default_value": "",
2018-02-12 03:31:29 +01:00
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:32"
2018-02-14 05:23:58 +01:00
},
{
"name": "Hostname",
"description": "The name of your server as it appears in the server list.",
"env_variable": "HOSTNAME",
"default_value": "My FX Server",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:64"
},
{
"name": "Max Players",
"description": "Maximum amount of players at one time.",
"env_variable": "MAX_CLIENTS",
"default_value": "31",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|numeric|max:31"
2018-02-12 03:31:29 +01:00
}
]
2018-02-13 17:13:58 +01:00
}