LifeLedger

Quick rating

LifeLedger

No reviews yet

Tired of players treating death like nothing? Give them lives (stocks)! when they run out so do they! Adds some stakes to the SMP experience.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

LifeLedger

A Fabric Minecraft mod that gives each player a finite amount of lives, called "stocks". Lose them all and you're permanently banned. No exceptions.

Built to test my theory that having meaningful deaths is a positive impact on the typical 2-week SMP to increase longevity and meaningful gameplay. By emulating the hardcore experience


Photosensitivity warning: This mod includes impact frames, a brief flash effect when you are hit and marked with a "Death sentence" item. If you are sensitive to flashing lights, disable this in Mod Menu → LifeLedger → Client Settings before playing :)


How it works

Every player is assigned a stock count when they first join. Each death removes one stock. Hit zero and the server bans you. Stock data is tied to UUID and is saved in config/lifeledger-stocks.json there is no natural way to get them back unless an admin intervenes and gives you more.


Death filtering

Not every death has to count. Each death type can be toggled independently:

Death Type Toggle
Mob kills countMobDeaths
PvP countPvpDeaths
Fall damage countFallDamage
Void countVoidDeaths
Explosions countExplosionDeaths
Fire countFireDeaths
Drowning countDrownDeaths
Freezing countFreezeDeaths
Magic countMagicDeaths
Suffocation countSuffocationDeaths
Anvil countAnvilDeaths
Ender Dragon countEnderDragonDeaths
Wither countWitherDeaths
Elder Guardian countElderGuardianDeaths

Every toggleable is visible when using the mod as a client, the death check runs on a general hierarchy for example disabling MobDeaths but having Wither, Ender Dragon or Elder Guardian deaths enabled will override MobDeaths for its specific case. (the Wither status effect from unrelated sources doesn't count for its case either)

If you come across something you feel like i should add here let me know, or push it yourself on github.


Death Sentence

The check for PvP deaths is extremely direct (checks source.getEntity()) by design to prevent gray zone deaths from counting we don't want to stop players from doing funny business "friendly" cliff pushing, tnt traps all that. We solve this by introducing and enforcing player intent. This is handled through "Death Sentence".

Rename ANY item to the configured trigger name (default: '"Death Sentence"') (not case sensitive) and brutally punch your friend; they are now marked. If they die within the configured time window from any cause a stock is lost regardless of what the death filter says.

The mark persists across melee hits, projectiles, TNT, and End Crystal detonations and is refreshed by continued aggression from any source originating from the player who applied it. It clears if it times out, on death or disconnect (might remove this disconnect thing to disincentivize abuse).

The idea is again to let players express intent: if you're actively bloodthirsty and want to see someone lose a stock, toggling off PvP deaths shouldn't save them.

The time window is 20 by default, and can be changed using /lifeledger config deathsentencewindow <seconds>


Tab List Display

Players can optionally see everyone's remaining stocks as little heart icons directly in the tab list (with names and ping and such). Full hearts = remaining stocks, grey hearts = expended stocks. Capped at 10 displayed. Toggled per-client and requires the mod on the client side as well.


Configuration

The mod is inherently server-authoritative. The server config lives at 'config/lifeledger.json' Admins can change settings at runtime via:

  • Mod Menu A built-in config screen accessible through the Mod Menu mod (optional, client side). OPs see editable toggles; non-OPs see read only so they know what's off or on. Client settings (impact frames, tab list display) are also here under a separate tab.
  • In-game commands '/lifeledger config (key) (true|false)' for all death filter toggles.

Non-op commands:
/lifeledger stocks (name) - checks and outputs the stock count of the player, if no name is given it checks the calling player's stock count

Admin commands:
/lifeledger default - set default stocks for new players
/lifeledger set - set a specific player's stocks
/lifeledger give - add stocks to a player
/lifeledger take - remove stocks from a player
/lifeledger get - check a player's current stocks
/lifeledger config (true|false) - toggle a death filter setting
/lifeledger config deathsentencewindow - sets the time window for death sentence
/lifeledger testimpact - triggers the impact frame on yourself, used for testing but; meh why not have it there

Todo: Fix the rather badly implemented impact frames. Do hard shader stuff >:(

Screenshots

Gallery

  • Mod Menu page
    Mod Menu page
  • Player stock list
    Player stock list
  • Config menu
    Config menu
  • Tab display
    Tab display
  • Death Sentence impact frame
    Death Sentence impact frame
  • Icon
    Icon

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works