Skip to content

Config Files

Unariginal edited this page Mar 24, 2025 · 4 revisions

Config.json

Default File

{
  "debug": false,
  "implemented_only": true,
  "allow_invalid_species": false,
  "blacklist": {
    "species": [],
    "label": [],
    "generation": []
  }
}

Config Sections

  • "debug": boolean
    Displays additional debug information in the console.
  • "implemented_only": boolean
    Toggles if pokedex progress should only count pokemon marked as "implemented".
  • "allow_invalid_species": boolean
    Toggles if invalid species IDs should count towards the pokedex total.

Blacklist

  • "species": list of strings
    A list of species that will not count towards pokedex completion. In the format 'cobblemon:bulbasaur'
  • "label": list of strings
    A list of labels where if a species contains that label it will not count towards pokedex completion. Ex. "legendary"
  • "generation": list of strings
    A list of generations where included generations will not count towards pokedex completion. Ex "gen1", "gen5"

Rewards.json

Default File

{
  "reward_groups": {
    "Trainer": {
      "icon": "cobblemon:poke_ball",
      "icon_data": {},
      "required_caught_percent": 5.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:poke_ball",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Rookie": {
      "icon": "cobblemon:fast_ball",
      "icon_data": {},
      "required_caught_percent": 10.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:great_ball",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Beginner": {
      "icon": "cobblemon:great_ball",
      "icon_data": {},
      "required_caught_percent": 15.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:thunder_stone",
          "item_data": {},
          "count": 2
        }
      }
    },
    "Novice": {
      "icon": "cobblemon:level_ball",
      "icon_data": {},
      "required_caught_percent": 20.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:exp_candy_s",
          "item_data": {},
          "count": 48
        }
      }
    },
    "Ranger": {
      "icon": "cobblemon:ultra_ball",
      "icon_data": {},
      "required_caught_percent": 25.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:ultra_ball",
          "item_data": {},
          "count": 32
        }
      }
    },
    "Collector": {
      "icon": "cobblemon:lure_ball",
      "icon_data": {},
      "required_caught_percent": 30.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:fire_stone",
          "item_data": {},
          "count": 2
        }
      }
    },
    "Apprentice": {
      "icon": "cobblemon:safari_ball",
      "icon_data": {},
      "required_caught_percent": 35.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:exp_candy_m",
          "item_data": {},
          "count": 48
        }
      }
    },
    "Expert": {
      "icon": "cobblemon:heavy_ball",
      "icon_data": {},
      "required_caught_percent": 40.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:nest_ball",
          "item_data": {},
          "count": 32
        }
      }
    },
    "Veteran": {
      "icon": "cobblemon:love_ball",
      "icon_data": {},
      "required_caught_percent": 45.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:lure_ball",
          "item_data": {},
          "count": 32
        }
      }
    },
    "Sage": {
      "icon": "cobblemon:moon_ball",
      "icon_data": {},
      "required_caught_percent": 50.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:quick_ball",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Professor": {
      "icon": "cobblemon:repeat_ball",
      "icon_data": {},
      "required_caught_percent": 55.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:rare_candy",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Commander": {
      "icon": "cobblemon:timer_ball",
      "icon_data": {},
      "required_caught_percent": 60.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:rare_candy",
          "item_data": {},
          "count": 32
        }
      }
    },
    "Elite": {
      "icon": "cobblemon:luxury_ball",
      "icon_data": {},
      "required_caught_percent": 65.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:luxury_ball",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Executive": {
      "icon": "cobblemon:premier_ball",
      "icon_data": {},
      "required_caught_percent": 70.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:cherish_ball",
          "item_data": {},
          "count": 1
        }
      }
    },
    "Master": {
      "icon": "cobblemon:dusk_ball",
      "icon_data": {},
      "required_caught_percent": 75.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:exp_candy_l",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Baron": {
      "icon": "cobblemon:quick_ball",
      "icon_data": {},
      "required_caught_percent": 80.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:beast_ball",
          "item_data": {},
          "count": 1
        }
      }
    },
    "Duke": {
      "icon": "cobblemon:beast_ball",
      "icon_data": {},
      "required_caught_percent": 85.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:master_ball",
          "item_data": {},
          "count": 1
        }
      }
    },
    "Champion": {
      "icon": "cobblemon:master_ball",
      "icon_data": {},
      "required_caught_percent": 90.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:ancient_origin_ball",
          "item_data": {},
          "count": 1
        }
      }
    },
    "World Champion": {
      "icon": "cobblemon:cherish_ball",
      "icon_data": {},
      "required_caught_percent": 95.0,
      "rewards": {
        "item_group": {
          "type": "item",
          "item": "cobblemon:exp_candy_xl",
          "item_data": {},
          "count": 16
        }
      }
    },
    "Arceus": {
      "icon": "minecraft:nether_star",
      "icon_data": {},
      "required_caught_percent": 100.0,
      "rewards": {
        "command_group": {
          "type": "command",
          "commands": [
            "tellraw @a [\"\",{\"text\":\"[\",\"color\":\"dark_gray\"},{\"text\":\"DexRewards\",\"color\":\"blue\"},{\"text\":\"]\",\"color\":\"dark_gray\"},{\"text\":\" %player% has completed their pokedex!\",\"color\":\"gold\"}]"
          ]
        },
        "item_group": {
          "type": "item",
          "item": "cobblemon:master_ball",
          "item_data": {},
          "count": 6
        },
        "item_group_2": {
          "type": "item",
          "item": "cobblemon:exp_candy_xl",
          "item_data": {},
          "count": 32
        }
      }
    }
  }
}

Config Sections

Reward Groups

"Group Name"

  • "icon": string
    Item that will represent the group in the GUI.
  • "icon_data: json element
    Data components of the icon.
  • "required_caught_percent": double
    Percent of the pokedex required to claim this reward.
  • Rewards
    • "Reward Group Key"
      • "type": string
        The type of reward, either "item" or "command".
        -- For Item Rewards Only --
      • "item": string
        The item to give out in the reward.
      • "item_data": json element
        The data components to attach to the item reward.
      • "count": integer
        The amount of the item to give.
        -- For Command Rewards Only --
      • "commands": list of strings
        List of commands to execute as the reward. Use %player% to include the name of the player claiming the reward.

Messages.json

Default File

{
  "prefix": "<dark_gray>[<blue>DexRewards<dark_gray>]",
  "messages": {
    "rewards_to_claim": "%prefix% You have rewards to claim!",
    "reward_claimable": "%prefix% You can claim the %group.name% rewards!",
    "rewards_claimed": "%prefix% You've claimed rewards for %group.name%!",
    "reset_command_sender": "%prefix% You've reset %player%'s pokedex reward progress!",
    "reset_command_target": "%prefix% Your pokedex reward progress has been reset!",
    "update_command": "%prefix% You've updated the pokedex reward progress of %player%",
    "reload_command": "%prefix% Reloaded!"
  },
  "gui": {
    "title": "<gold><bold>Pokedex Rewards",
    "size": 6,
    "page_layout": [
      "#########",
      "####I####",
      "#GGGGGGG#",
      "#GGGGGGG#",
      "#GGGGGGG#",
      "P#######N"
    ],
    "page_layout_symbols": {
      "background": "#",
      "player_info": "I",
      "group": "G",
      "previous_page": "P",
      "next_page": "N"
    },
    "background": {
      "item": "minecraft:gray_stained_glass_pane",
      "name": "",
      "lore": [],
      "item_data": {}
    },
    "player_info": {
      "name": "<light_purple>Pokedex Info",
      "lore": [
        "<gray>Current Rank: %player.rank%",
        "<gray>Progress: %player.caught_count%/%pokedex.total% (%player.caught_percent%%)"
      ],
      "show_enchantment_glint": true
    },
    "claimed_group": {
      "name": "<green><bold>%group.name% (%group.percent%%)",
      "lore": [
        "<blue>Already Claimed!"
      ],
      "show_enchantment_glint": false
    },
    "claimable_group": {
      "name": "<gold><bold>%group.name% (%group.percent%%)",
      "lore": [
        "<green>Claimable!"
      ],
      "show_enchantment_glint": true
    },
    "locked_group": {
      "name": "<red><bold>%group.name% (%group.percent%%)",
      "lore": [
        "<red>Not Unlocked!"
      ],
      "show_enchantment_glint": false
    },
    "navigation": {
      "previous_item": "minecraft:arrow",
      "previous_item_data": {},
      "previous_name": "<gray>Previous",
      "previous_lore": [],
      "next_item": "minecraft:arrow",
      "next_item_data": {},
      "next_name": "<gray>Next",
      "next_lore": []
    }
  }
}

Clone this wiki locally