WkKit icon

WkKit -----

Gift Pack|Automatic refresh Kit plugin based on Cron expression! - Support 1.21.5✅Folia✅



Major Update | Comprehensive upgrade of plugin API adaptation to 1.20 and above.
  • Full compatibility with Minecraft 1.12 and below, as well as 1.20.5 and above. All NBT, GUI, and kit features now work stably across versions.
  • Enhanced MySQL configuration: added useSSL and tablePrefix options. All SQL operations now support table prefix placeholders, improving database compatibility and security.
  • Comprehensive NBT-API upgrade: all legacy NBTItem usages have been replaced with the new API (ReadWriteNBT, NBT.itemStackToNBT, NBT.itemStackFromNBT, etc.), strictly following official best practices.
  • The writing and reading of the wkkit tag for kit items are now fully adapted to both old and new NBT structures, with automatic version detection to ensure correct kit name retrieval on 1.20.5+.
  • Added utility methods ItemEditer.hasWkKitTag and ItemEditer.getWkKitTagValue to standardize wkkit tag checking and retrieval; all related code has been globally refactored.
  • All GUI kit group, kit editing, item saving, and listener logic involving the wkkit tag have been refactored with the new API and utility methods, with null checks to prevent NPEs.
  • Item utility classes such as PlayerHead, GlassPane, and Barrier are now fully compatible with the new NBT-API and multi-version support.
  • Server version retrieval and comparison now support precise versions (e.g., 1.21.1, 1.20.5), and all version branching logic has been upgraded.
  • The /give command now sends kits to the mailbox if the player is offline or has insufficient inventory space, improving delivery experience and fault tolerance.
  • Fixed the issue where expandable menus skipped the claim cooldown, ensuring all kit claim logic is accurate.
  • Fixed issues caused by NBT structure changes, such as kit group click failures and kit name retrieval errors.
  • Removed all direct dependencies on NBTItem, thoroughly cleaning up legacy API usage for better code consistency and maintainability.
  • Full multi-language support: now automatically loads Simplified Chinese, Traditional Chinese (Taiwan/Hong Kong), English, Japanese, and Korean language packs based on system locale or config settings.
  • Supports user-defined language files: simply add your yml file to the Language folder and set it in the config to enable automatic recognition.
  • Improved language file loading logic: if the specified language is not found, it will automatically fall back to English for better compatibility and usability.
  • Removed all deprecated Locale usages, now uses getLanguage() and getCountry() for locale detection, making the code more modern and robust.
  • All MySQL, log management, kit, menu, CDK, and other prompt texts are fully internationalized; all info/warning/severe and player messages support multi-language.
中文日志:
  • 全面适配Minecraft 1.12及以下、1.20.5及以上版本,所有NBT、GUI、礼包等功能均可跨版本稳定运行。
  • MySQL配置增强,支持useSSL和tablePrefix参数,所有SQL操作支持表前缀占位符,提升数据库兼容性和安全性。
  • NBT-API全面升级,所有旧版NBTItem相关用法全部替换为新API(ReadWriteNBT、NBT.itemStackToNBT、NBT.itemStackFromNBT等),并严格遵循官方推荐写法。
  • 礼包物品wkkit标签的写入与读取方式全部适配新旧NBT结构,自动判断版本,确保1.20.5及以上能正确识别和获取礼包名。
  • 新增ItemEditer.hasWkKitTag和ItemEditer.getWkKitTagValue等工具方法,统一处理wkkit标签的判断与获取,所有相关代码已全局替换。
  • GUI礼包组、礼包编辑、物品保存、监听器等所有涉及wkkit标签的逻辑,全部用新API和工具方法重构,并加上判空保护,防止NPE。
  • PlayerHead、GlassPane、Barrier等物品工具类全部适配新版NBT-API和多版本兼容。
  • 服务器版本号获取与比较支持精确到小数点(如1.21.1、1.20.5),所有分流逻辑均已升级。
  • Give指令调整为玩家离线、背包空间不足时自动发送至邮箱,提升发放体验和容错性。
  • 修复展开型菜单跳过领取时间的问题,确保所有礼包领取逻辑准确无误。
  • 修复了因NBT结构变更导致的礼包组点击无效、礼包名获取失败等问题。
  • 移除所有对NBTItem的直接依赖,彻底清理旧API残留,提升代码一致性与可维护性。
  • 全面适配多语言,支持简体中文、繁体中文(台湾/香港)、英文、日语、韩语等,自动根据系统语言或配置文件自动加载对应语言包。
  • 支持用户自定义添加语言文件,只需将yml文件放入Language文件夹并在配置中设置即可自动识别。
  • 移除所有已过时的Locale写法,统一采用getLanguage()和getCountry()判断,提升代码现代性。
  • MySQL、日志管理、礼包、菜单、CDK等所有提示文本全部国际化,所有info/warning/severe和玩家消息均支持多语言。
----------, May 25, 2025
Resource Information
Author:
----------
Total Downloads: 11,898
First Release: Dec 16, 2021
Last Update: Jun 29, 2025
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings