Karma_Engine
What's new
v1.1.0: Initial release
Added
Karma engine that tracks mining, killing, building, exploring and deaths
Karma tiers: Good, Neutral, Greedy and Cursed
Greed meter that fills when you mine ores. At 100% it triggers a fast punishment
Threat levels 0-5 that make punishments more frequent and more extreme
Rewards for Good karma: Speed, Regeneration, Resistance and bonus ore drops
Punishments for bad karma: blindness, curses, fire, anvil rain, hyper creepers, lightning, levitation, TNT rain and a full apocalypse at max threat
Automatic start with a 90-second grace period. No commands needed
Per-player data that survives relogs and autosaves every 2 seconds
Action bar showing tier, karma, threat level and greed
Title and sound when your tier changes
Karma Ledger: right-click a clock to see your stats and perks
Redemption: dying while Cursed resets karma and greed. Dying while negative halves your karma
Negative karma slowly forgives over time
Configurable settings in scripts/config.js, including turning off terrain-damaging events
Technical
Built on @minecraft/server 2.9.0 and @minecraft/server-ui 2.0.0
All world logic initialises through world.afterEvents.worldLoad
No Beta APIs and no experiments required
Known issues
Killing other players doesn't change karma yet
Exploration karma can be earned again each session
This mod has no additional files