Skip to main content

Stats Level Config

File: mods/Zuxaw_RPGLeveling/StatsLevelConfig.json All stat-related configuration options. Controls stat points per level, stat values, max allocations, and stat-specific mechanics.

Configuration Options


Stat Points

Points Per Level

  • StatPointsPerLevel - How many stat points you earn on each level up (default: 3)
Total stat points at max level:
Example: Max level 100, 3 points per level:
  • Total: (100 - 1) × 3 = 297 stat points

Base Stats

Stats that directly increase resource pools use StatValuePerPoint:
  • Health - Increases maximum health
  • Stamina - Increases maximum stamina
  • Mana - Increases maximum mana
  • Ammo - Increases ammo capacity
  • Oxygen - Increases oxygen (underwater)
Value per point: StatValuePerPoint (default: 1.0)

Combat Stats

Damage

Multiplicative damage bonus to NPCs:
  • Value per point: DamageStatValuePerPoint (default: 1.0)
  • Each point adds a flat damage bonus (e.g., +1 damage per point)

Defense

Percentage damage reduction with diminishing returns:
  • Value per point: DefenseStatValuePerPoint (default: 1.0)
  • Max reduction: DefenseMaxReductionRatio (default: 0.8 = 80%)
  • Uses diminishing returns formula to prevent overpowered defense
Example: With default settings, you can reach up to 80% damage reduction, but each additional point becomes less effective as you approach the cap.

Gathering Stats

Mining

Damage bonus to stone/ore blocks:
  • Value per point: MiningStatValuePerPoint (default: 0.5)
  • Scaling divisor: BlockDamageScalingDivisor (default: 25.0)
  • Per-tick divisor: MiningPerTickDivisor (default: 100.0)
Higher Mining stat = faster stone/ore breaking.

Woodcutting

Damage bonus to wood blocks:
  • Value per point: WoodcuttingStatValuePerPoint (default: 0.5)
  • Uses same scaling as Mining
Higher Woodcutting stat = faster tree/wood breaking.

Stamina Stats

Stamina Regen Speed

Increases how fast stamina regenerates:
  • Value per point: StaminaRegenSpeedMultiplierPerPoint (default: 0.18 = 18% per point)
Example: 10 points = 180% faster stamina regen (2.8× normal speed)

Stamina Consumption

Reduces stamina consumption when performing actions:
  • Value per point: StaminaConsumptionReductionPerPoint (default: 0.01 = 1% per point)
Example: 25 points = 25% less stamina consumption

Max Stat Allocations

Each stat has a maximum number of points you can allocate: Set to 0 to effectively disable a stat, or increase for more specialization.

Blacklisted Stats

Hide or disable specific stats from the GUI:
Blacklisted stats:
  • Do not appear in the stats GUI
  • Cannot be allocated
  • Are comma-separated stat names

Example Config (Default Values)


See Also