{
  "panel": {
    "console": {
      "send": "rcon",
      "regex": "\\w+ \\d+ (\\d+:\\d+:\\d+) (.*)",
      "levels": {
        "map": [
          {
            "name": "Info",
            "match": "(.*)",
            "type": "regex",
            "colour": "white"
          }
        ],
        "replace": false
      },
      "map": {
        "timestamp": 1,
        "level": 2,
        "message": 2
      }
    },
    "connectPort": "",
    "license": {
      "config": "config/sv_licenseKey",
      "required": true,
      "wiki": "/books/fivemredm-(gtavred-dead-2)/page/getting-a-license-key",
      "license": "https://runtime.fivem.net/fivem-service-agreement-4.pdf",
      "description": "The server cannot be started until you enter a license key for FiveM/Cfx.re"
    }
  },
  "files": [
    {
      "name": "config",
      "path": "reddead/server-data/server.cfg",
      "handler": "source",
      "default": true
    }
  ],
  "type": "object",
  "title": "FiveM Settings",
  "description": "",
  "properties": {
    "endpoint_add_tcp": {
      "type": "string",
      "title": "TCP IP/Port",
      "description": "Ensure it is in the format IP:port - the default is 0.0.0.0:30120 and will work without modifications",
      "default": "0.0.0.0:30120"
    },
    "endpoint_add_udp": {
      "type": "string",
      "title": "UDP IP/Port",
      "description": "Ensure it is in the format IP:port - the default is 0.0.0.0:30120 and will work without modifications",
      "default": "0.0.0.0:30120"
    },
    "sv_hostname": {
      "type": "string",
      "title": "Hostname",
      "description": "Set your server's hostname",
      "default": "FXServer, but unconfigured"
    },
    "sv_maxclients": {
      "type": "integer",
      "title": "Max Clients",
      "description": "Server player slot limit (must be between 1 and 32, unless using OneSync)",
      "default": 32
    },
    "rcon_password": {
      "type": "string",
      "title": "Rcon Password",
      "description": "RCON password for remote control of the server via a RCON client",
      "default": ""
    },
    "sv_endpointprivacy": {
      "type": "boolean",
      "title": "Endpoint Privacy",
      "description": "Hide player endpoints in external log output.",
      "default": true
    },
    "sv_scriptHookAllowed": {
      "type": "boolean",
      "title": "Scripthook Allowed",
      "description": "This allows players to use scripthook-based plugins such as the legacy Lambda Menu. Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.",
      "default": false
    },
    "sv_licenseKey": {
      "type": "string",
      "title": "License Key (required)",
      "description": "License key for your server (get from https://keymaster.fivem.net)",
      "default": ""
    }
  }
}
