Skip to content

v1.2.0

Latest

Choose a tag to compare

@benrobson benrobson released this 31 Mar 09:12
562b25b

Changelog

Breaking Changes

  • Removed MySQL dependency — The plugin no longer uses a MySQL database for data storage. All existing MySQL-based data configurations will no longer work.
  • Removed config.yml database settings — Database connection fields have been removed from config.

New Features

  • YML-based data storage — Player head data is now persisted using YAML files via a new YamlFileManager helper, backed by SnakeYAML 2.0.
  • /debugheadhunt command — New developer/admin command (alias: dhh) consolidating debug operations:
    • /debugheadhunt clearheads — Clears all heads for the executing player (requires playerheadhunt.debug permission or OP).
    • /debugheadhunt countheads — Recounts heads in the world region.

Changes

  • /clearheads command removed — Functionality merged into /debugheadhunt clearheads.
  • /countheads command removed — Functionality merged into /debugheadhunt countheads.
  • Refactored HeadQuery — Data access layer rewritten to use YAML instead of MySQL.
  • Refactored HeadWorldController, HeadChatController, HeadHunterOnJoin, HeadFindEvent, PlayerHeadHuntMain — Updated to work with the new YAML-backed storage.
  • Removed PluginConfig class — Configuration handling simplified.

Dependency Updates

  • Paper API: 7.3.07.3.10
  • Lombok: 1.18.221.18.30
  • Added: org.yaml:snakeyaml:2.0
  • Removed: mysql:mysql-connector-java:8.0.33