2018-03-27 22:00:02 +08:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
"version" : "PTDL_v1"
} ,
2019-03-14 06:41:54 +08:00
"exported_at" : "2019-03-13T18:40:40-04:00" ,
2018-03-27 22:00:02 +08: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." ,
2019-03-14 06:41:54 +08:00
"image" : "quay.io\/parkervcp\/pterodactyl-images:game_arma3" ,
2019-03-25 23:41:11 +08:00
"startup" : ".\/arma3server -ip=0.0.0.0 -port={{SERVER_PORT}} -cfg={{BASIC}} -config={{CONFIG}} {{CUSTOM}} -mod=\"{{MODS}}\" -serverMod=\"{{SERVERMODS}}\"" ,
2018-03-27 22:00:02 +08:00
"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" : {
2019-04-01 19:13:05 +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} ${STEAM_AUTH} +force_install_dir \/mnt\/server +app_update ${APP_ID} validate +quit\r\n\r\ncd \/mnt\/server\/\r\n[[ -f basic.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/arma\/arma3\/egg-arma3-config\/basic.cfg\r\n[[ -f server.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/arma\/arma3\/egg-arma3-config\/server.cfg" ,
2018-06-17 07:42:23 +08:00
"container" : "ubuntu:18.04" ,
"entrypoint" : "bash"
2018-03-27 22:00:02 +08:00
}
} ,
"variables" : [
{
"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"
} ,
{
2019-03-25 23:41:11 +08:00
"name" : "Basic" ,
"description" : "Basic network config" ,
"env_variable" : "BASIC" ,
"default_value" : "basic.cfg" ,
2018-03-27 22:00:02 +08:00
"user_viewable" : 1 ,
"user_editable" : 1 ,
"rules" : "string|nullable"
} ,
{
"name" : "Config" ,
2019-03-25 23:41:11 +08:00
"description" : "Server config" ,
2018-03-27 22:00:02 +08:00
"env_variable" : "CONFIG" ,
2019-03-25 23:41:11 +08:00
"default_value" : "server.cfg" ,
2018-03-27 22:00:02 +08:00
"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" ,
2019-01-12 00:21:36 +08:00
"description" : "A Steam username with Arma3 on the account." ,
2018-03-27 22:00:02 +08:00
"env_variable" : "STEAM_USER" ,
2019-01-12 00:21:36 +08:00
"default_value" : "anonymous" ,
2018-03-27 22:00:02 +08:00
"user_viewable" : 0 ,
"user_editable" : 0 ,
2019-01-09 09:33:46 +08:00
"rules" : "required|string"
2018-03-27 22:00:02 +08:00
} ,
{
2019-01-12 00:21:36 +08:00
"name" : "Steam Password" ,
"description" : "Steam User Password" ,
2018-03-27 22:00:02 +08:00
"env_variable" : "STEAM_PASS" ,
"default_value" : "" ,
"user_viewable" : 0 ,
"user_editable" : 0 ,
2019-01-12 00:21:36 +08:00
"rules" : "nullable|string"
} ,
{
"name" : "Steam Auth Code" ,
"description" : "Steam Auth Code only when you're using Steam Auth" ,
"env_variable" : "STEAM_AUTH" ,
"default_value" : "" ,
"user_viewable" : 0 ,
"user_editable" : 0 ,
"rules" : "nullable|string"
2018-03-27 22:00:02 +08:00
}
]
2019-04-01 19:13:05 +08:00
}