[
  {
    "name": "Combat Achievements",
    "description": "A set of combat-based tasks and challenges intended to test the player's prowess in combat related content.",
    "taskJsonName": "COMBAT",
    "taskSourceType": "STRUCT",
    "isEnabled": true,
    "filters": [
      {
        "configKey": "tier",
        "label": "Tier",
        "filterType": "BUTTON_FILTER",
        "valueType": "PARAM_INTEGER",
        "valueName": "tier",
        "customItems": [
          {
            "value": 1,
            "spriteId": 3399,
            "tooltip": "Easy"
          },
          {
            "value": 2,
            "spriteId": 3400,
            "tooltip": "Medium"
          },
          {
            "value": 3,
            "spriteId": 3401,
            "tooltip": "Hard"
          },
          {
            "value": 4,
            "spriteId": 3402,
            "tooltip": "Elite"
          },
          {
            "value": 5,
            "spriteId": 3403,
            "tooltip": "Master"
          },
          {
            "value": 6,
            "spriteId": 3404,
            "tooltip": "Grandmaster"
          }
        ]
      },
      {
        "configKey": "category",
        "label": "Category",
        "filterType": "DROPDOWN_FILTER",
        "valueType": "PARAM_INTEGER",
        "valueName": "category",
        "optionLabelEnum": "category"
      },
      {
        "configKey": "monster",
        "valueType": "GLOBAL"
      }
    ],
    "intParamMap": {
      "id": 1306,
      "tier": 1310,
      "monster": 1312,
      "category": 1311
    },
    "stringParamMap": {
      "name": 1308,
      "description": 1309
    },
    "intEnumMap": {
      "tierSprites": 3965,
      "tierPoints": 4846
    },
    "stringEnumMap": {
      "category": 3969,
      "monster": 3971,
      "tier": 3967
    },
    "taskVarps": [
      3116,
      3117,
      3118,
      3119,
      3120,
      3121,
      3122,
      3123,
      3124,
      3125,
      3126,
      3127,
      3128,
      3387,
      3718,
      3773,
      3774,
      4204,
      4496,
      4721
    ],
    "tierSpriteIdMap": {
      "1": 3399,
      "2": 3400,
      "3": 3401,
      "4": 3402,
      "5": 3403,
      "6": 3404
    },
    "otherVarps": [],
    "varbits": [],
    "taskCompletedScriptId": 4834,
    "taskPointTiers": [
      {
        "varbitId": 4132,
        "label": "Easy",
        "points": 38
      },
      {
        "varbitId": 10660,
        "label": "Medium",
        "points": 148
      },
      {
        "varbitId": 10661,
        "label": "Hard",
        "points": 394
      },
      {
        "varbitId": 14812,
        "label": "Elite",
        "points": 1038
      },
      {
        "varbitId": 14813,
        "label": "Master",
        "points": 1878
      },
      {
        "varbitId": 14814,
        "label": "Grandmaster",
        "points": 2604
      }
    ],
    "taskCompletionCountTiers": null,
    "wikiConfig": {
      "url": "https://oldschool.runescape.wiki/w/Combat_Achievements/All_tasks",
      "taskIdAttribute": "data-taskid",
      "completionColumnId": 5,
      "requirementsColumnId": null
    }
  },
  {
    "name": "Leagues VI: Demonic Pacts",
    "description": "Demonic Pacts League tasks loaded from cache DB table 118. Wiki data-taskid = enum 5950 index, which is also the varbit index used for completion. Real dbRowId resolved via enum 5950 so client.getDBTableField reads work.",
    "taskJsonName": "LEAGUE_6",
    "taskSourceType": "DBROW",
    "isEnabled": true,
    "_testingNotes": "1592 tasks, sortIds 0-1591. sortId = wiki enum-5950 index = completion bit position. Completion bits packed across ~50 varps in the VarPlayerID.LEAGUE_TASK_0..63 block (IDs TBC). Populate taskVarps with the 64 consecutive IDs once known; plugin's bounds check means extra empty slots are harmless. Filters disabled until plugin's ParamButtonFilter empty-config bug is fixed (see plugin-side fix: empty config should pass-through, not hide).",
    "filters": [
      {
        "configKey": "leagueTier",
        "valueType": "GLOBAL",
        "customItems": [
          {
            "value": 1,
            "spriteId": 2316,
            "tooltip": "Easy"
          },
          {
            "value": 2,
            "spriteId": 2318,
            "tooltip": "Medium"
          },
          {
            "value": 3,
            "spriteId": 2319,
            "tooltip": "Hard"
          },
          {
            "value": 4,
            "spriteId": 2320,
            "tooltip": "Elite"
          },
          {
            "value": 5,
            "spriteId": 3739,
            "tooltip": "Master"
          }
        ]
      },
      {
        "configKey": "area",
        "valueType": "GLOBAL"
      },
      {
        "configKey": "category",
        "label": "Category",
        "filterType": "DROPDOWN_FILTER",
        "valueType": "PARAM_INTEGER",
        "valueName": "category",
        "optionLabelEnum": "category"
      }
    ],
    "stringParamMap": {
      "name": 0,
      "description": 1
    },
    "intParamMap": {
      "tier": 32,
      "league_task_marker": 34,
      "category": 35,
      "area": 36
    },
    "intEnumMap": {
      "tierPoints": 2671
    },
    "stringEnumMap": {
      "category": 3411
    },
    "tierSpriteIdMap": {
      "1": 2316,
      "2": 2318,
      "3": 2319,
      "4": 2320,
      "5": 3739
    },
    "taskVarps": [
      2616,
      2617,
      2618,
      2619,
      2620,
      2621,
      2622,
      2623,
      2624,
      2625,
      2626,
      2627,
      2628,
      2629,
      2630,
      2631,
      2808,
      2809,
      2810,
      2811,
      2812,
      2813,
      2814,
      2815,
      2816,
      2817,
      2818,
      2819,
      2820,
      2821,
      2822,
      2823,
      2824,
      2825,
      2826,
      2827,
      2828,
      2829,
      2830,
      2831,
      2832,
      2833,
      2834,
      2835,
      3339,
      3340,
      3341,
      3342,
      4036,
      4037
    ],
    "otherVarps": [],
    "varbits": [],
    "taskCompletedScriptId": -1,
    "taskPointTiers": [
      {
        "varbitId": -1,
        "label": "Tier 1",
        "points": 0
      },
      {
        "varbitId": -1,
        "label": "Tier 2",
        "points": 600
      },
      {
        "varbitId": -1,
        "label": "Tier 3",
        "points": 1200
      },
      {
        "varbitId": -1,
        "label": "Tier 4",
        "points": 2600
      },
      {
        "varbitId": -1,
        "label": "Tier 5",
        "points": 5200
      },
      {
        "varbitId": -1,
        "label": "Tier 6",
        "points": 8500
      },
      {
        "varbitId": -1,
        "label": "Tier 7",
        "points": 16500
      },
      {
        "varbitId": -1,
        "label": "Tier 8",
        "points": 28000
      }
    ],
    "taskCompletionCountTiers": null,
    "wikiConfig": {
      "url": "https://oldschool.runescape.wiki/w/Demonic_Pacts_League/Tasks",
      "taskIdAttribute": "data-taskid",
      "completionColumnId": 5,
      "requirementsColumnId": 3
    }
  }
]