1.1.2 Jan 7, 2024
1.1.2

Change log

Enhancements

  • chore(deps): Update dependencies for 1.20.x
  • enhance(plugin): Add support for 1.16/1.17
  • feat(placeholders): Add new placeholders %playtime_time_days%%playtime_time_hours%, and %playtime_time_minutes%.
  • feat(placeholders): Add support for passing player names to leaderboard placeholders (e.g. %playtime_time_Log1xx%).
  • enhance(locale): Add support for customizing the output format of `{playtime}` in `messages.yml`.
  • chore(placeholders): Add leaderboard placeholder variants for the new days/hours/minutes placeholders.
  • chore(locale): Add new `less-than-x` generic messages for use with the new days/hours/minutes placeholders.
  • enhance(command): Add playtime.help permission for the help command.
  • enhance(data): Make the MySQL connection pool configurable.
  • enhance(messages): Improve `playtime.not-found` message
  • enhance(deps): Improve dependency shading

Bug Fixes

  • fix(placeholders): Fix exception thrown using placeholders when a targeted leaderboard # or player does not exist.
  • fix(data): Fix malformed last played formatting (typically caused by bots).
  • fix(data): Fix potential exception when fetching last played date with the SQLite driver.
  • fix(integration): Properly unregister PlaceholderAPI placeholders when the plugin is unloaded (e.g. with Plugman/ServerUtils).

1.0.7 Jul 24, 2022

Change log

Bug Fixes

  • fix(stats): Fix potential excess whitespace character when displaying time.

1.0.6 Jul 24, 2022

Change log

Enhancements

  • enhance(database): Add statistic and leaderboard caching (configurable with `update-interval`)
  • chore(plugin): minor code improvements

1.0.5 Jul 23, 2022

Change log

Enhancements

  • feat(plugin): Add last joined statistics
  • feat(papi): Add %playtime_last_played% and related leaderboard placeholders
  • enhance(messages): Add singular & plural localization for time
  • enhance(leaderboard): Add message when leaderboard is empty

Bug Fixes

  • fix(messages): Fix messages sometimes not saving correctly on initial plugin load

1.0.4 Jul 17, 2022

Change log

Enhancements

  • feat(plugin): Add player leaderboard visibility
  • enhance(sqlite): Make sqlite player lookups case-insensitive.
  • enhance(messages): Add {player} placeholder to playtime.not-found
  • chore(plugin): Small reorganization

Bug Fixes

  • fix(command): Fix exception thrown when passing non-numeric string to /playtime top

1.0.3 Jul 10, 2022

Change log

Bug Fixes

  • fix(command): Fix looking up players with underscores in their username.

1.0.2 Jul 10, 2022

Change log

Enhancements

  • feat(database): Add SQLite support
  • chore(plugin): Various code clean up.

1.0.1 Jul 10, 2022

Change log

Enhancements

  • feat(placeholders): Add dynamic leaderboard placeholders