Villager Overhaul

Configuration

Villager Overhaul uses a server config file for module toggles, prices, ranges, stats, chat, respawning, and balancing.

Most gameplay-sensitive behavior is server-authoritative.

Note

Server config reloads on config loading/reloading events. Existing villagers keep their saved stats and data; config changes affect how those values are interpreted.

Module Toggles

SettingDefaultWhat It Controls
enableMerchantModuletrueRerolls, locks, auto-search, auto-trade, manual trading, and Trading Hall features.
enableCombatModuletrueCombat modes, combat stats, loadouts, and combat AI.
enableFarmingModuletrueDeposit, withdraw, and manual farming.

Chat

SettingDefaultRangeNotes
localizedChatEnabledtrue in specbooleanLocalized 3D chat.
localizedChatRange261-256Normal chat range.
shoutEnabledtrue in specbooleanEnables shout prefix.
shoutHungerCost4 in spec0-20Food points consumed by shouts.
shoutPrefix!first charServer-wide shout.
whisperEnabledtrue in specbooleanEnables whisper prefix.
whisperRange31-64Whisper range.
whisperPrefix#first charLocal whisper.
chatRadius261-128Custom Commands trigger radius.
Technical note: runtime fallback

Some runtime fields have conservative defaults before config reload. The server config values are the values to edit.

Cost and Payment

SettingDefaultNotes
itemOrTagminecraft:emeraldExact item id or item tag such as #minecraft:logs.
preferWallettruePrefer Lightman's Currency wallet when possible.
autoPreferLCIfPresenttrueCan switch default emerald cost to Lightman's emerald coin.
freeOffers2Number of offers that do not add reroll cost.
costPerOffer8Cost per paid offer.
maxDeductibleLockedOffers1Legacy/preview config concept; manual source cost uses actual unlocked offers.
autoHourlyThreshold6Auto-search hourly scaling threshold.
autoHourlyDiscountOrIncreasePct5.0Percent change per threshold step.
enableMaxAutoSearchCostfalseEnables settlement clamp.
maxAutoSearchCostMultiplier10.0Clamp multiplier when enabled.

Recruitment and Respawn

SettingDefaultNotes
recruitCostMin8Minimum normalized recruit cost.
recruitCostMax64Maximum normalized recruit cost.
respawnCostMultiplier2.0Multiplies recruit cost at death.
respawnKeepEquipmentfalseRestores hands and armor from respawn snapshot.
respawnKeepInventorytrueRestores villager internal inventory from respawn snapshot.

Merchant Limits and XP

SettingDefaultNotes
cooldownTicks100Manual reroll cooldown. 0 disables the cooldown gate.
cooldownTicksAuto600Auto-search reroll cooldown.
perVillagerDaily0Daily reroll cap per villager. 0 disables it.
allowAfterTradeUsedtrueAllows rerolling after trades have been used.
manualRerollXpPerOffer1.0Base XP per rerolled offer.
autoSearchXpPerOffer0.1Base XP per auto-search rerolled offer per successful reroll.

Farming

SettingDefaultNotes
farmingHarvestItemsPerXp10Planted item progress needed per XP payout.
farmingHarvestXp1XP awarded per completed progress unit.
manualFarmBaseRange10Base max manual farming range before Ranger.
manualFarmWorkStartTick2000Start of manual farming work window.
manualFarmWorkEndTick9000End of manual farming work window.
plantWhispererIntervalSeconds60Passive Plant Whisperer check interval.
plantWhispererBaseChancePct50.0Base chance per interval.

Stat Ranges

Stats are stored as points from -100 to 100. Config ranges decide what those points mean.

Merchant Stats

RangeDefault MinDefault Max
Generosity percent-20.020.0
Timeliness percent-20.020.0
Intellect percent-20.020.0
Hoarder extra offers-33

Farming Stats

RangeDefault MinDefault Max
Motivation percent-20.020.0
Efficiency percent-20.020.0
Plant Whisperer percent-20.020.0
Ranger percent-20.020.0
Breeding stat mutation chance10.010.0

Combat Stats

RangeDefault MinDefault MaxUnit
Vitality-6.010.0Max health additive value.
Agility-0.020.03Movement speed additive value.
Strength-1.03.0Attack damage additive value.
Armor-5.015.0Armor additive value.

Combat AI Settings

Combat AI toggles such as blocking, eating, circling, eat force hits, and eat max resets are saved through combat settings rather than the main server config.

Use:

  • Per-villager Combat Settings for one villager.
  • Global Combat Settings for a reusable template.
  • Sync to copy the global template onto a villager.

Balancing Advice

  • Increase costPerOffer if rerolling replaces ordinary villager progression too quickly.
  • Increase cooldownTicksAuto if auto-search feels too fast.
  • Keep manualFarmBaseRange modest unless you want each farmer to cover a very large area.
  • Use stat ranges instead of rerolling stats if you want a server-wide balance change.
  • Enable max auto-search cost if you want long searches to have a hard ceiling.
Deep dive: percent directions

Generosity and Timeliness are discount-style stats: positive values reduce cost or cooldown.

Intellect is multiplier-style: positive values increase XP.

Motivation scales the farming work window length around its midpoint.

Efficiency is chance-based: positive can save seeds/bonemeal, negative can consume extra.

Support This Project

Like this wiki and these mods?

Every bit of support helps me keep building features, writing docs, and shipping updates.

Back to top