跳到正文

Backup mod

作者:darqi, vmipx

A recovery/backup mod for minecraft on 1.21.1 neoforge. Must be update later

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 .zip format, 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

  1. Ensure the server is running NeoForge 1.21.1.
  2. Install Java 21.
  3. Place the recovery-1.0.0.jar file in the mods folder.
  4. Restart the server.

Enjoy!

常见问题

Backup mod 支持哪些 Minecraft 版本?

Backup mod 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Backup mod 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分