Skip to main content

Harvesting Config

File: mods/Zuxaw_RPGLeveling/HarvestingConfig.json Controls crop harvest XP (F key on mature crops and direct-harvest plants), tier multipliers, cooldown, and manual tier overrides for modded crops. The Harvest stat (double/triple yield) is configured in Stats Level Config, not here. On startup and reload, the plugin normalizes this file (updates Version, pretty-prints) and creates HarvestingConfig.json.bak before writing, matching other manual JSON configs.

Configuration Options

PascalCase keys (same convention as Zone Level Config).

Auto-tiering

At startup (after assets load), the plugin scans seed recipes and items to assign tiers 1-4 from farming/alchemy bench requirements and essence cost. Runtime lookups are O(1). Use PlantSeedsTierOverrides when a modded crop is missing from the scan or you want a custom tier.

PlantSeedsTierOverrides

Keys can be:
  • Seed id (recommended): Plant_Seeds_Aubergine
  • Crop block id: Plant_Crop_Aubergine_Block (normalized to the seed id on load)
Values are tier 1, 2, 3, or 4 (clamped if out of range).

Example: aubergine

Vanilla aubergine is tier 2 (farming bench recipe). To treat it as tier 3 for more XP:
Equivalent using the harvest block id:
With default multipliers, tier 3 aubergine harvest XP uses 2.0 × 2.5 = 5.0 as the base before zone and player level scaling (same formula as mining/wood block XP).

Harvest XP blacklist

Use BlacklistedXPHarvestSeeds to stop XP from plants that can be picked up and placed again (or any crop you do not want to farm for XP). Matching is case-insensitive. Each comma-separated entry is checked against the harvested seed id and block/item id, including:
  • Exact seed id: Plant_Seeds_Mana2
  • Exact crop id: Plant_Crop_Mana2 (also matches Plant_Crop_Mana2_Block and Plant_Seeds_Mana2)
  • Prefix: Plant_Crop_Mushroom matches Plant_Crop_Mushroom_Common_Brown, Plant_Crop_Mushroom_Cap_Red, and other mushroom variants
  • Short plant id: Plant_Mushroom_Common matches Plant_Crop_Mushroom_Common_Brown
Plant_Crop alone is not a valid prefix (too broad). Use at least Plant_Crop_<name>. Default: Plant_Crop_Mushroom,Plant_Crop_Mana2,Plant_Crop_Health1,Plant_Crop_Stamina1 These are plants you can pick up and place again. Existing servers get any missing ids appended on next startup (your other entries are kept). Set the value to "" if you want harvest XP from them. Other mana / health / stamina tiers (Plant_Crop_Mana1, Plant_Crop_Health2, …) still grant XP unless you add them.
Run /lvl reload after editing.

Harvest XP formula

playerScale uses BlockXPPlayerLevelFactor from Main Plugin Config. Zone multipliers come from Zone Level Config.

File Location and Reload

  • Path: mods/Zuxaw_RPGLeveling/HarvestingConfig.json
  • Backup: mods/Zuxaw_RPGLeveling/HarvestingConfig.json.bak (created before each write on load/reload)
  • Edit the file and run /lvl reload (rpgleveling.command.reload) to apply changes without restarting.