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).
OptionTypeDefaultDescription
VersionString(plugin version)Auto-updated on load.
EnableHarvestXPBooleantrueIf false, no XP from crop harvest.
BlockXPBaseHarvestingDouble2.0Base XP per harvest before tier, zone, and player scaling.
HarvestTier1MultiplierDouble1.0XP multiplier for tier 1 crops.
HarvestTier2MultiplierDouble1.5XP multiplier for tier 2 crops.
HarvestTier3MultiplierDouble2.5XP multiplier for tier 3 crops.
HarvestTier4MultiplierDouble4.0XP multiplier for tier 4 crops.
BlacklistedXPHarvestSeedsString""Comma-separated seed ids (Plant_Seeds_*) that grant no harvest XP.
HarvestXPCooldownSecondsInteger45Per-player cooldown between harvest XP awards (0 = no cooldown).
PlantSeedsTierOverridesObject{}Manual tier (1-4) per crop. Keys are seed ids or crop block ids (see below).

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:
{
  "Version": "0.3.8",
  "EnableHarvestXP": true,
  "BlockXPBaseHarvesting": 2.0,
  "HarvestTier1Multiplier": 1.0,
  "HarvestTier2Multiplier": 1.5,
  "HarvestTier3Multiplier": 2.5,
  "HarvestTier4Multiplier": 4.0,
  "BlacklistedXPHarvestSeeds": "",
  "HarvestXPCooldownSeconds": 45,
  "PlantSeedsTierOverrides": {
    "Plant_Seeds_Aubergine": 3
  }
}
Equivalent using the harvest block id:
"PlantSeedsTierOverrides": {
  "Plant_Crop_Aubergine_Block": 3
}
With default multipliers, tier 3 aubergine harvest XP uses 4.0 × 2.5 = 10.0 as the base before zone and player level scaling (same formula as mining/wood block XP).

Harvest XP formula

harvestXP = BlockXPBaseHarvesting × HarvestTierNMultiplier × playerScale × zoneMultiplier × RateExp × ZoneRateExp × XpRateMultiplier
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.