eggs/RVR4/Arma 3/egg-arma3.json

108 lines
4.6 KiB
JSON
Raw Normal View History

{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
2018-06-17 07:42:23 +08:00
"exported_at": "2018-06-17T00:41:46+01:00",
"name": "Arma 3",
"author": "daave@aaathats3as.com",
"description": "Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC's premier military game. Authentic, diverse, open - Arma 3 sends you to war.",
"image": "quay.io\/daave\/containers:rvr4",
"startup": ".\/arma3server -netlog -ip=0.0.0.0 -port={{SERVER_PORT}} -cfg={{CFG}} -config={{CONFIG}} {{CUSTOM}} -mod=\"{{MODS}}\" -serverMod=\"{{SERVERMODS}}\"",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Connected to Steam servers\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
2018-06-17 07:42:23 +08:00
"script": "#!\/bin\/bash\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl\r\napt -y --no-install-recommends install lib32gcc1 ca-certificates\r\n\r\ncd \/tmp\r\ncurl -sSLO http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steamcmd \/mnt\/server\/logs\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\n\r\ntouch \/mnt\/server\/latest.log\r\nchown -R root:root \/mnt\r\n\r\ntar -xzvf \/tmp\/steamcmd_linux.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\nexport HOME=\/mnt\/server\r\n\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} +force_install_dir \/mnt\/server +app_update ${APP_ID} validate +quit",
"container": "ubuntu:18.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Update Server",
2018-04-22 06:01:04 +08:00
"description": "Set this to `1` to update the server, otherwise, keep at `0`.",
"env_variable": "UPDATE",
"default_value": "0",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|boolean"
},
{
"name": "Game App ID",
"description": "Steam CMD App ID.",
"env_variable": "APP_ID",
"default_value": "233780",
"user_viewable": 1,
"user_editable": 0,
"rules": "required|alpha_dash|between:1,100"
},
{
"name": "Config CFG",
"description": "Config CFG",
"env_variable": "CFG",
"default_value": "cfg.cfg",
"user_viewable": 1,
"user_editable": 1,
"rules": "string|nullable"
},
{
"name": "Config",
"description": "Config",
"env_variable": "CONFIG",
"default_value": "config.cfg",
"user_viewable": 1,
"user_editable": 1,
"rules": "string|nullable"
},
{
"name": "Custom Command Line Option.",
"description": "Put -autoinit or related things in here :)",
"env_variable": "CUSTOM",
"default_value": "",
"user_viewable": 1,
"user_editable": 1,
"rules": "string|nullable"
},
{
"name": "SERVERMODS",
"description": "This is where you put the files that go along with the -serverMods startup option.",
"env_variable": "SERVERMODS",
"default_value": "",
"user_viewable": 1,
"user_editable": 1,
"rules": "string|nullable"
},
{
"name": "Mods",
"description": "This is where you put mods that go along with the -mods startup option",
"env_variable": "MODS",
"default_value": "",
"user_viewable": 1,
"user_editable": 1,
"rules": "string|nullable"
},
{
"name": "Steam User",
"description": "Admin only",
"env_variable": "STEAM_USER",
"default_value": "",
"user_viewable": 0,
"user_editable": 0,
2018-04-22 06:01:04 +08:00
"rules": "nullable|string"
},
{
"name": "STEAM_PASS",
"description": "STEAM_PASS",
"env_variable": "STEAM_PASS",
"default_value": "",
"user_viewable": 0,
"user_editable": 0,
2018-04-22 06:01:04 +08:00
"rules": "nullable|string"
}
]
2018-06-17 07:42:23 +08:00
}