Difficulty Death Scaler
A Fabric mod that increases game difficulty based on the number of player deaths, inspired by the Demon's Souls mechanic.
Each player death leads to an increase in the difficulty level. However, there are ways to reduce accumulated penalties: after 12 hours without deaths or after defeating a boss, the difficulty resets to the previous level. For example, with 8 deaths, the mod will "forget" 3 of them, and you'll be at the level of 5 deaths.
Key Features
- Penalties for frequent deaths (if a player dies every 5 seconds)
- Two types of difficulty: global for the server and individual for each player
- Automatic difficulty increase if the game becomes too easy
- Gradual difficulty reduction in the absence of deaths
Important: The mod must be installed on the server! It doesn't work on the client side, even in singleplayer. This is because the mod is designed primarily for multiplayer and may block your singleplayer world.
Commands
The mod adds the command /difficultydeathscaler (or abbreviated /dds):
/difficultydeathscaler get- shows the current global difficulty (also/ddsg)/difficultydeathscaler get [player]- shows the difficulty for the specified player (/ddspshows your current difficulty)/difficultydeathscaler set global [number of deaths]- sets the number of deaths for global difficulty (OP only)/difficultydeathscaler set player [player] difficulty [number of deaths]- sets the number of deaths for a player (OP only)/difficultydeathscaler set player [player] daily-death [number of deaths]- sets the number of deaths in 24 hours for the target player (OP only)
Configuration
Mod configuration is done through game rules.