PhotoMOTD 1.0.2 - Changelog
============================
Bug Fixes
- Fixed: the server icon would never show up when using the default
configuration (MOTD mode: REAL_PHOTO). The server icon now works
independently of the MOTD mode, so enabling it in the config always
works as expected.
- Fixed: with default settings, players on Minecraft versions older
than 1.21.9 could see a broken/blank MOTD instead of your real photo
banner. The plugin now correctly falls back to the normal text MOTD
for those players instead of sending them a banner their client
can't display.
- Fixed: a rare issue where custom MineSkin texture names could fail
to be found in the cache depending on the server's system language
settings, causing unnecessary re-uploads to MineSkin.
No configuration changes are required - just update the plugin and
your existing config.yml will keep working. If you'd like the safer
protocol default, delete the "real-photo.min-protocol" line from your
config.yml so it regenerates with the new recommended value.
### Fixed
- Fixed ajava.lang.NoSuchMethodErroronComponent.object(ObjectContents)that
crashed the MOTD reload task on Paper builds older than 1.21.9 (e.g. 1.21.4).
REAL_PHOTO banner generation would complete successfully, but loading the
generated banner into a chatComponentthrew an uncaughtErrorbecause the
server's bundled Adventure library did not yet implement object components.
- The exception handler inloadRealPhotoMotd()previously caughtException
only. SinceNoSuchMethodErrorextendsError, it was never caught and
propagated up to the scheduler, logging as an unhandled task exception.
It now catchesThrowable, so any future linkage/API mismatch degrades
gracefully instead of crashing the reload task.
### Added
- Runtime capability detection (detectObjectComponentSupport()): on startup,
PhotoMOTD now checks via reflection whether the running server's Adventure
version actually exposesComponent.object(ObjectContents)before ever
attempting to use it.
- When REAL_PHOTO mode is enabled in the config but the server does not support
object components, PhotoMOTD now logs a clear, actionable warning explaining
that REAL_PHOTO requires Paper 1.21.9+ (and a 1.21.9+ client), and cleanly
falls back to the hybrid banner / image MOTD instead of attempting and
failing.
### Notes
- No config changes required. Existingreal-photo.*settings are unaffected;
on unsupported servers they are now safely ignored with a warning instead of
throwing at runtime.
