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

CobbleBattleRewards

A simple mod to provide rewards for completing battles with cobblemon

3.9K
10

CobbleBattleRewards

CobbleBattleRewards is a powerful and highly configurable Fabric mod designed to supercharge your server's economy and player engagement. It provides a robust framework for rewarding players with items and commands for participating in and winning Cobblemon battles and captures.

Dependencies


Features

  • Multiple Reward Triggers: Grant rewards for a variety of outcomes, including winning a battle, losing a battle, forfeiting, and successfully capturing a Pokémon.
  • All Battle Types Supported: Create unique reward pools for battles against Wild Pokémon, NPC Trainers, and other Players (PvP).
  • Flexible Reward System: Reward players with specific items (including full NBT data) or by executing server commands, making it compatible with any economy plugin.
  • Advanced Targeting Engine: Assign rewards with pinpoint accuracy. Target Pokémon based on their species, type, level, dimension, and dozens of other specific properties. You can even blacklist conditions to exclude common Pokémon.
  • Tiered & Prioritized Rewards: Use a powerful order and exclude system to create reward priorities. For example, you can make a rare reward for defeating a specific Legendary Pokémon override a more common reward for its type.
  • Configurable Cooldowns: Prevent reward farming and balance your economy with a configurable cooldown system for each individual reward.

Commands

Manage the mod's settings and view its configuration directly in-game.

CommandPermissionDescription
/cbr reloadcobblebattlerewards.reloadReloads the config.json file from disk without a server restart.
/cbr listrewardscobblebattlerewards.listDisplays a formatted list of all currently configured rewards directly in chat.
/cbr listconditionscobblebattlerewards.list_conditions(Very Useful!) Lists all available Pokémon properties (like type, ability, ivs, etc.) that you can use in the conditions section of the config.

Configuration

CobbleBattleRewards features a single, powerful configuration file located at config/cobblebattlerewards/config.json. This file allows you to define every aspect of the reward system.

The config is structured into four main reward categories:

  • battleWonRewards
  • battleLostRewards
  • battleForfeitRewards
  • captureRewards

Within each category, you can define any number of unique, named rewards. Here are the standout options for configuring a reward:

SettingDescription
typeThe type of reward. Can be "item" to give the player an item, or "command" to execute a server command.
chanceThe percentage chance (from 0.0 to 100.0) for this reward to be triggered.
commandIf type is "command", this is the command that will be executed. It supports placeholders like %player% and %pokemon%.
itemStackIf type is "item", this is the JSON representation of the item to be given.
battleTypesA list of battle types this reward applies to: "wild", "npc", "pvp".
conditions(Powerful!) A list of conditions the opponent Pokémon must meet. Use /cbr listconditions to see all possibilities. Examples: ["type=ghost"], ["cobblemon:pikachu"].
conditionsBlacklistIf true, this reward will trigger only if the Pokémon does not meet the specified conditions. Perfect for excluding common Pokémon from a general reward pool.
minLevel & maxLevelDefines the level range the opponent Pokémon must be in for the reward to be considered.
orderAn integer that sets the reward's priority. Lower numbers are processed first. This allows you to have specific rewards (e.g., for Zapdos, order: 1) override more general rewards (e.g., for any Electric type, order: 2).
excludedRewardsA list of other reward names that will be blocked from triggering if this reward is successfully given. Essential for creating mutually exclusive rewards.
cooldownThe time in seconds a player must wait before they can receive this specific reward again.
allowedDimensionsA list of dimension IDs where this reward is active (e.g., ["minecraft:overworld"]). If left empty, it applies to all dimensions.

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

Minecraft: Java Edition

1.21.x

Платформы

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

Сервер

Создатели

Детали

Лицензия:LGPL-3.0-only
Опубликован:1 год назад
Обновлён:2 месяца назад
Главная