The plugin has been completely redesigned, expanding with new features and fixing many bugs.
- Updated Documentation Link:
The documentation link has been updated to point to the latest version of the plugin documentation, ensuring users have access to the most current information.
- Documentation Relocation:
The plugin’s documentation has been removed from the current project repository and transferred to a dedicated new repository, allowing for easier management and access.
- File Rename - gates.yml to config.yml:
The file previously named gates.yml has been renamed to config.yml to better reflect its role in configuration and to standardize file naming conventions across the plugin.
- Gate Data Migration:
The data for gates has been extracted from the old gates.yml file and is now stored in a new JSON format file, gates.json. This change improves data management and provides greater flexibility for future updates.
- Translation Optimization:
The number of translations in messages.yml has been reduced to streamline the configuration and improve the performance of language handling.
- WorldEdit Integration Added:
The plugin now includes integration with WorldEdit, allowing users to create and manipulate gates in a more intuitive and efficient manner.
- Three-Input Logic Gates:
Support for logic gates with three inputs has been added, expanding the plugin's functionality and offering more complex gate configurations.
- Automatic Update Checking:
The plugin now includes an automatic update checking feature, ensuring that users are notified when a new version of the plugin is available, making it easier to stay up-to-date.
- Improved give Command with GUI Interface:
The previous manual entry for block types in the /give command has been replaced with an easy-to-use graphical user interface (GUI), enhancing user experience and reducing errors.
- Default Gate Direction Aligned to Player’s Facing Direction:
When a gate is placed, its default direction is now aligned with the direction the player is facing, ensuring more intuitive placement.
- Carpet Block Gate Return to Inventory:
When a carpet block gate is destroyed, the gate is now returned to the player's inventory, preventing item loss and improving usability.
- Magic Wand for Gate Rotation:
The rotation of gates can now be controlled through a "magic wand" item, replacing the previous command-based rotation, which enhances the gameplay experience.
- Gate State Update Queue Mechanism:
A queuing mechanism for gate state updates has been implemented using ConcurrentLinkedQueue and ConcurrentHashMap. This allows for more efficient processing of state changes, especially on high-traffic servers.
- Synchronization with Server Tick Rate:
Updates to gate states are now synchronized with the server's tick rate, ensuring that state changes occur at the correct intervals and improving performance.
- State Change Verification for Efficiency:
A verification system has been added to check if the state of a gate has changed since the last update. This reduces unnecessary operations, leading to more efficient processing.
- Code Optimization and Bug Fixes:
The overall code has been optimized for better performance, and numerous bugs have been fixed, ensuring a more stable and reliable plugin.