All versions
2.0.0
Release
AutoSaveAll 2.0.04 months ago 131
Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Bukkit
Paper
Purpur
Spigot
Changes
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
worldsconfig 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 tomax-postponestimes 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 historycommand shows the last N save events (timestamp, duration, or skip reason). Configurable viasave-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-webhookin 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 statusnow also shows current TPS (Paper family only), world filter, update status, and Discord webhook status.plugin.ymlusage updated to include the newhistorysubcommand.- 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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:j8o6grOV:ecGzCo3j"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:j8o6grOV:ecGzCo3j"
}

