Описание
**Cobblemon Random Battles**
Bring the thrill of Pokémon Showdown's Random Battles directly into your Cobblemon server!
Cobblemon Random Battles is a server-side minigame mod that lets players instantly jump into competitive, fair, and unpredictable Pokémon battles.
**Features**
- True Random Teams: Upon starting a battle, both participants are temporarily given a full team of 6 random Pokémon. These Pokémon are generated using Showdown data.
- Safe Party Restoration: Your original Pokémon are completely safe! Once the battle concludes, your original team is instantly restored. The mod features robust fail-safes so your team is restored even if you flee, win, lose, or suddenly disconnect mid-battle.
- PvP Matchmaking: Use the sleek built-in GUI (/randombattle menu) to join a server-wide matchmaking queue and get matched with another random player looking for a fight.
- Direct Player Challenges: Want to battle a specific friend? Challenge them with /randombattle challenge ! They will receive a beautiful, interactive chat message with clickable [ ACCEPT ] and [ DECLINE ] buttons.
- Proximity Checks: Prevents cross-map sniping by requiring players to be within 20 blocks of each other to send and accept direct challenges.
**Commands**
- /randombattle menu - Opens the main minigame UI to join the matchmaking queue or select a player to challenge.
- /randombattle challenge - Sends a battle request to a specific player.
- /randombattle accept - Accepts an incoming battle request.
- /randombattle decline - Declines an incoming battle request.
**Installation**
This is a server-side mod. Clients do not need to install it to play! Simply drop the .jar into your server's mods folder. Make sure you also have the base Cobblemon mod installed!
**Note:** This mod is currently in **Alpha**. A future update will introduce configuration files allowing server owners to map custom items (like Mega Stones or Z-Crystals from addons) to the random showdown teams!