Recovery
Recovery is a lightweight mod for NeoForge 1.21.1 designed for automatic and manual server world backups.
Features
- ZIP Compression: All backups are saved in
.zipformat, saving space and ensuring data integrity. - Smart Detection: The mod automatically finds the world folder, even if it has a custom or non-English name.
- Interactive Notifications: Every 30 minutes (configurable), the server prompts players to create a recovery point.
- Asynchronous Execution: The compression process runs in a separate thread, preventing server "freezes" or lag.
Commands
| Command | Description | Access |
|---|---|---|
/recovery status |
Shows current interval and last backup time. | Everyone |
/recovery set time [min] |
Sets the interval for backup prompts (5-1440 min). | OP Only |
Configuration
A configuration file is automatically created on the first run at config/recovery-common.toml.
[general]
# Interval between notifications (in minutes)
backupInterval = 30
# Create backup automatically without confirmation (true/false)
backupDefault = false
# Maximum number of recent archives to keep (0 - no limit)
maxBackups = 20
# Name of the folder for storing archives
backupFolder = "backups"
Installation
- Ensure the server is running NeoForge 1.21.1.
- Install Java 21.
- Place the
recovery-1.0.0.jarfile in themodsfolder. - Restart the server.
Enjoy!