
NekoList (Whitelist)
Advanced whitelist management system with Discord integration and multi-language support
685
2
Список изменений
NekoList v1.2.1 - Stability & Correctness Fixes
This patch release focuses on improving the stability, correctness, and maintainability of the plugin, addressing several issues identified in v1.2.0.
🔧 Fixed
- Critical: Duplicate Class Definitions: Resolved the issue where
DiscordBotandDiscordEventListenerwere incorrectly defined as identical classes. The codebase now correctly separates concerns between the bot instance and its event listeners. - Enhanced Token Validation: Improved the check for the Discord bot token. The bot will now fail to start cleanly if the token is missing or remains the default placeholder
"YOUR_BOT_TOKEN_HERE", preventing unintended attempts to connect with invalid credentials. - Dependency Cleanup: Removed unnecessary
snakeyamldependency. The plugin now correctly relies on the built-in YAML support provided by Bukkit/Spigot and Velocity APIs, reducing the final JAR size. - Resource Handling: Corrected the Gradle build script's
processResourcestask. It now correctly includes only.ymlfiles from the resources directory, as these are the only types used by the plugin, removing the redundant.yamlinclusion. - Removed Unused Dependency: Eliminated the unused
compileOnly("net.luckperms:api:5.4")dependency from the build configuration. - Refined Shadow JAR Exclusions: Updated the
shadowJartask to correctly exclude Paper and Velocity API dependencies only when they are included viaimplementation. The existingcompileOnlydeclarations already handle this correctly for the target platforms. - Documentation Accuracy: Corrected instructions in the README regarding building from source (
./gradlew build) and clarified platform-specific sections (Paper/Forks, Velocity/Forks). - Translation Consistency: Updated the "ping" command response translation placeholders in the example configuration and language files to ensure consistency (e.g., "¡Pong!" in Spanish is now correctly "¡Ping!").
🏗️ Internal Improvements
- Code Structure: Refactored internal structures to ensure better separation of logic between core plugin, Bukkit module, and Velocity module.
- Build Process: Streamlined the Gradle build process for clarity and efficiency.
- Maintainability: Addressed structural issues that could lead to confusion or errors in future development.
Файлы
NekoList-1.2.1.jar(10.30 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.1
Загрузчики
BukkitPaperPurpurSpigotVelocity
Версии игры
1.21–1.21.11
Загрузок
139
Дата публикации
2 мес. назад
