Place cobbleclub-crates-2.1.1-cobblemon1.8.jar in both locations:
mods folder.mods folder.The same cliant and server must already have Cobblemon, Fabric API, and the Fabric Language Kotlin. Start your server up atleast once to generate the default Legendary, Shiny, and Vote crate files at: config/cobbleclub-crates/crates/.
Run these as an operator, replacing [YourName] with your Minecraft name:
/ccrates place legendary legendary
/ccrates key give YourName legendary_key 10
/ccrates gems give YourName 10000
For the placement command, look directly at the floor at the block where you want the crate to be. Right-click the new crate to open up its preview. You can also use /crates anywhere.
/crates - browse every enabled crate/crates <id> - preview a crate directly/keys - view virtual keys/gems - view Gem balance/ccrates reload/ccrates place <crate> <basic|vote|shiny|legendary> while looking at a block/ccrates remove while looking at a crate/ccrates preview <crate> [player]/ccrates gems give|take|set <player> <amount>/ccrates key give|take|set <player> <configured_key_id> <amount>Key commands only accept key IDs belonging to loaded crate definitions. Tab completion lists every allowed value; arbitrary key names are rejected.
The give commands are safe to execute from a webstore console.
Every file in config/cobbleclub-crates/crates/ defines one crate. Reward types are POKEMON, ITEM, COMMAND, GEMS, and KEY. Use normal Cobblemon properties for Pokémon, for example mewtwo level=70 or rayquaza level=70 shiny=true.
weight controls the relative chance. A reward with weight 10 is ten times as likely as one with weight 1. After changing a file, run /ccrates reload.
Player balances are stored in the active world's data/cobbleclub-crates-players.json file.
Install Pokeblocks 1.5.0 or newer and its required GeckoLib version on both the server and every client. The integration detects registered Pokeblocks items at startup and adds normal Pokédolls to Vote, shiny Pokédolls to Shiny, and legendary-rarity Pokédolls to Legendary. Existing crate JSON files are supported automatically.
The integration is optional: CobbleClub Crates still loads normally when Pokeblocks is not installed but its way better to have them!