Configuration Reference

All settings live in config/tribulation.json. Auto-generated on first launch with defaults.

general

Core settings that control the overall scaling system.

Key Type Default Description
maxLevelint250Maximum player difficulty level
levelUpTicksint72000Ticks of playtime per level (72000 = 1 hour)
mobDetectionRangedouble32.0Range (blocks) to find nearest player for scaling
excludedEntitiesstring[][]Entity IDs exempt from all scaling
notifyLevelUpbooleantrueShow chat message on level up
notifyLevelUpShowTierbooleantrueInclude tier info in level-up notification
{
  "general": {
    "maxLevel": 250,
    "levelUpTicks": 72000,
    "mobDetectionRange": 32.0,
    "excludedEntities": [],
    "notifyLevelUp": true,
    "notifyLevelUpShowTier": true
  }
}

timeScaling

Toggle for the time/level scaling axis.

KeyTypeDefaultDescription
enabledbooleantrueWhether player level affects mob stats

distanceScaling

Controls how horizontal distance from world spawn boosts mob stats.

KeyTypeDefaultDescription
enabledbooleantrueEnable distance scaling axis
startingDistancedouble1000Blocks from spawn before scaling begins
increasingDistancedouble300Blocks per additional factor step
distanceFactordouble0.1Factor added per step
maxDistanceFactordouble1.5Maximum distance factor
excludeInOtherDimensionsbooleantrueOnly apply in the Overworld
{
  "distanceScaling": {
    "enabled": true,
    "startingDistance": 1000,
    "increasingDistance": 300,
    "distanceFactor": 0.1,
    "maxDistanceFactor": 1.5,
    "excludeInOtherDimensions": true
  }
}

heightScaling

Controls how Y-level deviation from sea level boosts mob stats.

KeyTypeDefaultDescription
enabledbooleantrueEnable height scaling axis
startingHeightdouble62Y-level baseline (sea level)
heightDistancedouble30Blocks of Y deviation per step
heightFactordouble0.1Factor added per step
maxHeightFactordouble0.5Maximum height factor
positiveHeightScalingbooleantrueScale mobs above baseline
negativeHeightScalingbooleantrueScale mobs below baseline
excludeInOtherDimensionsbooleantrueOnly apply in the Overworld

statCaps

Hard ceilings on the total scaling factor for each attribute (all axes combined).

KeyTypeDefaultDescription
maxFactorHealthdouble4.0Max health multiplier
maxFactorDamagedouble4.5Max damage multiplier
maxFactorSpeeddouble0.5Max speed bonus
maxFactorProtectiondouble2.0Max armor multiplier
maxFactorFollowRangedouble1.5Max follow range multiplier

deathRelief

Level reduction on death acts as a natural difficulty rubber-band.

KeyTypeDefaultDescription
enabledbooleantrueEnable death level reduction
amountint2Levels lost per death
cooldownTicksint6000Ticks between reductions
minimumLevelint0Level floor (will not reduce below this)

shards

Shatter Shard drop and use configuration.

KeyTypeDefaultDescription
enabledbooleantrueEnable shard drops
dropStartLevelint25Minimum player level for shards to drop
shardPowerint5Levels reduced when consuming a shard
dropChancedouble0.005Drop probability per kill (0.0–1.0)
sideEffectsbooleantrueApply debuffs on shard use

hardcoreHearts

Permanent max-health reduction on death. Disabled by default.

KeyTypeDefaultDescription
enabledbooleanfalseEnable hardcore hearts system
heartsLostPerDeathint2Half-hearts lost per death (1–20)
minimumHeartsint2Minimum half-hearts (floor)
heartsRestoredPerFragmentint2Half-hearts restored per Heart Fragment
{
  "hardcoreHearts": {
    "enabled": false,
    "heartsLostPerDeath": 2,
    "minimumHearts": 2,
    "heartsRestoredPerFragment": 2
  }
}

soulInventory

Inventory destruction on death. Disabled by default.

KeyTypeDefaultDescription
enabledbooleanfalseEnable soul inventory system
soulboundEnchantmentstring"tribulation:soulbound"Enchantment ID that protects items
destroyXpbooleanfalseAlso destroy XP on death
respectKeepInventorybooleantrueSkip destruction if keepInventory is on

scaling

Per-mob scaling rates and caps. Keyed by mob path (e.g., "zombie") or full ID (e.g., "mymod:custom_mob").

KeyTypeDefault (Zombie)Description
healthRatedouble0.010Health factor gained per level
healthCapdouble2.50Max time-axis health factor
damageRatedouble0.015Damage factor per level
damageCapdouble3.75Max time-axis damage factor
speedRatedouble0.0012Speed factor per level
speedCapdouble0.30Max time-axis speed factor
armorRatedouble0.032Armor factor per level
armorCapdouble8.0Max armor factor
{
  "scaling": {
    "zombie": {
      "healthRate": 0.010, "healthCap": 2.50,
      "damageRate": 0.015, "damageCap": 3.75,
      "speedRate": 0.0012, "speedCap": 0.30,
      "armorRate": 0.032, "armorCap": 8.0
    }
  }
}

unlistedHostileMobs

Fallback scaling for modded mobs extending Monster not in the scaling map.

KeyTypeDefaultDescription
enabledbooleantrueApply fallback scaling
excludedNamespacesstring[][]Mod namespaces to exclude
scalingMobScaling(zombie health+damage)Scaling values for unlisted mobs
{
  "unlistedHostileMobs": {
    "enabled": true,
    "excludedNamespaces": ["bosses_of_mass_destruction"],
    "scaling": {
      "healthRate": 0.010, "healthCap": 2.50,
      "damageRate": 0.015, "damageCap": 3.75,
      "speedRate": 0.0, "speedCap": 0.0
    }
  }
}

specialZombies

Zombie variant spawn configuration.

KeyTypeDefaultDescription
enabledbooleantrueEnable zombie variants
bigZombieChanceint10Percent chance for big variant
bigZombieSizedouble1.3Scale multiplier
speedZombieChanceint10Percent chance for speed variant
speedZombieSpeedFactordouble1.3Speed multiplier for speed zombies

bosses

Boss mob scaling uses a separate, gentler formula.

KeyTypeDefaultDescription
affectBossesbooleantrueEnable boss scaling
bossMaxFactordouble3.0Maximum total factor for bosses
bossDistanceFactordouble0.1Distance scaling rate for bosses
bossTimeFactordouble0.3Time scaling rate for bosses

xpAndLoot

Rewards for killing scaled mobs.

KeyTypeDefaultDescription
extraXpbooleantrueEnable XP bonus scaling
maxXpFactordouble2.0Maximum XP multiplier
dropMoreLootbooleanfalseEnable extra loot drops
moreLootChancedouble0.02Base extra loot chance per level
maxLootChancedouble0.7Maximum extra loot probability

tiers

Level thresholds for ability tiers.

KeyTypeDefaultDescription
tier1int50Level for Tier 1 abilities
tier2int100Level for Tier 2
tier3int150Level for Tier 3
tier4int200Level for Tier 4
tier5int250Level for Tier 5

mobToggles

Per-mob on/off switches. Set to false to completely disable scaling for a specific mob type.

{
  "mobToggles": {
    "zombie": true,
    "skeleton": true,
    "creeper": true,
    "spider": true,
    "cave_spider": true,
    "endermite": true,
    "silverfish": true,
    "drowned": true,
    "husk": true,
    "stray": true,
    "pillager": true,
    "vindicator": true,
    "witch": true,
    "wither_skeleton": true,
    "guardian": true,
    "hoglin": true,
    "zoglin": true,
    "ravager": true,
    "piglin": true,
    "zombified_piglin": true,
    "bogged": true
  }
}

abilities

Toggle individual tier-gated abilities on or off. All default to true.

KeyMobBehavior
zombieReinforcementsZombieCall nearby zombies when hit
zombieDoorBreakingZombieBreak wooden doors
zombieSprintingZombieSprint toward targets
creeperShorterFuseCreeperReduced detonation delay
creeperChargedCreeperSpawn already charged
skeletonSwordSwitchSkeletonSwitch to melee at close range
skeletonFlameArrowsSkeletonFire flaming arrows
spiderWebPlacingSpiderPlace cobwebs near targets
spiderCropTrampleSpiderDestroy crops while chasing
spiderLeapAttackSpiderLeap attack at range
huskHungerHuskApply hunger effect on hit
witherSkeletonSprintWither SkeletonSprint toward targets
witherSkeletonFireAspectWither SkeletonSet targets on fire
drownedTridentDrownedAlways carry and throw trident
hoglinKnockbackResistHoglinResist knockback
zoglinFireResistZoglinResist fire damage
vindicatorResistanceVindicatorDamage resistance effect
zombifiedPiglinAggroZombified PiglinAlways hostile
piglinCrossbowPiglinEnhanced crossbow behavior