SimpleDexRewards
A modification for Cobblemon 1.6+ running on Minecraft 1.21.1 with Fabric that implements a comprehensive reward system for Pokedex completion. Allows configuring rewards for achieving various completion milestones, supporting different types of prizes: items, Pokemon, and execution of custom commands.
Installation and Dependencies
The following components are required for the mod to work:
- Cobblemon (version 1.6 and above)
- GooeyLibs (required only on the server side)
Main Features
Reward System
- Various types of rewards (items, Pokemon, commands)
- Configurable completion levels with trainer ranks
- Interactive interface with tooltips showing all available rewards
- Direct reward claiming through the user interface
- Server-side functionality with client interface
- Dynamic configuration reloading without server restarts
Reward Types
ITEM: Any item from any modsPOKEMON: Customizable Pokemon rewards (species, level, shiny status)COMMAND: Execution of custom commands with placeholders
Configuration
rewardconfig.json
{
"enablePermissionNodes": true,
"completionTiers": [10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
"rewards": {
"100": {
"row": 5, // Position of the reward level in the interface grid
"slot": 7, // Position of the reward level in the interface grid
"rewards": [ // All actual rewards for this level
{
"type": "ITEM",
"data": {
"id": "minecraft:nether_star",
"Count": 1
}
},
{
"type": "POKEMON",
"data": {
"species": "Rayquaza",
"shiny": true,
"level": 50
}
},
{
"type": "COMMAND",
"data": {
"id": "minecraft:paper",
"display_name": "Totem of Undying"
},
"command": "give @p minecraft:totem_of_undying 1" // You can also use %player% for custom commands, such as assigning ranks
}
],
"display": {
"type": "tier_100",
"format": "Master Trainer", // Name of the level
"item": "cobblemon:master_ball" // Interface element displayed for this level
}
}
}
}
Player Data
{
"version": "1.0",
"claimedRewards": [25], // Claimed completion levels
"caughtPokemon": ["Pikachu", "Charmander"], // Tracked Pokemon
"settings": {
"notifications": true
}
}
Commands
Player Commands
/dexrewards- Open the rewards interface
Admin Commands
/dexrewards reload- Reload configuration files
Interface Organization
The rewards interface is organized in a grid layout where:
- Levels are arranged in rows (1-5) and cells (1-9)
- Each level displays its name and completion percentage
- Hovering over a level shows all available rewards
- The displayed item for each level can be customized
- Claimed rewards are visually marked
Permissions
cobblemonpokedex.use- Access to player commandscobblemonpokedex.admin- Access to admin commands