Skip to content

2.2.0

Latest

Choose a tag to compare

@dmccoystephenson dmccoystephenson released this 11 Oct 01:26
16e3b79

2.2.0

For a server running v2.1.0, this release is a drop-in upgrade. Saved spawns load as before and no configuration or permission changes are needed. The difference is in the server log: problems reading or writing spawn data now appear as warnings tagged with the plugin's name, with full error details, instead of untagged console lines. They are easier to spot and filter. On a first start, before any spawn has been saved, you may see a single "Error loading the spawns!" warning, which is expected.

Changes

Logging

  • Spawn storage errors are now logged through the plugin logger at WARNING level. Save and load failures include the underlying exception, and messages about missing or unreadable coordinates or world names in spawn files are tagged with the plugin name (#108).

Version

v2.1.0 → 2.2.0 — MINOR. Mechanical floor from comparing the two jars: MINOR.
Judgment: The only operator-facing change is #108: spawn storage errors now go through the plugin's logger at WARNING level, with stack traces, instead of plain stdout. Spawn files are read and written the same way, and no command, config key or permission changed. The StorageService constructor now takes a Plugin instead of a DansSpawnSystem; existing callers still compile, but code built against the old constructor must be recompiled, which is ordinary minor-level API movement. The bundled trace-client update adds an install-ID-file option that this plugin doesn't use, and the reporting-link changes only touch comments and log text, so neither justifies raising the level. I kept the minor floor.

  • minor: storage path changed: src/main/java/dansplugins/spawnsystem/services/StorageService.java
Java API changes (informational — nothing depends on this plugin)
  • dansplugins.spawnsystem.services.StorageService: removed/changed public dansplugins.spawnsystem.services.StorageService(dansplugins.spawnsystem.DansSpawnSystem, dansplugins.spawnsystem.data.PersistentData);
  • dansplugins.spawnsystem.services.StorageService: added public dansplugins.spawnsystem.services.StorageService(org.bukkit.plugin.Plugin, dansplugins.spawnsystem.data.PersistentData);
  • dansplugins.spawnsystem.trace.TraceClient: added public static java.lang.String installIdFromFile(java.io.File);
  • dansplugins.spawnsystem.trace.TraceClient$Builder: added public dansplugins.spawnsystem.trace.TraceClient$Builder installIdFile(java.io.File);

Verification

Verified on a real Spigot server before publication; this release carries the exact jar that was verified.

  • boot gate run: booted twice on a fresh Spigot server running Minecraft 1.19.4 (11 assertions passed).
  • boot gate run: booted twice on a fresh Spigot server running Minecraft 1.21.11 (11 assertions passed).
  • boot gate run: booted twice on a fresh Spigot server running Minecraft 26.2 (11 assertions passed).
  • boot gate run: booted twice on a fresh Spigot server running Minecraft 26.3 (11 assertions passed).
  • save-compatibility gate run: data written by v2.1.0 was loaded by this release across two restarts with nothing lost (16 assertions passed).

Install with Dan's Plugin Manager: /dpm get <plugin>. How stable releases are made: Release channels.


drafted by Claude on behalf of Daniel Stephenson