### **Changelog v1.8 - The Global & Consistency Update**
**What's New?**
* **Professional Startup Header:** Added a new, aesthetic box in the console when the plugin starts. It now displays the version and a direct link to the support Discord.
* **Smart Versioning System:** Improved how the version is displayed. Even though the internal version is now just `1.8`, the plugin automatically adds the `v` prefix in the console and in-game messages for a cleaner look.
* **Startup Update Check:** The plugin now automatically checks for new versions on Modrinth immediately after enabling and prints the result in the console logs.
**Bug Fixes:**
* **The "Double V" Fix:** Resolved the annoying issue where the version would sometimes show as `vv1.8`. By separating the internal version number from the display format, it now always shows as a perfect `v1.8`.
* **14 Language Support:** Verified and fixed the language export system. All 14 languages (including Dutch and Turkish) are now correctly extracted to the `/languages` folder on the first run.
* **Update Checker Logic:** Improved the update detection to properly compare versions regardless of whether they have a `v` prefix on Modrinth or not.
* **Console Cleanup:** Removed unnecessary "vv" from the update notification and the "latest version" confirmation message.
---
**Note for Admins:** No changes to `config.yml` are required. All 14 language files will be automatically exported to your `languages` folder upon startup. Just replace the `.jar` file and you're ready to go!
### **Changelog v1.7 - The Perfection Update**
**What's New?**
* **Aesthetic Help Menu:** Added a redesigned, multi-line help menu for `/fhat help`. It now displays a clear list of all commands and their functions.
* **Permission Logic Overhaul:** Fixed a bug where players without permissions could see the plugin version. Now, the "No Permission" message correctly takes priority.
**Bug Fixes:**
* **Discord Link Fix:** The `/fhat discord` command now correctly points to the official Discord server instead of the Modrinth page.
* **Version Formatting:** Fixed a visual issue where the version displayed with a double prefix (e.g., `vv1.7`). It is now correctly shown as `v1.7`.
* **Ultra-Clean Tab-Completion:**
* The `/hat` command no longer suggests unnecessary arguments.
* The `/fhat` command now only suggests player names when using the `hat` subcommand, keeping the suggestion box clean.
---
**Note for Admins:** No changes to `config.yml` or language files are required. Just replace the `.jar` file and you're ready to go!
### **Changelog v1.6**
**What's fixed? (Key changes)**
1. **Smart Autocompletion:** Fixed an issue where the `/hat` command would incorrectly suggest player names or subcommands. The command now remains clean with zero unnecessary suggestions.
2. **Precise Admin Arguments:** Improved tab-completion logic for `/fhat`. The player list now only appears for the `/fhat hat <player>` argument. It is now properly hidden for utility commands like `reload`, `update`, `discord`, `version`, and `help`.
This version brings a complete overhaul of the messaging system and adds support for multiple languages out of the box!
### ✨ New Features
* **Multi-Language Support:** Added 14 built-in languages (English, Polish, German, Spanish, French, and more!).
* **Improved Message System:** Messages can now be displayed in **CHAT**, **ACTIONBAR**, or as a **TITLE**.
* **Dynamic Prefix:** The prefix is now globally managed and can be used in any message using the `${prefix}` placeholder.
* **New Commands:** Added `/fhat discord`, `/fhat update`, and `/fhat reload`.
### Improvements & Fixes
* **Tab Completer:** Fully functional tab completion for all subcommands and player names.
* **Smart Swap:** Improved item swapping logic to prevent item loss when the inventory is full.
* **Performance:** Optimized code for Paper 1.19.4 through 1.21.x.
### Included Languages
`en-US`, `pl-PL`, `de-DE`, `es-ES`, `fr-FR`, `uk-UA`, `it-IT`, `pt-BR`, `ru-RU`, `zh-CN`, `nl-NL`, `tr-TR`, `ja-JP`, `cs-CZ`.