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).| Option | Type | Default | Description |
|---|---|---|---|
Version | String | (plugin version) | Auto-updated on load. |
EnableHarvestXP | Boolean | true | If false, no XP from crop harvest. |
BlockXPBaseHarvesting | Double | 2.0 | Base XP per harvest before tier, zone, and player scaling. |
HarvestTier1Multiplier | Double | 1.0 | XP multiplier for tier 1 crops. |
HarvestTier2Multiplier | Double | 1.5 | XP multiplier for tier 2 crops. |
HarvestTier3Multiplier | Double | 2.5 | XP multiplier for tier 3 crops. |
HarvestTier4Multiplier | Double | 4.0 | XP multiplier for tier 4 crops. |
BlacklistedXPHarvestSeeds | String | "" | Comma-separated seed ids (Plant_Seeds_*) that grant no harvest XP. |
HarvestXPCooldownSeconds | Integer | 45 | Per-player cooldown between harvest XP awards (0 = no cooldown). |
PlantSeedsTierOverrides | Object | {} | 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). UsePlantSeedsTierOverrides 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)
Example: aubergine
Vanilla aubergine is tier 2 (farming bench recipe). To treat it as tier 3 for more XP: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
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.
Related
- Configuration Overview - All config files.
- Stats Level Config - Harvest stat (double/triple yield chances).
- Main Plugin Config -
RateExp,BlockXPPlayerLevelFactor. - Formulas - Block XP and zone scaling.
