Перейти к содержимому
Mineforgian

AutoSaveAll

AutoSaveAll is a lightweight Paper/Spigot plugin that automatically runs the save-all command at configurable intervals to prevent data loss. It supports Minecraft versions 1.13 through 1.21 and includes features like chat broadcasts, random

Загрузки
201
Подписчики
0
Обновлён
2 июля 2026 г.
Лицензия
MIT

Опубликован 12 апреля 2026 г.

AutoSaveAll

A lightweight Paper/Spigot plugin that automatically runs save-all at configurable intervals to prevent data loss — now with lag-aware saving, per-world targeting, save history, Discord notifications, and PlaceholderAPI support.


Features

  • Automatic world saves at configurable intervals
  • Lag-aware saving — postpones saves during low TPS instead of adding load during lag spikes
  • Per-world save filtering — save everything, or just the worlds you choose
  • Save history — track recent save times, durations, and skips
  • Optional Discord webhook notifications (save, skip, update alerts)
  • Optional PlaceholderAPI expansion for scoreboards/TAB
  • Update checker — notifies OPs in chat if a newer version is available
  • Customizable chat broadcasts with color codes
  • Console logging with custom messages
  • Admin commands for reload, status, manual save, history, and sound test
  • Master toggle to enable/disable without unloading

Commands

Command Description Permission
/autosave reload Reload config and restart timer autosaveall.admin
/autosave status Show current status and next save time autosaveall.admin
/autosave now Trigger save-all immediately autosaveall.admin
/autosave history Show recent save history autosaveall.admin
/autosave testsound Test sound effects (players only) autosaveall.admin

Permissions

Permission Default Description
autosaveall.admin OP Allows all /autosave commands

Ченджлог

2.0.0Релиз26.1.1, 26.1.2, 26.2 · 2 июля 2026 г.

AutoSaveAll 2.0.0

Added

  • Update checker — checks Modrinth on startup for newer releases. Logs the result to console and shows a one-time notice to OPs in chat the next time they join, if an update is available.
  • Per-world save filtering — new worlds config list. Leave empty to save all worlds (default, unchanged behavior), or specify exact world names to limit saves to specific worlds.
  • Lag-aware saving — checks server TPS before running save-all. If TPS is below the configured min-tps, the save is postponed instead of running immediately (up to max-postpones times before forcing it anyway, so saves are never delayed indefinitely). On Bukkit/Spigot (which have no TPS API), this safely falls back to always-healthy so saving behaves exactly like before.
  • Save history — new /autosave history command shows the last N save events (timestamp, duration, or skip reason). Configurable via save-history.
  • Discord webhook support — optional, disabled by default. Sends a message on save, on postponed/skipped save, and/or on detected update. Configure via discord-webhook in config.yml.
  • PlaceholderAPI support — new placeholders %autosaveall_next_save%, %autosaveall_next_save_time%, %autosaveall_last_save%, %autosaveall_interval%, and %autosaveall_enabled%. Only activates if PlaceholderAPI is installed.
  • Save-on-shutdown safeguard — a final save-all now always runs on plugin disable/server shutdown, regardless of the save timer state.
  • Folia compatibility — fully compatible with Folia's threaded execution model. All scheduled tasks use Folia's regionized and global schedulers where appropriate, ensuring safe concurrent operation across multiple threads.

Changed

  • /autosave status now also shows current TPS (Paper family only), world filter, update status, and Discord webhook status.
  • plugin.yml usage updated to include the new history subcommand.
  • Bumped to 2.0.0 to reflect the scope of this update.
  • Internal threading logic refactored to support Folia's per-world/global task scheduling.

Config

  • New keys: worlds, lag-aware-saving.*, save-history.*, check-for-updates, discord-webhook.*.
  • All existing keys and defaults are unchanged — upgrading is safe with no config migration needed. New keys will use their defaults until you edit config.yml.

Compatibility

  • Supported: Bukkit, Spigot, Paper, Purpur, Folia (1.26+)
  • Not supported: BungeeCord, Waterfall, Velocity (proxy platforms), Sponge (incompatible modding API)
  • Java requirement: Java 25 or higher is required to run this version

Loaders for this release: bukkit, spigot, paper, purpur, folia

2.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 2 июля 2026 г.

AutoSaveAll 2.0.0

Added

  • Update checker — checks Modrinth on startup for newer releases. Logs the result to console and shows a one-time notice to OPs in chat the next time they join, if an update is available.
  • Per-world save filtering — new worlds config list. Leave empty to save all worlds (default, unchanged behavior), or specify exact world names to limit saves to specific worlds.
  • Lag-aware saving — checks server TPS before running save-all. If TPS is below the configured min-tps, the save is postponed instead of running immediately (up to max-postpones times before forcing it anyway, so saves are never delayed indefinitely). On Bukkit/Spigot (which have no TPS API), this safely falls back to always-healthy so saving behaves exactly like before.
  • Save history — new /autosave history command shows the last N save events (timestamp, duration, or skip reason). Configurable via save-history.
  • Discord webhook support — optional, disabled by default. Sends a message on save, on postponed/skipped save, and/or on detected update. Configure via discord-webhook in config.yml.
  • PlaceholderAPI support — new placeholders %autosaveall_next_save%, %autosaveall_next_save_time%, %autosaveall_last_save%, %autosaveall_interval%, and %autosaveall_enabled%. Only activates if PlaceholderAPI is installed.
  • Save-on-shutdown safeguard — a final save-all now always runs on plugin disable/server shutdown, regardless of the save timer state.

Changed

  • /autosave status now also shows current TPS (Paper family only), world filter, update status, and Discord webhook status.
  • plugin.yml usage updated to include the new history subcommand.
  • Bumped to 2.0.0 to reflect the scope of this update.

Config

  • New keys: worlds, lag-aware-saving.*, save-history.*, check-for-updates, discord-webhook.*.
  • All existing keys and defaults are unchanged — upgrading is safe with no config migration needed. New keys will use their defaults until you edit config.yml.

Compatibility

  • Supported: Bukkit, Spigot, Paper, Purpur (1.20+ only)
  • Not supported: BungeeCord, Waterfall, Velocity (proxy platforms), Sponge (incompatible modding API), and Folia (threaded paper — this plugin is not compatible with Folia's threading model)
  • Java requirement: Java 21 or higher is required to run this version

Loaders for this release: bukkit, spigot, paper, purpur

1.0Релиз26.1, 26.1.1, 26.1.2 · 15 апреля 2026 г.

Old version of AutoSaveAll that doesnt need resource pack

Same features as the latest ones

1.0.0Бета26.1, 26.1.1, 26.1.2 · 12 апреля 2026 г.

Beta Release

Tested on: Minecraft 1.21.1 Untested on: 1.26.1 (should work, but not confirmed)

Please report any issues on 1.26.1!

1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 12 апреля 2026 г.

Initial Release

Features

  • Automatically runs save-all command at configurable intervals (1-60 minutes)
  • Broadcast customizable chat messages when save triggers
  • Play random or single sound effects to all players on save
  • Console logging with custom messages
  • Toggle plugin on/off without unloading

Commands (/autosave - requires autosaveall.admin)

  • /autosave reload - Reload configuration and restart timer
  • /autosave status - Show current status, interval, and time until next save
  • /autosave now - Trigger save-all immediately
  • /autosave testsound - Test sound effects as a player

Configuration (config.yml)

Setting Default Description
save-interval-minutes 5 Interval between saves (1-60 minutes)
broadcast-message true Show chat message on save
broadcast-text "&a[AutoSave] &eWorld data has been saved automatically." Customizable broadcast message
play-sound true Play sound on save
random-sound.enabled true Pick random sound from list
sound-volume 0.8 Volume (0.1 - 2.0)
sound-pitch 1.0 Pitch (0.1 - 2.0)
log-to-console true Log save actions to console
enabled true Master toggle for auto-save

Supported Versions

  • Minecraft 1.13 through 1.26.1
  • Paper, Spigot, Purpur, and Bukkit forks

Комментарии

Загружаем…