Перейти к содержимому
Mineforgian

CobblemonTrainers (Discontinued)

Adds a trainer battle system to Cobblemon with challenging trainer AI

268K загрузок67 подписчиковLicenseRef-Apache-2.0-with-Commons-Clausefabricforge

Обновлён 6 августа 2024 г. · опубликован 8 января 2024 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.1.11+1.5.2Релиз1.20.1fabric6 августа 2024 г..jar (219 КБ)
1.1.11+1.5.2Релиз1.20.1forge6 августа 2024 г..jar (213 КБ)
1.1.10+1.5.2Релиз1.20.1fabric5 августа 2024 г..jar (220 КБ)
1.1.10+1.5.2Релиз1.20.1forge5 августа 2024 г..jar (214 КБ)
1.1.9+1.5.2Релиз1.20.1fabric2 июня 2024 г..jar (170 КБ)
1.1.9+1.5.2Релиз1.20.1forge2 июня 2024 г..jar (166 КБ)
1.1.8+1.5.2Релиз1.20.1fabric1 июня 2024 г..jar (170 КБ)
1.1.8+1.5.2Релиз1.20.1forge1 июня 2024 г..jar (166 КБ)
1.1.7+1.5.2Релиз1.20.1fabric29 мая 2024 г..jar (170 КБ)
1.1.7+1.5.2Релиз1.20.1forge29 мая 2024 г..jar (166 КБ)
1.1.6+1.5.2Релиз1.20.1fabric28 мая 2024 г..jar (170 КБ)
1.1.6+1.5.2Релиз1.20.1forge28 мая 2024 г..jar (166 КБ)
1.1.5+1.5.0Релиз1.20.1fabric16 мая 2024 г..jar (169 КБ)
1.1.5+1.5.0Релиз1.20.1forge16 мая 2024 г..jar (175 КБ)
1.1.4+1.5.0Релиз1.20.1fabric16 мая 2024 г..jar (169 КБ)

Показаны последние 15 из 54 версий. Все версии — на Modrinth.

Ченджлог

1.1.11+1.5.2Релиз1.20.1 · 6 августа 2024 г.
  • Fixed Forge crash when using Strong AI.
1.1.11+1.5.2Релиз1.20.1 · 6 августа 2024 г.
  • Fixed Forge crash when using Strong AI.
1.1.10+1.5.2Релиз1.20.1 · 5 августа 2024 г.
  • Added Strong battle AI, currently under development for use in official trainers in a future Cobblemon update.
  • Added /trainers usestrongai - 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.
1.1.10+1.5.2Релиз1.20.1 · 5 августа 2024 г.
  • Added Strong battle AI, currently under development for use in official trainers in a future Cobblemon update.
  • Added /trainers usestrongai - 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.
1.1.9+1.5.2Релиз1.20.1 · 2 июня 2024 г.
  • Fixed shiny trainer Pokémon not appearing shiny.
1.1.9+1.5.2Релиз1.20.1 · 2 июня 2024 г.
  • Fixed shiny trainer Pokémon not appearing shiny.
1.1.8+1.5.2Релиз1.20.1 · 1 июня 2024 г.
  • Fixed incorrect Pokémon data loading order causing some abilities not to be selectable.
1.1.8+1.5.2Релиз1.20.1 · 1 июня 2024 г.
  • Fixed incorrect Pokémon data loading order causing some abilities not to be selectable.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…