{
  "panel": {
    "console": {
      "send": "socket",
      "regex": "\\[(\\d+:\\d+:\\d+).\\d+\\] \\[(\\w+)(?:\\s?|\\s+?)\\] (.*)",
      "levels": {
        "map": [
          {
            "name": "Info",
            "match": "Info",
            "type": "string",
            "colour": "white"
          },
          {
            "name": "Warn",
            "match": "Warn",
            "type": "string",
            "colour": "yellow"
          },
          {
            "name": "Severe",
            "match": "Error",
            "type": "string",
            "colour": "red"
          },
          {
            "name": "Debug",
            "match": "(.*)",
            "type": "regex",
            "colour": "cyan"
          }
        ],
        "replace": false
      },
      "map": {
        "timestamp": 1,
        "level": 2,
        "message": 3
      }
    },
    "connectPort": "config/gameServerPort"
  },
  "files": [
    {
      "name": "config",
      "path": "starbound/storage/starbound_server.config",
      "handler": "json",
      "default": true
    }
  ],
  "title": "Starbound Config",
  "type": "object",
  "properties": {
    "maxPlayers": {
      "title": "Max players",
      "type": "number",
      "default": 8,
      "propertyOrder": 1
    },
    "gameServerPort": {
      "title": "Port",
      "description": "Port to bind on. Leave default if you want people to join without specifying a port",
      "type": "number",
      "default": 21025,
      "propertyOrder": 1
    },
    "allowAdminCommands": {
      "title": "Allow admin commands",
      "type": "boolean",
      "default": true,
      "propertyOrder": 2
    },
    "allowAdminCommandsFromAnyone": {
      "title": "Allow admin commands from anyone",
      "type": "boolean",
      "default": true,
      "propertyOrder": 3
    },
    "allowAnonymousConnections": {
      "title": "Allow anonymous connections",
      "type": "boolean",
      "default": true,
      "propertyOrder": 4
    },
    "bannedIPs": {
      "title": "Banned IPs",
      "type": "array",
      "default": [],
      "propertyOrder": 5
    },
    "bannedUuids": {
      "title": "Banned UUIDs",
      "type": "array",
      "default": [],
      "propertyOrder": 6
    },
    "serverUsers": {
      "title": "Server users",
      "type": "array",
      "valueConverter": "sbplayerarray",
      "default": [],
      "propertyOrder": "7",
      "format": "table",
      "uniqueItems": true,
      "items": {
        "type": "object",
        "title": "User",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "password": {
            "title": "Password",
            "type": "string"
          },
          "admin": {
            "title": "Admin",
            "type": "boolean"
          }
        }
      }
    }
  }
}
