All Mods Resource Packs Data Packs Shaders Modpacks Plugins
CobblemonTrainers (Discontinued)

CobblemonTrainers (Discontinued)

by selfdot • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

image

Cobblemon Trainers introduces a trainer battle system to Cobblemon, designed to seamlessly integrate with interactable NPC mods.\ These trainers feature a custom AI inspired by Generation 5's trainer AI, ensuring engaging and challenging battles.

  • Customize trainer teams extensively, including Moves, IVs, EVs, Abilities, Level, and Nature, offering diverse and challenging battles.
  • Access any Pokémon available on your server, including those from datapacks.
  • Efficiently organize trainers into groups for streamlined navigation within the setup interface.
  • Define win commands for trainers, enabling post-battle rewards such as economy-based incentives.

Commands Overview:

  • /trainers add \<name> [\<group>]: Establish a new trainer with an empty team, optionally assigning them to a specific group.
  • /trainers setup: Access the GUI to configure trainers' teams.
  • /trainers setwincommand \<trainer> \<command>: Specify the command executed upon defeating a trainer, with automatic player name substitution (%player%).
  • /trainers setlosscommand \<trainer> \<command>: Define the command executed when a player is defeated by a trainer, with automatic player name substitution (%player%).
  • /trainers setgroup \<trainer> \<group>: Group trainers under specified names in the setup GUI for organizational purposes.
  • /trainers remove \<trainer>: Delete a trainer from the system.
  • /trainers rename \<oldName> \<newName>: Modify a trainer's name (reflects in battle logs).
  • /trainers setcanonlybeatonce \<trainer> true/false: Toggle whether a trainer can only be defeated once.
  • /trainers addpokemon \<trainer> \<pokemon>: Add a Pokémon to a trainer's team via command similar to /pokegive.
  • /trainers addfromparty \<trainer> \<partySlot>: Add a Pokémon from the player's party to a trainer's team.
  • /trainers setcooldownseconds \<trainer> \<cooldownSeconds>: Set the cooldown duration for battling the trainer.
  • /trainers setpartymaximumlevel \<trainer> \<maxLevel>: Set a maximum level for the player's party to battle a trainer.
  • /trainers adddefeatrequirement \<trainer> \<defeatRequirement>: Makes it so the given trainer cannot be battled unless the player has defeated a certain trainer.
  • /trainers removedefeatrequirement \<trainer> \<defeatRequirement>: Removes a defeat requirement.
  • /trainers resetwintracker \<player> \<trainer>: Clears whether the given player has defeated the given trainer in the past.
  • /trainers usegen5ai: Set trainer battle AI to Generation 5 AI.
  • /trainers usestrongai \<level>: Set trainer battle AI to Strong AI currently under development for official trainers in Cobblemon.
  • /trainers battle [\<trainer>]: Initiate a battle with a trainer. Omitting the trainer argument will open a trainer select menu.
  • /trainers makebattle \<player> \<trainer> [\<trainerEntity>]: Commence a battle between a player and a trainer.
  • /trainers reload: Refresh the trainer data file; caution advised for manual edits.

Utilize single quotes for trainer names or commands with spaces. For instance: /trainers add 'Ash Ketchum'\ To include single quotes within a string, utilize \': 'say \'hello\'' becomes say 'hello'

All commands require permission level 2 or their corresponding permission nodes:

  • "selfdot.trainers.reload" - /trainers reload
  • "selfdot.trainers.battle" - /trainers battle \<trainer>
  • "selfdot.trainers.makebattle" - /trainers makebattle \<player> \<trainer>
  • "selfdot.trainers.edit" - All other commands.

Config Options:

  • xpEnabled: Controls whether player Pokémon will gain XP from battling trainers.

Graphics by twsparklecat

image

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.19.2
Forge
2h ago 1
1.19.2
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
1.20.1
Forge
2h ago 1
1.20.1
Fabric
2h ago 1
  • Fixed Forge crash when using Strong AI.
  • Fixed Forge crash when using Strong AI.
  • Added Strong battle AI, currently under development for use in official trainers in a future Cobblemon update.
  • Added /trainers usestrongai <level> - Sets all trainers to use Strong AI. Level can be 0-5.
  • As the Strong AI is under development, you may encounter bugs/strange behaviour. Reporting these problems will be greatly appreciated.
  • Added /trainers usegen5ai - Sets all trainers to use Gen 5 AI.
  • Added Strong battle AI, currently under development for use in official trainers in a future Cobblemon update.
  • Added /trainers usestrongai <level> - Sets all trainers to use Strong AI. Level can be 0-5.
  • As the Strong AI is under development, you may encounter bugs/strange behaviour. Reporting these problems will be greatly appreciated.
  • Added /trainers usegen5ai - Sets all trainers to use Gen 5 AI.
  • Fixed shiny trainer Pokémon not appearing shiny.
  • Fixed shiny trainer Pokémon not appearing shiny.
  • Fixed incorrect Pokémon data loading order causing some abilities not to be selectable.
  • Fixed incorrect Pokémon data loading order causing some abilities not to be selectable.
  • Re-re-enabled trainer Pokémon send out animation on Fabric.
  • Fixed trainer Pokémon not being recalled at the end of a fight on Forge.
  • Fixed trainer Pokémon dropping items on Forge.
  • Fixed battles not starting after your first battle on Forge.

  • Re-re-enabled trainer Pokémon send out animation on Fabric.
  • Fixed trainer Pokémon not being recalled at the end of a fight on Forge.
  • Fixed trainer Pokémon dropping items on Forge.
  • Fixed battles not starting after your first battle on Forge.

  • Fixed crash when trainer's Pokémon have a status condition.
  • Re-enabled trainer Pokémon send out animation.
  • Made Fabric Permissions API be included in the Fabric version.
  • Fixed crash when trainer's Pokémon have a status condition.
  • Re-enabled trainer Pokémon send out animation.
  • Made Fabric Permissions API be included in the Fabric version.
  • Removed debug command /selfdot.
  • Removed debug command /selfdot.
  • Added config option "commandExecutor".
  • Set to "CONSOLE" by default (@p and @s will no longer target the player on this setting).
  • Must be set to "PLAYER" on Mohist otherwise the server will crash.
  • Added held item to Pokémon item lore in setup menu.
  • Added config option "commandExecutor".
  • Set to "CONSOLE" by default (@p and @s will no longer target the player on this setting).
  • Must be set to "PLAYER" on Mohist otherwise the server will crash.
  • Added held item to Pokémon item lore in setup menu.
  • Fixed crash on Forge when trainer tries to send out Pokémon.
  • On Forge, the Poké Ball animation no longer plays when a trainer sends out a Pokémon (source of the above crash).
  • Fixed crash on Forge when trainer tries to send out Pokémon.
  • On Forge, the Poké Ball animation no longer plays when a trainer sends out a Pokémon (source of the above crash).
  • Fixed win/loss commands causing an error on Mohist.
  • @p and @s will now target the player in win/loss commands (%player% also still works).
  • Fixed win/loss commands causing an error on Mohist.
  • @p and @s will now target the player in win/loss commands (%player% also still works).
  • Fixed win/loss commands causing an error on Mohist.
  • @p and @s will now target the player in win/loss commands (%player% also still works).
  • Fixed win/loss commands causing an error on Mohist.
  • @p and @s will now target the player in win/loss commands (%player% also still works).
  • Fixed battle error when trainer uses a recharge move.
  • Fixed battle error when trainer uses a recharge move.
  • Fixed custom Pokémon types causing trainer AI to crash. AI will now assume neutral damage whenever custom types are involved.
  • Added "Edit team order" screen in setup menu.
  • Added Gender edit button in setup menu.
  • Fixed custom Pokémon types causing trainer AI to crash. AI will now assume neutral damage whenever custom types are involved.
  • Added "Edit team order" screen in setup menu.
  • Added Gender edit button in setup menu.
  • Made setup menu item names not be in italics.
  • Made running just "/trainers battle" open a trainer battle select menu.
  • Added form selection when adding new Pokémon, and forms will be preserved when using addpokemon and addfromparty.
  • Prevented starting a battle with a trainer that has no Pokémon.
  • Made setup menu item names not be in italics.
  • Made running just "/trainers battle" open a trainer battle select menu.
  • Added form selection when adding new Pokémon, and forms will be preserved when using addpokemon and addfromparty.
  • Prevented starting a battle with a trainer that has no Pokémon.
  • Fixed commands being unusable on singleplayer.
  • Fixed trainer using a ditto causing a battle error.
  • Fixed trainer attempting to switch to a Pokémon it has previously switched to causing a battle error.
  • Fixed commands being unusable on singleplayer.
  • Fixed trainer using a ditto causing a battle error.
  • Fixed trainer attempting to switch to a Pokémon it has previously switched to causing a battle error.
CobblemonTrainers (Discontinued) Icon
Download CobblemonTrainers (Discontinued)
Select game version
Select platform