Skip to content

Releases: piotrmaciejbednarski/LogicGates

v1.2.2

21 Feb 10:50
8cdb7ed
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.2.2

v1.2.1

17 Feb 11:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

12 Feb 17:02
Compare
Choose a tag to compare

Since version 1.2.0 of the plugin, a way to change the input direction of the NOT gate has been added. To do this, configure the notGateInputPosition key in the config.yml file. You can set the value to default or opposite. The default value (default) sets the input position of the gate according to the old method. When changed to opposite, the input of the NOT gate will be reversed relative to the output of the gate (opposite). This is very useful when we want to build a layout that is kept in one line.

# Define the position of the input for NOT gate
# Options: default, opposite
notGateInputPosition: default

image

Pull request: #8

v1.1.9

12 Feb 02:39
8a51adf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.8...v1.1.9

v1.1.8

09 Feb 09:44
Compare
Choose a tag to compare

New features

  • Added the legacyMode variable to the GateUpdater class, which controls whether the system uses the legacy method for updating block states (REDSTONE_BLOCK or Material.AIR) or the modern method (GateUtils.setRedstonePower).
  • Added legacyMode configuration in the config.yml file with a corresponding comment explaining its functionality.
  • Updated messages.yml file.
  • Added a Sound.BLOCK_NOTE_BLOCK_PLING when a gate block is interacted with.
  • Added support for Material.TARGET block on output.

Changed

  • Improved the setRedstonePower function in the Bukkit plugin to make it safer. Added synchronization, improved exception handling.
  • Corrected the UpdateChecker class to use proper format specifiers in String.format.

Fixed

  • Fixed the java.util.UnknownFormatConversionException: Conversion = 'l' error in the UpdateChecker class.
  • Fixed issues in the messages.yml file related to incorrect format specifiers.

v1.1.7

08 Feb 22:58
Compare
Choose a tag to compare

Changes in version 1.1.7:

  • Updated com.gradleup.shadow: The com.gradleup.shadow plugin has been updated to the latest version. The hard-coded version of the plugin has also been removed, which will make future updates easier.
  • Migrated to PaperMC-API: The project has been migrated from Spigot-API to PaperMC-API. This change should provide benefits in terms of improved performance and access to new features offered by PaperMC.
  • Package name change: The package name has been changed from com.piotrbednarski to pl.bednarskiwsieci.

v1.1.6

08 Feb 04:21
Compare
Choose a tag to compare

Added integration with bStats for tracking plugin usage statistics.

v1.1.5

05 Feb 14:36
Compare
Choose a tag to compare

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.

Full Changelog: v1.1.4...v1.1.5

v1.1.4

03 Feb 08:57
Compare
Choose a tag to compare

🚀 Plugin Now Open Source!

I'm excited to announce that the plugin is now officially open source!

🔧 Improvements & Fixes:

  • Fixed multiple bugs
  • Optimized performance
  • Refactored the codebase for better maintainability

With version v1.1.4, we now have a solid foundation for future updates, ensuring continuous improvements and refinements. Stay tuned for more enhancements.