Repository navigation
1.3.0
1.3.0
A server on 1.2.0 can drop this jar in and keep its homes: on first start the plugin moves any records left in plugins/Medieval-Set-Home into its own data folder and logs how many it moved. Two things are new that an operator should know about. The /home teleport delay is now configurable in config.yml, and the plugin now reports anonymous usage events (plugin name, version and command names — nothing about players or the server) to the author's trace server. Reporting is on by default, is announced in the console on every startup, and can be turned off per plugin or for the whole server.
Changes
Homes and storage
- Home records are now stored in the plugin's own data folder instead of a hard-coded
plugins/Medieval-Set-Homepath; records in the old folder are migrated automatically on startup, and the migration never overwrites a data folder that is already in use (#78) - A home set on the x = 0 or z = 0 axis is no longer discarded when it is loaded from disk (#72)
/sethomenow works for players who were already online when the plugin was enabled, instead of silently doing nothing (#72)/dsh forceloadnow loads records from disk (it previously saved), and/dsh forcesavenow writes the filename index along with the records so a save is complete (#65)
Configuration
- New
config.ymlwithteleport-delay-seconds(default 3, matching the previous hard-coded delay) controlling how long a player must stand still before/hometeleports them (#61)
Usage reporting
- The plugin sends a small usage event on startup and on each command, off the main thread, bounded, and dropped silently if the server is unreachable (#80)
- Reporting settings ship in the bundled
config.ymland are read through to those defaults, so aconfig.ymlfrom before this release keeps working and gains theusage-reportingblock on first start (#81, #82) - Every startup logs whether reporting is on, what is sent and how to turn it off; a server-wide switch at
plugins/trace/config.ymlis created on first start and turns reporting off for every plugin that uses it (#84)
Messages
- Player-facing messages now say "Dans Set Home", and an unrecognised
/dshsubcommand points at/dsh help(#75)
Upgrade notes
- Usage reporting is enabled by default. To turn it off for this plugin, set
usage-reporting.enabled: falseinplugins/<plugin folder>/config.yml; to turn it off for every plugin on the server, setenabled: falseinplugins/trace/config.yml. The environment variablesTRACE_USAGE_REPORTING=offorDO_NOT_TRACK=1also turn it off. Check the startup log line to confirm which applies. - Home records are moved out of
plugins/Medieval-Set-Homeon first start. Take a backup of that folder before upgrading if you want a copy; after the migration the plugin reads and writes only its own data folder. - If you had previously changed the teleport delay by other means, set
teleport-delay-secondsin the newconfig.yml; the default of 3 seconds matches 1.2.0.
Version
1.2.0 → 1.3.0 — MINOR. Mechanical floor from comparing the two jars: MINOR.
Judgment: Nothing here breaks a 1.2.0 server in a way the mechanical check missed. The move of home records from plugins/Medieval-Set-Home into the plugin's own data folder ships with an automatic, guarded migration on first start, so existing homes carry over. Usage reporting, the teleport-delay key and the server-wide trace switch are new, opt-out behaviour and new data written; the /dsh forceload and /dsh forcesave changes restore the behaviour those commands were always documented to have rather than changing their contract. The pom's 2.0.0-SNAPSHOT label is the maintainers' intent, not evidence of a break, so the floor stands.
- minor: default config key added: teleport-delay-seconds
- minor: default config key added: usage-reporting.enabled
- minor: default config key added: usage-reporting.endpoint
- minor: default config key added: usage-reporting.key
- minor: storage path changed: src/main/java/dansplugins/sethomesystem/objects/HomeRecord.java
- minor: storage path changed: src/main/java/dansplugins/sethomesystem/services/StorageService.java
Java API changes (informational — nothing depends on this plugin)
- public class added: dansplugins.sethomesystem.config.ConfigManager
- public class added: dansplugins.sethomesystem.trace.TraceClient
- public class added: dansplugins.sethomesystem.trace.TraceClient$Builder
- dansplugins.sethomesystem.commands.HomeCommand: removed/changed public dansplugins.sethomesystem.commands.HomeCommand(dansplugins.sethomesystem.data.PersistentData, dansplugins.sethomesystem.MedievalSetHome);
- dansplugins.sethomesystem.commands.HomeCommand: added public dansplugins.sethomesystem.commands.HomeCommand(dansplugins.sethomesystem.data.PersistentData, dansplugins.sethomesystem.MedievalSetHome, dansplugins.sethomesystem.config.ConfigManager);
- dansplugins.sethomesystem.objects.HomeRecord: removed/changed public void load(java.lang.String);
- dansplugins.sethomesystem.objects.HomeRecord: removed/changed public void save();
- dansplugins.sethomesystem.objects.HomeRecord: added public void load(java.io.File);
- dansplugins.sethomesystem.objects.HomeRecord: added public void save(java.io.File);
- dansplugins.sethomesystem.services.CommandService: removed/changed public dansplugins.sethomesystem.services.CommandService(dansplugins.sethomesystem.data.PersistentData, dansplugins.sethomesystem.MedievalSetHome, dansplugins.sethomesystem.services.StorageService);
- dansplugins.sethomesystem.services.CommandService: added public dansplugins.sethomesystem.services.CommandService(dansplugins.sethomesystem.data.PersistentData, dansplugins.sethomesystem.MedievalSetHome, dansplugins.sethomesystem.services.StorageService, dansplugins.sethomesystem.config.ConfigManager);
- dansplugins.sethomesystem.services.StorageService: removed/changed public dansplugins.sethomesystem.services.StorageService(dansplugins.sethomesystem.data.PersistentData);
- dansplugins.sethomesystem.services.StorageService: added public dansplugins.sethomesystem.services.StorageService(dansplugins.sethomesystem.data.PersistentData, java.io.File);
- dansplugins.sethomesystem.services.StorageService: added public int migrateLegacyDataFolder();
- dansplugins.sethomesystem.services.StorageService: added public java.io.File getLegacyDataFolder();
Verification
Booted twice on a real Spigot server before publication — boot gate run (10 assertions passed). This release carries the exact jar that was verified.
Install with Dan's Plugin Manager: /dpm get <plugin>. How stable releases are made: Release channels.
drafted by Claude on behalf of Daniel Stephenson