[
    {
        "DisplayName": "Server Port",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "",
        "Keywords": "",
        "FieldName": "$ServerPort",
        "InputType": "number",
        "Hidden": true,
        "IsFlagArgument": false,
        "ParamFieldName": "$.port",
        "IncludeInCommandLine": false,
        "EnumValues": {}
    },
    {
        "DisplayName": "Server Download URL",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "Sets the full URL to download the server from. [Login](https://foundryvtt.com/) to obtain a current timed URL, then update the server before the timeout. NOTE: Make sure to select the \"Node.js\" version",
        "Keywords": "download,url",
        "FieldName": "DownloadURL",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "DownloadURL",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "https://foundryvtt.s3.amazonaws.com",
        "Required": true,
        "EnumValues": {}
    },
    {
        "DisplayName": "Server Version",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "Sets the version of the server that is installed, which determines the appropriate application to run",
        "Keywords": "server,application,app",
        "FieldName": "app",
        "InputType": "enum",
        "IsFlagArgument": false,
        "ParamFieldName": "app",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Required": true,
        "EnumValues": {
            "": "--Please select--",
            "main.js": "Version 13 and above",
            "resources/app/main.js": "Version 12 and below"
        }
    },
    {
        "DisplayName": "Node.js Release Stream",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "Sets the Node.js release stream from which to install the latest version, unless a specific version is specified under Node.js Version. Use v22 for server version 13, v24 for server version 14. Update the server after changing this setting",
        "Keywords": "node,nodejs,release,stream,NodeRelease",
        "FieldName": "NodeRelease",
        "InputType": "enum",
        "ParamFieldName": "NodeRelease",
        "DefaultValue": "24",
        "EnumValues": {
            "24": "24 - LTS (default)",
            "22": "22 - LTS",
            "20": "20 - LTS",
            "18": "18 - LTS"
        }
    },
    {
        "DisplayName": "Node.js Version",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "Sets the [Node.js version](https://nodejs.org/download/release/) to install. Format: v22.22.2. Empty = latest version for the release stream specified under Node.js Release Stream. Update the server after changing this setting",
        "Keywords": "node,nodejs,version,NodeVersion",
        "FieldName": "NodeVersion",
        "InputType": "text",
        "ParamFieldName": "NodeVersion",
        "DefaultValue": "",
        "Placeholder": "v22.22.2",
        "EnumValues": {}
    },
    {
        "DisplayName": "Node.js Command Line Arguments",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "Sets any Node.js command line arguments to include as startup parameters",
        "Keywords": "node,nodejs,command,line,arguments,args",
        "FieldName": "NodeArgs",
        "InputType": "text",
        "IsFlagArgument": false,
        "ParamFieldName": "NodeArgs",
        "IncludeInCommandLine": false,
        "DefaultValue": "",
        "Placeholder": "--max-old-space-size=7168",
        "EnumValues": {}
    },
    {
        "DisplayName": "Enable UPnP",
        "Category": "Foundry Virtual Tabletop:stadia_controller",
        "Subcategory": "Server:dns:1",
        "Description": "If set, UPnP will be enabled on the server. This functionality requires a UPnP-enabled router to work",
        "Keywords": "upnp",
        "FieldName": "upnp",
        "InputType": "checkbox",
        "IsFlagArgument": false,
        "ParamFieldName": "upnp",
        "IncludeInCommandLine": false,
        "DefaultValue": "false",
        "EnumValues": {
            "False": "false",
            "True": "true"
        }
    }
]
