CobblemonMegas
This mod operates exclusively on the server side and adds precise Mega Evolution battle mechanics from the original games to Cobblemon, including the ability to evolve both in and out of battle.
Key Features
Mega stones are required to activate Mega Evolution, and their appearance can be customized using resource packs. During battle, evolution can be triggered either by pressing a special button in the move selection menu or by right-clicking with a Key Stone item.
Command System
/megaevolve (requires permission "selfdot.megas.megaevolve")
- Available only during battle
- Applies to the player's active Pokémon
- Activates Mega Evolution in the current turn when an attack is used
- Each player can use Mega Evolution only once per battle
/megaevolve <partySlot> (requires permission "selfdot.megas.megaevolveslot")
- Toggles the mega form of a Pokémon
- Works both in and out of battle
- When used in battle, applies to the active Pokémon with the same rules as
/megaevolve
/getmegastone <megaStone> (requires permission "selfdot.megas.getmegastone")
- Gives the player the specified mega stone
- Only works with stones from the whitelist
/givemegastone <megaStone> <player> (requires permission "selfdot.megas.givemegastone")
- Gives the specified player a particular mega stone
- Only supports approved mega stones
/givekeystone <player> (requires permission "selfdot.megas.givekeystone")
- Gives a player a Key Stone
/megas reload (requires permission "selfdot.megas.reload")
- Reloads the configuration file
Configuration
The configuration file is located at config/cobblemonmegas/config.json:
megaStoneWhitelist- determines which mega stones can be obtained and used (by default, all stones are allowed when the server first starts)megaRayquazaAllowed- allows or prohibits Mega Evolution for Rayquaza (allowed by default)
Resource Packs and Models
For creating custom mega stone textures, specialized resource packs can be used. Pokémon models in mega form are configured by adding the "mega" aspect (or "mega-x", "mega-y" for Charizard and Mewtwo) to the model resolver.
