mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-29 18:58:15 +08:00
egg-arma3.json Rewrite
- Changed the image to the new Pterodactyl yolks image. - Removed the ability to specify custom server.cfg and basic.cfg file locations, because it only complicated things and was rarely changed from their default root location. - Added the ability to specify a custom basic.cfg URL location for installation (in case it updates in the future). - Added file parsing of the server.cfg to set the server password, max players, and ensure the headless client IPs are correct. - Fixed the stop code to actually kill the server - Adjusted the installation script to pull from the basic.cfg specified URL, and made the SteamCMD login command more robust against credentials with spaces or special characters. - Rearranged variables to be better grouped/ordered (will only apply if the egg is reinstalled on the panel). - Rewording of some variables' descriptions. - Added "Number of SteamCMD Retry Attempts" variable. - Added "Max Players" variable. - Added "Server Password" variable. - Added "Disable Mod Downloads/Updates" variable. - Added "Download Creator DLCs" variable. - Added "Modlist File" variable for defining an Arma 3 Launcher exported HTML modlist file for loading. - Renamed "Mods" to "Additional Mods" - Added "Validate Server Files" variable. - Added "HC Hide Console Output" variable. - Added "Clear HC Profiles Cache on Startup" variable.
This commit is contained in:
parent
27b0a3a103
commit
500a91564a
@ -1,45 +1,35 @@
|
|||||||
{
|
{
|
||||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
"_comment": "Pterodactyl Arma 3 Egg ~ David Wolfe (Red-Thirten) ~ 2021-07-11",
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": "PTDL_v1",
|
"version": "PTDL_v1",
|
||||||
"update_url": null
|
"update_url": "https:\/\/github.com\/parkervcp\/eggs\/blob\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3.json"
|
||||||
},
|
},
|
||||||
"exported_at": "2021-07-02T04:17:45+03:00",
|
|
||||||
"name": "Arma 3",
|
"name": "Arma 3",
|
||||||
"author": "rehlmgaming@gmail.com",
|
"author": "rehlmgaming@gmail.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.",
|
"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.",
|
||||||
"features": null,
|
"features": null,
|
||||||
"images": [
|
"images": [
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:game_arma3"
|
"ghcr.io\/pterodactyl\/games:arma3"
|
||||||
],
|
],
|
||||||
"file_denylist": [],
|
"file_denylist": [],
|
||||||
"startup": ".\/{{SERVER_BINARY}} -ip=0.0.0.0 -port={{SERVER_PORT}} -profiles=.\/serverprofile -bepath=.\/battleye -cfg=\\\"{{BASIC}}\\\" -config=\\\"{{CONFIG}}\\\" -mod=\\\"{{MODIFICATIONS}}\\\" -serverMod=\\\"{{SERVERMODS}}\\\" {{STARTUP_PARAMS}}",
|
"startup": ".\/{{SERVER_BINARY}} -ip=0.0.0.0 -port={{SERVER_PORT}} -profiles=.\/serverprofile -bepath=.\/battleye -cfg=basic.cfg -config=server.cfg -mod=\\\"{{CLIENT_MODS}}\\\" -serverMod=\\\"{{SERVERMODS}}\\\" {{STARTUP_PARAMS}}",
|
||||||
"config": {
|
"config": {
|
||||||
"files": "{}",
|
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"password=\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"\/\/password=\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"password =\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"\/\/password =\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"maxPlayers\": \"maxPlayers = {{env.MAX_PLAYERS}};\",\r\n \"headlessClients\": \"headlessClients[] = { \\\"127.0.0.1\\\" };\",\r\n \"localClient\": \"localClient[] = { \\\"127.0.0.1\\\" };\"\r\n }\r\n }\r\n}",
|
||||||
"startup": "{\r\n \"done\": \"Host identity created.\"\r\n}",
|
"startup": "{\r\n \"done\": \"Host identity created.\"\r\n}",
|
||||||
"logs": "{}",
|
"logs": "{}",
|
||||||
"stop": "^C"
|
"stop": "^CC"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"installation": {
|
"installation": {
|
||||||
"script": "#!\/bin\/bash\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} +force_install_dir \/mnt\/server +app_update ${STEAMCMD_APPID} ${STEAMCMD_EXTRA_FLAGS} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## ARMA III specific setup\r\ncd \/mnt\/server\/\r\n\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\n\r\n[[ -f basic.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/basic.cfg\r\n[[ -f server.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/server.cfg\r\nchmod 755 basic.cfg server.cfg",
|
"script": "#!\/bin\/bash\r\n\r\n## File: Pterodactyl Arma 3 Egg - egg-arma3.json\r\n## Author: David Wolfe (Red-Thirten)\r\n## Date: 2021\/07\/11\r\n## License: MIT License\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n# Download and install SteamCMD\r\ncd \/tmp\r\nmkdir -p \"\/mnt\/server\/steamcmd\" \"\/mnt\/server\/steamapps\"\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n# Install game server using SteamCMD\r\n.\/steamcmd.sh \"+login \\\"${STEAM_USER}\\\" \\\"${STEAM_PASS}\\\"\" +force_install_dir \/mnt\/server +app_update ${STEAMCMD_APPID} ${STEAMCMD_EXTRA_FLAGS} validate +quit\r\n\r\n# Set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n# Set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n# Arma 3 setup\r\ncd \/mnt\/server\/\r\n\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\n\r\n[[ -f basic.cfg ]] || curl -sSLO ${BASIC_URL}\r\n[[ -f server.cfg ]] || curl -sSLO ${BASIC_URL%\/*}\/server.cfg\r\nchmod 755 basic.cfg server.cfg",
|
||||||
"container": "debian:buster-slim",
|
"container": "debian:buster-slim",
|
||||||
"entrypoint": "bash"
|
"entrypoint": "bash"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [
|
||||||
{
|
{
|
||||||
"name": "Arma 3 Dedicated Server App ID",
|
"name": "[REQUIRED] Steam Username",
|
||||||
"description": "Used for installation and updates.",
|
"description": "Used for installation and updates. Account does not need to own Arma 3, but MUST BE a VALID Steam account (anonymous login cannot be used). For security reasons it is recommended that you create a new Steam account just for your dedicated servers. *This info is not visible to the server owner.*",
|
||||||
"env_variable": "STEAMCMD_APPID",
|
|
||||||
"default_value": "233780",
|
|
||||||
"user_viewable": false,
|
|
||||||
"user_editable": false,
|
|
||||||
"rules": "required|integer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Steam Username",
|
|
||||||
"description": "Used for installation and updates. Account does not need to own Arma 3, but must be a valid Steam account (anonymous login cannot be used). For security reasons it is recommended that you create a new Steam account just for your dedicated servers. *This info is not visible to the server owner.*",
|
|
||||||
"env_variable": "STEAM_USER",
|
"env_variable": "STEAM_USER",
|
||||||
"default_value": "your_steam_username",
|
"default_value": "your_steam_username",
|
||||||
"user_viewable": false,
|
"user_viewable": false,
|
||||||
@ -47,14 +37,23 @@
|
|||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Steam Password",
|
"name": "[REQUIRED] Steam Password",
|
||||||
"description": "Used for installation and updates. Steam Guard must be TURNED OFF for install to complete successfully. *This info is not visible to the server owner.*",
|
"description": "Used for installation and updates. Steam Guard MUST be completely TURNED OFF for install to complete successfully. *This info is not visible to the server owner, BUT IS stored in PLAIN TEXT. It is NOT advised to use a personal account; best to use a dummy account.*",
|
||||||
"env_variable": "STEAM_PASS",
|
"env_variable": "STEAM_PASS",
|
||||||
"default_value": "your_steam_password",
|
"default_value": "your_steam_password",
|
||||||
"user_viewable": false,
|
"user_viewable": false,
|
||||||
"user_editable": false,
|
"user_editable": false,
|
||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Number of SteamCMD Retry Attempts",
|
||||||
|
"description": "How many times SteamCMD should retry downloading a server or mod after a recoverable error. (ie. A particularly large mod like CUP or RHS download times out)",
|
||||||
|
"env_variable": "STEAMCMD_ATTEMPTS",
|
||||||
|
"default_value": "3",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|integer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Binary",
|
"name": "Server Binary",
|
||||||
"description": "Server binary to call on server start. (32-bit: arma3server | 64-bit: arma3server_x64)",
|
"description": "Server binary to call on server start. (32-bit: arma3server | 64-bit: arma3server_x64)",
|
||||||
@ -66,7 +65,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Extra Startup Parameters",
|
"name": "Extra Startup Parameters",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/Arma_3_Startup_Parameters for more info.",
|
"description": "See https:\/\/community.bistudio.com\/wiki\/Arma_3_Startup_Parameters for more info on valid flags for this field. \"-noLogs\" is recommended to prevent console rate-limit warnings.",
|
||||||
"env_variable": "STARTUP_PARAMS",
|
"env_variable": "STARTUP_PARAMS",
|
||||||
"default_value": "-noLogs",
|
"default_value": "-noLogs",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -74,26 +73,62 @@
|
|||||||
"rules": "string|nullable"
|
"rules": "string|nullable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Configuration File",
|
"name": "Max Players",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/server.cfg for more info.",
|
"description": "Maximum number of players allowed to join the server.",
|
||||||
"env_variable": "CONFIG",
|
"env_variable": "MAX_PLAYERS",
|
||||||
"default_value": "server.cfg",
|
"default_value": "32",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "string|nullable"
|
"rules": "required|integer|gt:0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Basic Network Configuration",
|
"name": "Server Password",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/basic.cfg for more info.",
|
"description": "Password required to join the server. Leave blank to have no password.",
|
||||||
"env_variable": "BASIC",
|
"env_variable": "SERVER_PASSWORD",
|
||||||
"default_value": "basic.cfg",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "required|string"
|
"rules": "nullable|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mods",
|
"name": "Automatic Updates",
|
||||||
"description": "Mod folders to be used with the -mods startup option. NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
"description": "Quickly checks for any server or mod updates on startup, and updates if necessary. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "UPDATE_SERVER",
|
||||||
|
"default_value": "1",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Disable Mod Downloads\/Updates",
|
||||||
|
"description": "If the Steam account does not own the base Arma 3 game, Steam Workshop mod downloads\/updates will not work. If so, this setting allows disabling of this feature to avoid errors. (1 Disable | 0 Enable)",
|
||||||
|
"env_variable": "DISABLE_MOD_UPDATES",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Download Creator DLCs",
|
||||||
|
"description": "Downloads\/Updates all the mod files required to run any CDLC during the next Automatic Update. DLCs can be enabled by adding their mod folder name to the Additional Mods startup variable. For example, add \"vn;\" to load the Prairie Fire CDLC. (1 Yes | 0 No)",
|
||||||
|
"env_variable": "CDLC",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Modlist File (Exported from A3 Launcher)",
|
||||||
|
"description": "Filename for an exported modlist. This file will be parsed for mod installation and loading. Upload your HTML file to the root directory (eg. \/home\/container\/modlist.html). Leave blank to disable loading mods from a modlist.",
|
||||||
|
"env_variable": "MOD_FILE",
|
||||||
|
"default_value": "modlist.html",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Additional Mods",
|
||||||
|
"description": "A semicolon-separated list of additional mod folders to load. Useful for loading CDLCs or manually uploaded mods. This mod list will be loaded in addition to the Modlist File (if used). Any mods in this list that are in \"@workshopID\" form will also be included in Automatic Updates (if enabled). NO capital letters, spaces, or folders starting with a number! (ex. myMod;vn;@123456789;@987654321;etc;)",
|
||||||
"env_variable": "MODIFICATIONS",
|
"env_variable": "MODIFICATIONS",
|
||||||
"default_value": "",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -101,44 +136,35 @@
|
|||||||
"rules": "nullable|string"
|
"rules": "nullable|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Mods",
|
"name": "[Repair] Make Mod Files Lowercase",
|
||||||
"description": "Server-side only mod folders to be used with the -serverMods startup option. NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
"description": "Every mod that is set to be loaded will have its folder and files changed to lowercase (to prevent errors). It is recommended to enable this for one server boot after copying a mod from a Windows machine to the server, or if mods seem to not be loading. (1 Enable | 0 Disable)",
|
||||||
"env_variable": "SERVERMODS",
|
|
||||||
"default_value": "",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "nullable|string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Check for Server Updates",
|
|
||||||
"description": "Check for server updates on server start. (1 True | 0 False)",
|
|
||||||
"env_variable": "UPDATE_SERVER",
|
|
||||||
"default_value": "0",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Steam Workshop Mods to Download\/Update",
|
|
||||||
"description": "[*Only works if the host owns Arma 3] Comma separated list of Steam Workshop mod IDs to download\/update on server start. (ex. 450814997,463939057) Each mod will be downloaded to the root directory with the folder format \"@ModIdNumber\". NOTE: Particularly large mods (ie. RHS, CUP, typically anything over 3 GB) may not download properly due to limitations of SteamCMD.",
|
|
||||||
"env_variable": "UPDATE_WORKSHOP",
|
|
||||||
"default_value": "",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "string|nullable"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Set Mods to Lowercase",
|
|
||||||
"description": "On server start, goes through all the mod folders listed in \"Mods\" & \"Server Mods\", and makes sure every folder and file is lowercase (to prevent errors). This is particularly useful to run ONCE after copying a mod from a Windows machine to the server, or if mods seem to not be loading.",
|
|
||||||
"env_variable": "MODS_LOWERCASE",
|
"env_variable": "MODS_LOWERCASE",
|
||||||
"default_value": "0",
|
"default_value": "0",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "boolean"
|
"rules": "boolean"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "[Repair] Validate Server Files",
|
||||||
|
"description": "Validates all server files when Automatic Updates is enabled. Note: This will significantly increase server startup times, so it is recommended to only enable this when needed. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "VALIDATE_SERVER",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Server-Side Only Mods",
|
||||||
|
"description": "Mod folders to be used with the \"-serverMods\" startup option. They only run server-side and are not required by clients if \"verifySignatures\" is enabled. Any mods in this list that are in \"@workshopID\" form will also be included in Automatic Updates (if enabled). NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
||||||
|
"env_variable": "SERVERMODS",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] Extra Flags for SteamCMD",
|
"name": "[Advanced] Extra Flags for SteamCMD",
|
||||||
"description": "Only used when checking for server updates, and typically used for grabbing beta builds.\r\nExample: -beta profiling -betapassword CautionSpecialProfilingAndTestingBranchArma3",
|
"description": "[This will override \"Download Creator DLCs\" if used] Only used when checking for server updates, and typically used for grabbing beta builds. Example: -beta profiling -betapassword CautionSpecialProfilingAndTestingBranchArma3",
|
||||||
"env_variable": "STEAMCMD_EXTRA_FLAGS",
|
"env_variable": "STEAMCMD_EXTRA_FLAGS",
|
||||||
"default_value": "",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -147,7 +173,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] Headless Clients (HC)",
|
"name": "[Advanced] Headless Clients (HC)",
|
||||||
"description": "Number of Headless Clients (0 - 5) to launch parallel with the server. Be sure to set the following \"HC Connect Password\" variable if your server is password locked. PLEASE NOTE: Using a headless client is only recommended for advanced users, adds extra overhead to your permitted server resources, and is only beneficial if a properly written, HC compliant mission file is provided. See https:\/\/community.bistudio.com\/wiki\/Arma_3:_Headless_Client for more info.",
|
"description": "Number of Headless Clients (0 - 5) to launch parallel with the server. Be sure to set the following \"HC Connect Password\" variable if your server is password locked. PLEASE NOTE: Using a headless client is only recommended for advanced users, adds extra overhead to your permitted server resources, and is only beneficial if a properly written, HC compliant, mission file is provided. See https:\/\/community.bistudio.com\/wiki\/Arma_3:_Headless_Client for more info.",
|
||||||
"env_variable": "HC_NUM",
|
"env_variable": "HC_NUM",
|
||||||
"default_value": "0",
|
"default_value": "0",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -155,13 +181,40 @@
|
|||||||
"rules": "required|integer|between:0,5"
|
"rules": "required|integer|between:0,5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] HC Connect Password",
|
"name": "[Advanced] HC Hide Console Output",
|
||||||
"description": "If Headless Clients are used, this is the password used to connect to the server if the server is password locked.",
|
"description": "Hides Headless Client console output (except for critical errors) to prevent nonessential console spam. (1 Hide | 0 Show)",
|
||||||
"env_variable": "HC_PASSWORD",
|
"env_variable": "HC_HIDE",
|
||||||
"default_value": "",
|
"default_value": "1",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "nullable|string"
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Clear HC Profiles Cache on Startup",
|
||||||
|
"description": "Deletes all profiles from the \"\/home\/container\/serverprofile\/home\" directory on startup, except for the server's main \"Player\" profile. Recommended to enable when running HCs, because the profiles are generally unused and can cause HCs to crash if they develop errors. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "CLEAR_CACHE",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Arma 3 Dedicated Server App ID",
|
||||||
|
"description": "Used for installation and updates. Rarely needs to be changed.",
|
||||||
|
"env_variable": "STEAMCMD_APPID",
|
||||||
|
"default_value": "233780",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] basic.cfg URL",
|
||||||
|
"description": "URL to a valid Arma 3 basic.cfg file. The \"Basic\" configuration file is used during server runtime for advanced network performance tuning. Because it is a required file, this URL is used to download it during installation, or if the file is found missing during startup.",
|
||||||
|
"env_variable": "BASIC_URL",
|
||||||
|
"default_value": "https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/basic.cfg",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|url"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user