跳到正文

AutoSaveMod

作者:Lous12

A lightweight server-side Fabric mod that automatically saves the world at configurable intervals with admin commands.

收藏

介绍

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

AutoSaveMod

AutoSaveMod is a simple, high-performance, and lightweight server-side mod designed to keep your world data safe. It automatically triggers a full server save at regular intervals, preventing data loss in case of unexpected crashes or restarts.

⚠️ Server-Side Only: This mod only needs to be installed on the server. Players do not need to install it on their clients!


Features

  • Automated Saves: Periodically saves all dimensions, player data, and world structures without lag.
  • Fully Configurable: Easily change the save intervals and custom chat notifications.
  • In-Game Reload: Update your settings on the fly without restarting the entire server.
  • Safe Design: Runs strictly on the main server thread using official Fabric API events to avoid any map corruption.

Config

Upon the first server startup, the mod will automatically generate a configuration file located at:
../config/autosave_mod.json

Default Settings

  • saveIntervalTicks: The time between saves in server ticks (20 ticks = 1 second). Default is 6000 (5 minutes).
  • startMessage: Custom broadcast message sent to all players when the save starts.
  • endMessage: Custom broadcast message sent when the world is successfully saved.

Admin Commands

  • /autosave reload — Instantly reloads the configuration file from disk and resets the timer.

Russian

AutoSaveMod — это простой и высокопроизводительный серверный мод для защиты данных вашего сервера. Он автоматически запускает полное сохранение мира через заданные промежутки времени, предотвращая потерю прогресса при внезапных сбоях.

⚠️ Только для сервера: Этот мод устанавливается строго на сервер. Игрокам скачивать его не нужно!

Описание

  • Авто-сохранение: Периодически сохраняет все измерения и данные игроков без просадок TPS.
  • Гибкая настройка: Изменяйте тайминги и кастомные сообщения прямо в JSON-конфиге.
  • Перезагрузка без рестарта: Применяйте настройки мгновенно прямо во время игры.

Команды

  • /autosave reload — Перезагружает файл настроек config/autosave_mod.json и сбрасывает таймер (доступно только админам).

常见问题

AutoSaveMod 支持哪些 Minecraft 版本?

AutoSaveMod 支持 Minecraft Java 版 1.20.1–26.2,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

AutoSaveMod 怎么安装?

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

评论

登录后评论和评分

Lous12 的其他作品

查看全部 →