Repository navigation
TextDisplayShapes v2.0.1-SNAPSHOT Release Notes
TextDisplayShapes v2.0.1-SNAPSHOT Release Notes
What's New
Multi-Platform Modular Architecture
The project has undergone a major refactoring into a multi-module Maven architecture to cleanly support different server platforms and simplify integration.
Details:
- New Modular Structure
api: A clean, platform-agnostic API module for improved extensibility and independence from specific platform implementations.paper: Paper-specific implementation (formerlybukkit).spigot: Dedicated Spigot implementation.packet: Packet-based implementation using EntityLib (formerlyentitylib-spigot).
Performance and Stability Improvements
- Memory Leak Fix: Resolved a memory leak issue associated with
Set<Player>by switching toUUID-based viewer management. This prevents lingering references to disconnected players. - Display Transformations: Refactored
paperandpacketmodules to leverage proper TRS (Translation, Rotation, Scale) structures for display transformations. - Origin Rebasing: Added a new
teleportOriginmethod to allow adjusting the origin position of a shape dynamically. - Display Control: Added new display control functions to adjust the field of view (FOV).
CI/CD and Publishing Automation
- GitHub Actions: Added automated CI/CD workflows for Java compilation and Maven package publishing.
- Maven Deployments: Configured automated artifact publishing to the TWME Maven remote repository (
https://repo.twme.dev/).
Dependency Updates
- Bumped
EntityLibto3.2.3+52da287-SNAPSHOT. - Bumped
packetevents-spigotto2.12.0. - Various updates to Maven build plugins (
maven-compiler-plugin,maven-shade-plugin).
API Changes
- Modularization: The library is no longer a monolithic artifact. You must now depend on the specific module for your target platform (
textdisplayshapes-api,textdisplayshapes-paper,textdisplayshapes-spigot,textdisplayshapes-packet). - Viewer Management: Internal viewer management now uses
UUIDinstead ofPlayerobjects.
Migration
This release involves a major architecture change (version bump to 2.0.1-SNAPSHOT):
- Update your project's build file (e.g.,
pom.xml,build.gradle.kts) to point to the new modular artifacts instead of the root project. - If your code directly interacts with viewer management sets or tracks players, update your implementation to handle
UUIDs instead ofPlayerinstances.
Notes
- Bumped version from 1.3.0 to 2.0.1-SNAPSHOT.
Acknowledgements
- Thanks to the contributors who worked on the multi-module refactoring, CI/CD improvements, and memory leak fixes.
Full Changelog: 1.3.0...2.0.1-SNAPSHOT