Skip to content

Rewards Configuration

R3CT edited this page Jul 27, 2026 · 3 revisions

πŸ’Ž Rewards Configuration

The r3ct_collection_rewards.json file is where you balance the mod's economy. You can adjust the Experience Points (XP) players get for submitting items and set up exciting Milestone Rewards.

File Location: config/r3ct_collection/r3ct_collection_rewards.json


πŸ“ The JSON Structure

{
  "_comment_version": "Do not change the version number! It is used for automatic config updates.",
  "version": 2,

  "xpCommon": 10,
  "xpUncommon": 50,
  "xpRare": 100,
  "xpEpic": 250,

  "milestoneInterval": 100,

  "milestoneRewards": [
    {
      "item": "minecraft:emerald",
      "min_amount": 24,
      "max_amount": 32,
      "chance": 45,
      "color": "&a"
    },
    {
      "item": "minecraft:diamond",
      "min_amount": 16,
      "max_amount": 24,
      "chance": 45,
      "color": "&b"
    },
    {
      "item": "minecraft:netherite_scrap",
      "min_amount": 1,
      "max_amount": 2,
      "chance": 10,
      "color": "&5"
    }
  ]
}

πŸ” Parameter Breakdown

🌟 XP Rarity System

When a player submits an item, the mod checks the item's inherent Vanilla Rarity (the color of its name) and grants XP based on these values:

  • xpCommon (Integer): XP for standard items (White name). Default: 10.
  • xpUncommon (Integer): XP for uncommon items (Yellow name). Default: 50.
  • xpRare (Integer): XP for rare items (Aqua name). Default: 100.
  • xpEpic (Integer): XP for epic items (Light Purple name). Default: 250.

🎁 Milestone Rewards

These are random loot drops given to players when they collect a certain amount of items.

  • milestoneInterval (Integer): How often the reward triggers. If set to 100, the player gets a loot box at 100 items, 200 items, 300 items, etc. Set to 0 to disable this feature.
  • milestoneRewards (Array): The loot pool for milestones.
  • item: Registry name of the reward item.
  • min_amount / max_amount: The random quantity range given.
  • chance: The drop percentage. Pro Tip: For the best and most predictable experience, ensure the sum of all chances in your list equals exactly 100. (If they don't sum to 100, the mod will still safely calculate the odds, but the actual drop percentages will differ from the written values).
  • color (String): The visual color code for this reward in chat announcements. Uses standard Minecraft formatting with & (e.g., &a for Green, &b for Aqua, &5 for Purple).

Clone this wiki locally