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

109 lines
4.3 KiB
JSON

{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2018-03-27T14:57:10+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": {
"script": "#!\/bin\/ash\r\n# steamcmd: Installation Script\r\n# \r\napk update\r\napk add tar curl\r\n\r\ncd \/tmp\r\n\r\ncurl -sSLO http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steamcmd\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" && mkdir -p \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\nmkdir -p \/mnt\/server\/server\/logs\r\ntouch mnt\/server\/latest.log\r\ntar -xzvf steamcmd_linux.tar.gz -C \/mnt\/server\/steamcmd",
"container": "alpine:3.4",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Update Server",
"description": "Set 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,
"rules": "required|string"
},
{
"name": "STEAM_PASS",
"description": "STEAM_PASS",
"env_variable": "STEAM_PASS",
"default_value": "",
"user_viewable": 0,
"user_editable": 0,
"rules": "required|string"
}
]
}