▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CobbleBattleRewards
CobbleBattleRewards

CobbleBattleRewards

A simple mod to provide rewards for completing battles with cobblemon

Оцените первым
5.8K
10

CobbleBattleRewards

CobbleBattleRewards is a configurable Fabric mod for rewarding players during Cobblemon battles and captures. Rewards can be edited in-game with a GUI reward editor or configured manually through the config file.

Create rewards for battle wins, losses, forfeits, captures, out-of-battle catches, and wild Pokémon kills. Rewards can give items, run commands, use economy plugins, target specific Pokémon, and apply filters for species, forms, aspects, types, labels, levels, dimensions, and more.

Dependencies


Features

  • In-Game Reward Editor: Create, edit, move, and delete rewards through /cbr gui.
  • Multiple Reward Triggers: Reward battle wins, losses, forfeits, captures, out-of-battle captures, and wild Pokémon kills.
  • Item and Command Rewards: Give item stacks or run server commands, including economy commands.
  • Pokemon Targeting: Select Pokémon, forms, aspects, shiny variants, labels, and scanned conditions through the GUI.
  • Allow/Block Filter Modes: Use filters as requirements or exclusions for Pokémon, labels, and scanned conditions.
  • Battle Type Support: Configure rewards for wild, NPC, and PvP battles.
  • Priority System: Higher priority rewards run first, and rewards can block lower-priority rewards with excludedRewards.
  • Cooldowns and Chance: Add per-reward cooldowns and chance rolls.
  • Dimension and Level Filters: Limit rewards to specific dimensions or Pokémon level ranges.
  • Safe Config Migration: Older configs are migrated forward automatically.

Commands

CommandPermissionDescription
/cbr guicobblebattlerewards.guiOpens the in-game reward editor GUI.
/cbr editguicobblebattlerewards.guiAlso opens the reward editor GUI.
/cbr reloadcobblebattlerewards.reloadReloads the config from disk without a server restart.
/cbr listrewardscobblebattlerewards.listLists configured rewards in chat.
/cbr listconditionscobblebattlerewards.list_conditionsLists available Pokémon condition data for advanced filtering.

GUI Reward Editor

The GUI editor is the recommended way to manage rewards.

With /cbr gui, you can:

  • Add command rewards.
  • Add item rewards by placing an item into the GUI.
  • Change reward category.
  • Edit reward chance, priority, message, command, and item payload.
  • Select Pokémon, forms, aspects, and shiny variants.
  • Select Cobblemon form labels.
  • Scan Pokémon data for advanced condition filters.
  • Toggle allow/block modes for each filter group.
  • Enable out-of-battle capture or wild kill rewards.
  • Delete rewards safely from the GUI.

Configuration

CobbleBattleRewards stores its config at:

config/cobblebattlerewards/config.jsonc

Most users should use the GUI editor, but manual config editing is still supported.

The config has four main reward categories:

  • battleWonRewards
  • battleLostRewards
  • battleForfeitRewards
  • captureRewards

Common reward settings:

SettingDescription
type"item" gives an item. "command" runs a server command.
chancePercentage chance from 0.0 to 100.0.
messageMessage sent to the player when the reward is given.
commandCommand to run for command rewards. Do not include /.
itemStackJSON item stack data for item rewards.
battleTypesSupported battle types: "wild", "npc", "pvp".
conditionsPokémon/species/form/aspect filters, usually managed by the GUI.
disallowedLabelsLabel filters selected through the GUI.
exclusionConditionsAdvanced scanned condition filters selected through the GUI.
pokemonConditionsBlacklistMakes Pokémon filters act as block filters.
labelConditionsBlacklistMakes label filters act as block filters.
scannedConditionsBlacklistMakes scanned condition filters act as block filters.
rewardOutOfBattleCaptureAllows capture rewards from normal out-of-battle catches.
rewardOutOfBattleKillAllows battle-won rewards from wild Pokémon kills outside battle.
minLevel / maxLevelLevel range required for the reward.
orderReward priority. Higher numbers run first.
excludedRewardsReward IDs blocked if this reward is given.
cooldownSeconds before the player can receive this reward again.
allowedDimensionsDimension IDs where the reward can trigger. Empty means all dimensions.

Placeholders

Messages and commands support:

  • %player%
  • %pokemon%
  • %level%
  • %battleType%
  • %chance%
  • %coords%
  • %trigger%
  • %time%

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 год назад
Обновлён:2 недели назад
Главная