RaidEngine 0.6.3
Added
- Implemented bStats metrics integration (anonymous, opt-out via
/plugins/bStats/config.yml).
Changed
- Breaking: Publication flow: created a public distribution repository dedicated to release artifacts (.jar) and checksums, with stable links for "latest" and version history.
- Performance: Improved GUI item name rendering by reducing reflection overhead in
Compat.metaDisplayName().
Fixed
- Critical: Fixed GUI menu items displaying Material names instead of translated text (e.g., "GOLD_INGOT" instead of "Banco").
- Root cause: Java Modules restrictions preventing reflection access to
CraftMetaIteminternal methods. - Solution: Replaced unnecessary reflection calls with direct API usage for
setDisplayName()andsetLore(). - Affected components: All GUI menus including
ClanInfoMenu,MenuTheme,ClanBankMenu,ClanSettingsMenu, and more.
- Root cause: Java Modules restrictions preventing reflection access to
- Compatibility: Enhanced cross-version support for ItemMeta display name setting:
- Modern Paper API (MC 1.20.5+): Uses
displayName(Component)when available. - Legacy Bukkit API (MC 1.19.4 and earlier): Uses
setDisplayName(String)with proper Component serialization.
- Modern Paper API (MC 1.20.5+): Uses
- Stability: Eliminated reflection-related errors in logs:
"class com.datan.raidengine.util.Compat cannot access a member of class org.bukkit.craftbukkit.inventory.CraftMetaItem".
Technical Details
- Refactored:
Compat.metaDisplayName()method to use direct API calls instead of reflection for legacy methods. - Improved: Error handling with better fallback mechanisms for cross-version compatibility.
- Maintained: Full backward compatibility with Minecraft versions 1.19.4 through 1.21.8.