
Список изменений
📦 Passwords Plugin – Version 2.5
Release Date: 2025-05-23
Author: @HamburgBigJ
✨ New Features Added a GitHub issue template for user questions, guiding contributors and specifying unsupported topics. Introduced static access to plugin components (PasswordsApi) including plugin version and config version. New config setting version: "2.5" added to maintain compatibility checks.
🛠 Improvements Refactored Discord Hook Logic: Improved login event handling for DiscordSRV. Simplified and streamlined the check if a player is linked. Code cleanup across multiple files for better readability and maintainability. Refactored GUI close logic for PasswordPlayerMode and PasswordServerMode to correctly kick non-logged-in players only. Converted sendTitel() to sendTitle() to correct method naming in Messages.
🐛 Bug Fixes Fixed issues where player state wasn’t correctly validated on GUI close. Corrected conditional logic in Discord login flow to prevent unintended behavior.
🔧 Technical Changes Changed PasswordsApi class structure to use static references rather than instance-bound. Updated plugin.yml to API version 1.21.5 and corrected plugin version to '1.5' (likely a typo, might need to align with '2.5'). Version bump in build.gradle and config.yml to match release version.
📝 Configuration Updates Adjusted several inline comments in config.yml for clarity and professionalism. Corrected wording and formatting in welcome messages, login modes, and Discord login settings.
