Example Files - Gershon123/DailyQuests GitHub Wiki

Kill 10 Zubats, for category "battle", resets every hour

{
  "questType": "REPEATABLE",
  "frequency": {
    "seconds": 3600,
    "nanos": 0
  },
  "id": "killzubat",
  "title": "\u0026d\u0026lZubat Hunter",
  "categoryId": "battle",
  "position": 9,
  "task": {
    "taskType": "DEFEAT_POKEMON",
    "species": "Zubat",
    "any": false,
    "title": "\u0026d\u0026lZubat Hunter",
    "totalAmount": 10
  },
  "rewards": [
    {
      "rewardType": "COMMAND",
      "name": "10 Coins",
      "command": "eco add %player% 10"
    }
  ],
  "lore": [
    "\u0026e\u0026lKill 10 Zubats"
  ],
  "icon": "minecraft:web",
  "requirePermission": false
}

Catch any 10 pokemon, only 1 time

{
  "questType": "ONE_TIME",
  "id": "catch1",
  "title": "Catching1",
  "categoryId": "catching",
  "position": 0,
  "task": {
    "taskType": "CATCH_POKEMON",
    "species": "Pikachu",
    "any": true,
    "title": "Catching1",
    "totalAmount": 10
  },
  "rewards": [],
  "lore": [],
  "icon": "minecraft:paper",
  "requirePermission": false
}

Hatch 20 eggs, requiring you first to complete a prior quest with ID hatch1. Also requiring the permission dailyquests.quests.hatch2

{
  "questType": "ONE_TIME",
  "id": "hatch2",
  "title": "\u0026a\u0026lHatching II",
  "categoryId": "hatch",
  "position": 1,
  "requiredQuestId": "hatch1",
  "task": {
    "taskType": "HATCH_POKEMON",
    "species": "Pikachu",
    "any": true,
    "title": "\u0026a\u0026lHatching II",
    "totalAmount": 20
  },
  "rewards": [
    {
      "rewardType": "COMMAND",
      "name": "20 Coins",
      "command": "eco add %player% 20"
    }
  ],
  "lore": [
    "\u0026e\u0026lHatch 20 Pokemon"
  ],
  "icon": "pixelmon:lucky_egg",
  "requirePermission": true
}