Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Just Enough Accidents
Just Enough Accidents, or JEA, is an accident-detection extension for MineBackup and FolderRewind.
JEA watches for dangerous situations while you play. When a configured threat is detected, it asks MineBackup to save the world and create an accident-site snapshot, giving you a possible recovery point if something goes wrong.
JEA does not automatically restore your world or guarantee a perfectly safe checkpoint. Its snapshots capture the world around the time a threat is detected.
Detected Accidents
JEA 0.1.0 can detect:
- A predicted fatal fall
- Air running dangerously low underwater
- Entering lava without Fire Resistance
- An elytra nearing its breaking point while gliding
- Critically low effective health
- Successful activation of a Totem of Undying
- A nearby creeper beginning to swell
- External requests from data packs or command blocks
Each detector can be enabled or disabled independently.
Accident-Site Snapshots
When an accident is detected, JEA:
- Collects all threats detected during the same server tick.
- Merges them into a single backup request.
- Asks MineBackup to save the current world.
- Passes the request to FolderRewind through MineRewind.
- Reports the result in chat.
If an archive is successfully created, the world owner receives a clickable Restore this JEA snapshot message. Restoration uses MineBackup's existing confirmation and countdown system.
JEA never restores a world automatically.
Trigger Protection
To avoid excessive backups:
- A detector only triggers when its state changes from safe to dangerous.
- It must return to a safe state before it can trigger again.
- All incidents detected during the same tick are merged.
- A global cooldown of 60 seconds is enabled by default.
- Requests are not queued while another world operation is running.
- Immediately rejected requests do not start the cooldown.
Configurable Backup Settings
JEA creates its configuration file at:
config/just-enough-accidents.json
The default backup settings are:
{
"mode": "incremental",
"compressionMethod": "zstd",
"compressionLevel": 11
}
Supported backup modes:
incrementalfull
Supported compression methods:
zstdLZMA2DeflateBZip2
The configuration also contains detector thresholds, individual enable switches, and the global cooldown.
Invalid configuration files are preserved instead of being overwritten. JEA disables itself for that server session and writes the exact configuration error to the log.
Data Pack and Command Block Integration
Data packs and command blocks can request a snapshot through the scoreboard:
scoreboard objectives add jea_request dummy
scoreboard players add #global jea_request 1
JEA treats any score greater than or equal to 1 as one request.
The score is reset to 0 before the world is saved, preventing restored snapshots from repeatedly triggering new backups.
Requirements
JEA 0.1.0 requires:
- Minecraft 26.1–26.1.2
- Fabric Loader 0.18.4 or newer
- Fabric API
- Java 25
- MineBackup 3.1.0 or newer
- FolderRewind 1.8.0 or newer
- MineRewind 1.8.0 or newer
Current Limitations
- Only singleplayer and LAN-hosted worlds are supported.
- Dedicated servers are not supported in 0.1.0.
- Snapshots are not guaranteed to represent a safe location.
- Low-health snapshots may already contain the triggering damage.
- Totem snapshots are created after the totem has been consumed.
- JEA snapshots share FolderRewind's normal
KeepCount. - Frequent incidents may therefore cause older archives to be cleaned normally.
- JEA does not currently create scheduled safe checkpoints or protected backup slots.
Planned Expansion
Possible future detectors include:
- Fatal incoming damage
- TNT and End Crystal explosions
- Dangerous bed or Respawn Anchor interactions
- Deaths of pets, villagers, and named entities
- Additional ongoing damage sources
- Protected safe checkpoints
JEA is designed so that new detectors and backup strategies can be added without replacing the existing incident-coordination system.


