Skip to content

0.2.2

Latest

Choose a tag to compare

@dmccoystephenson dmccoystephenson released this 06 Nov 01:48
cab1cba

0.2.2

This is a bug-fix release for servers running v0.2.1, with no changes to commands, configuration, permissions or data formats. It stops usage reporting from sending unrecognised text typed after /fmap, and scripts reading stats.json no longer risk seeing a partially written file.

Changes

Privacy

  • Usage reporting now names only the known /fmap subcommands: status, stats, reset and recapture. Previously, if reporting was enabled, whatever a player typed as the first argument after /fmap was sent, even if it wasn't a subcommand. Those runs are no longer reported at all. (#23)

Stats

  • stats.json is now replaced atomically, so scripts and other tools reading it always see a complete file. Its location and JSON content are unchanged. (#24)

Version

v0.2.1 → 0.2.2 — PATCH. Mechanical floor from comparing the two jars: PATCH.
Judgment: Keeping the patch floor. Writing stats.json atomically leaves its location and JSON content unchanged, and only stops readers from seeing a partial file. Reporting only known /fmap subcommands narrows what usage reporting sends, without changing commands, config keys, permissions or stored data. The new public StatsFile class is an internal helper for this fix, not a new feature, so neither change warrants a higher bump.

  • no interface or storage difference observed between the jars
Java API changes (informational — nothing depends on this plugin)
  • public class added: com.dansplugins.factionmap.stats.StatsFile

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.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 v0.2.1 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