Description
World Buffs
World Buffs adds a global modifier system that affects all players on the server. These modifiers are triggered dynamically during gameplay and change how combat, progression, and resource gathering behave.
The system is designed to be simple, consistent, and configurable, while still introducing variability into normal gameplay.
Overview
When a mob dies, there is a configurable chance that a world buff will be triggered. A buff applies a multiplier to a specific stat and affects all players simultaneously.
The following stat types are currently supported:
- Damage dealt
- Damage resistance
- Critical hit multiplier
- Mining speed
- Experience gain
Each buff:
- Applies globally
- Has its own independent duration
- Uses a multiplier value within a configurable range
If a new buff is rolled for a stat that already has an active buff:
- If the new value is higher, it replaces the existing buff and resets the timer
- If the new value is lower or equal, it only refreshes the timer
Behavior
- Buffs are triggered on entity death
- Buff selection is random
- Buff values are generated between configured minimum and maximum values
- Each buff tracks its own duration independently
- Buff timers are processed once per second
- Expired buffs reset back to a neutral multiplier (1.0)
All changes are applied through event hooks, ensuring compatibility with vanilla systems and most other mods.
In-Game Messages
Players are notified when buffs are applied and when they expire.
Example activation message:
World Buff Activated: Damage = 2.35x
Example expiration message:
World Buff expired: Damage
Configuration
All options are available in the server configuration file.
worldBuffInitChance
Controls the chance that a buff is triggered when a mob dies.worldBuffMinMultiplier
The minimum multiplier value a buff can roll.worldBuffMaxMultiplier
The maximum multiplier value a buff can roll.worldBuffRollAmount
A scaling value used when calculating multiplier ranges.worldBuffDurationSeconds
Duration of each buff in seconds.
Notes
- Buffs are global and affect all players equally
- Buffs do not stack; each stat has a single active modifier at a time
- The system is deterministic and fully controlled by configuration values
Compatibility
This mod does not replace core mechanics. It modifies values through event handling, which keeps it compatible with most gameplay and content mods.


