The Path/Lifespan·道

Lifespan

v0.10.2

Lifespan (寿元) gives every cultivator a budget of online play hours. The higher the realm you have ever reached, the bigger the budget, so climbing the ladder is the surest way to buy more time. Spend it all and you begin Withering: Qi gathers far slower, and when a short grace period ends, your years come to their end.

Off by default

Lifespan ships disabled (Lifespan-Enabled: false). It puts a clock on every player, so a server owner decides whether it belongs on their world. While it is off, /cultivation lifespan only says so, the Longevity Pill does nothing, and no one is ever timed.

The Budget

Your budget is set by the highest realm you have ever reached on this profile, not the realm you hold now. A demotion never shrinks it.

Highest realm reachedBudget (online hours)
Body Refinement40
Qi Condensation80
Foundation Establishment160
Golden Core Formation300
Nascent Soul600
Soul Formation1200
Void Refinement2400

Reaching a new realm replaces the budget with the new realm's, rather than adding to it. The hours you have already spent stay spent, so a breakthrough adds exactly the difference between the two budgets to what you have left.

What you have left is:

remaining = budget for your highest realm + bonus hours - hours spent

The first time your clock ticks it is anchored to the realm you hold at that moment, so a cultivator who was already high-realm when the feature was switched on gets that realm's budget, not Body Refinement's.

What counts as spending it

Time online, once the clock is checked (every 5 seconds by default). Sitting still, meditating, a Closed-Door Retreat and standing AFK all count. Time offline does not.

The clock does not run, and nothing is spent, while you are:

Lifespan is also fully off for any server running an add-on progression system that replaces the realm ladder (EndlessLeveling, SoulRings): the budget is keyed to this mod's own realms, so there is nothing to measure.

The first time your clock ever ticks you are told: the years have begun to turn.

Warnings

You are warned three times as the hours run down.

WarningFires when what is left falls toWhat you see
First25% of your budget (Lifespan-Warn-Tier1-Fraction)A chat line: your years grow shorter.
Second10% of your budget (Lifespan-Warn-Tier2-Fraction)A chat line and a warning notification, pointing you at a Longevity Pill or a higher realm.
ThirdThe larger of 2% of your budget or 1 hour (Lifespan-Warn-Tier3-Fraction, Lifespan-Warn-Tier3-Min-Hours)A chat line, a large title, and a sound.

The first two follow your server's notice setting; the third always shows. The flat one-hour floor keeps a huge budget from giving its last warning with a day still left, and a tiny one from giving it with seconds to spare.

From the second warning on, the HUD carries a Lifespan tile, and your stats page has a Lifespan block showing hours left of your budget. There is a Lifespan line toggle in your HUD settings.

Extending your years (below) re-arms the warnings, so you are warned again as you approach the new, larger ceiling.

Withering

When nothing is left, the title Withering fills your screen and a chat block lists every way out. From that moment:

When grace runs out, Lifespan-Expiry-Action decides what happens:

SettingWhat happens
MORTAL_PASSING (default)You pass into a new life. You drop Lifespan-Mortal-Passing-Realms-Dropped realms (1 by default, never below Body Refinement) to the Early stage, your banked Qi is emptied, your breakthrough-quality bookkeeping starts over, and your Lifespan clock begins again. It is not a Reincarnation: there is no bloodline grant and nothing is written to the Reincarnation record.
WITHER_ONLYYou stay Withering, with the Qi penalty, indefinitely. No forced change.
NOTHINGWithering fades and the clock resets to your current budget. Lifespan becomes a warning-only system.

Ways out before grace ends

The Longevity Pill

The Longevity Pill (延寿丹) banks bonus hours against your budget. It is refined like any other pill at a Pill Cauldron:

/cultivation alchemy refine longevity

Millennium Ginseng (千年参), a rare Wood herb that grows only wild, is the herb that favors it; see Herb Varieties and The Pills. The Heavenly Realm's treasure loot can also hold a Longevity Pill, along with Millennium Ginseng.

A pill can delay Withering. It cannot replace climbing.

For Server Owners

Every value on this page lives in mods/Siren_Cultivation/Cultivation/LifespanConfig.json; see also the Lifespan Config section of the Cultivation config page. The in-game admin editor has a Lifespan (寿元) section for the on/off switch, grace, Withering multiplier, realms dropped and the two pill values.

KeyDefaultWhat it does
Lifespan-EnabledfalseMaster switch. Ships off. No restart needed to flip it.
Lifespan-Tick-Interval-Seconds5.0How often the clock is checked (at least 1). Read at server start.
Lifespan-Hours-Body-Refinement40.0Budget for a highest realm of Body Refinement.
Lifespan-Hours-Qi-Condensation80.0Budget at Qi Condensation.
Lifespan-Hours-Foundation-Establishment160.0Budget at Foundation Establishment.
Lifespan-Hours-Golden-Core-Formation300.0Budget at Golden Core Formation.
Lifespan-Hours-Nascent-Soul600.0Budget at Nascent Soul.
Lifespan-Hours-Soul-Formation1200.0Budget at Soul Formation.
Lifespan-Hours-Void-Refinement2400.0Budget at Void Refinement.
Lifespan-Warn-Tier1-Fraction0.25Fraction of budget left at the first warning.
Lifespan-Warn-Tier2-Fraction0.1Fraction left at the second warning.
Lifespan-Warn-Tier3-Fraction0.02Fraction left at the third warning...
Lifespan-Warn-Tier3-Min-Hours1.0...or this many hours, whichever leaves more time.
Lifespan-Grace-Minutes60.0Online minutes of grace once Withering. 0 resolves the expiry on the first Withering tick.
Lifespan-Withering-Qi-Multiplier0.25Qi-gain multiplier while Withering.
Lifespan-Expiry-ActionMORTAL_PASSINGMORTAL_PASSING, WITHER_ONLY or NOTHING. Anything else falls back to MORTAL_PASSING.
Lifespan-Mortal-Passing-Realms-Dropped1Realms lost by a Mortal Passing, floored at Body Refinement.
Lifespan-Pill-Hours20.0Hours one Longevity Pill banks before grade potency.
Lifespan-Pill-Bonus-Cap-Fraction0.5Cap on total pill-banked bonus, as a fraction of the current budget.
Lifespan-Expiry-SoundSFX_Discovery_Z1_MediumSound for the third warning and for Withering.
Lifespan-Withering-ParticleCultivation_Withering_MotesParticle pulsed on a Withering cultivator.

Lifespan is stored per profile. Lowering a Lifespan-Hours-* value makes a player's remaining time shrink with it; raising one clears Withering for anyone it lifts back above zero.

Commands
CommandDescriptionPermission
/cultivation lifespanYour budget, hours spent, hours remaining, the grace minutes left if you are Withering, and Longevity Pill headroom.cultivation
/cultivation admin setlifespan {hours}Set your own spent hours directly (not the budget), for testing warnings and Withering. Setting it back under the budget clears Withering at once.cultivation.admin
/cultivation admin setlifespan player {hours} {player}The same, for another player.cultivation.admin
/cultivation admin extendlifespan {hours}Grant yourself bonus hours, ignoring the Longevity Pill's cap. Refused while Lifespan is off.cultivation.admin
/cultivation admin extendlifespan player {hours} {player}The same, for another player.cultivation.admin

Related: Realms & Stages, Alchemy, Reading Your HUD, Commands, Permissions.