
LogicGates
Forget about giant Redstone logic gates. All logic gates in one block!
Автор: piotr.maciej.bednarski3922обновлён 25 сент. 2025 г.
Механики игры
Описание
Logic Gates for Spigot servers

- Extensive Gate Selection: Build one of the 7 basic logic gates (NOT, OR, AND, XOR, NOR, NAND, XNOR) and additional gates such as implication, TIMER (oscillator), or RS-Latch (memory gate).
- Intuitive Interface: Choose gates using a graphical interface (GUI).
- High Performance: The plugin runs efficiently thanks to a system of synchronization with server ticks, task queuing, batch processing, and many optimization techniques.
- Lightweight and Efficient: The plugin's compact size (under 60kB) contributes to its efficient performance and low resource usage.
- Ready to Use: After installation, the plugin is immediately ready to use, no configuration is required.
- Easy Internationalization: Add your own plugin translations by editing the messages.yml file.
- JSON Saving: Gates are saved in JSON format, which makes them easy to process by external software.
- Unlimited Possibilities: Develop and create even more advanced Redstone mechanisms.
- WorldEdit Integration: The plugin integrates with the WorldEdit API, allowing you to copy and paste gates.
Commands and permissions
- Command List: https://logicgates.bednarskiwsieci.pl/docs/commands/list
- Player Permissions: https://logicgates.bednarskiwsieci.pl/docs/commands/permissions
Documentation link
https://logicgates.bednarskiwsieci.pl/
Create the First Gate — Tutorial
https://logicgates.bednarskiwsieci.pl/docs/using-the-plugin/building-logic-gate
Source code
Галерея
Последние версии
Все версии →release
LogicGates 1.2.3
1.2.325 сент. 2025 г.115Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, spigot
Что нового
Changes
- Fixed a bug related to loading the `WorldEditIntegration` if the plugin was unavailable
- Removed the sound signal for updating the logic gate state
Identified an issue related to missing WorldEdit integration support if the installed plugin version lacks support for the `com.sk89q.worldedit.math.BlockVector3.x()` method; the recommended WorldEdit version is 7.3.0 (com.sk89q.worldedit)
release
LogicGates 1.2.2
1.2.221 февр. 2025 г.84Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
Using the `oneTick` config setting you can specify whether the gateway should update every default 2 ticks (more stable) or 1 tick (faster).
release
LogicGates 1.2.1
1.2.117 февр. 2025 г.41Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
This update introduces integration with WorldEdit to ensure that the original properties of logic gates created with the plugin are not lost during editing operations performed with WorldEdit.

**Key changes:**
- During WorldEdit operations, logic gates are temporarily converted into chests containing gate data (e.g., direction, state, interval) stored in a book (WRITABLE_BOOK). This prevents the loss of original data during WorldEdit operations.
- After the WorldEdit operations are completed, the chests are converted back into logic gates, preserving their original properties by retrieving values from the book.
- The integration listens for WorldEdit events (e.g., EditSessionEvent) to track changes and respond accordingly.
- Gate restoration is performed in batches, which improves performance and minimizes server load.
- Gate data is serialized into JSON format and stored in the book using the Gson library.
- We can copy our complex systems using WorldEdit and they will retain their original properties.
**In earlier versions of the plugin, for example, the direction of the gate, the output state, the TIMER interval, the threeInput state — were not copied!**
In this version, we can now create WorldEdit schematics and paste them without any problems, copy and paste selections, or use //stack and many more!
[WorldEdit Integration](https://logicgates.bednarskiwsieci.pl/docs/integrations/worldedit-integration)
release
LogicGates 1.1.8
1.1.89 февр. 2025 г.39Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
## 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.
release
LogicGates 1.1.7
1.1.78 февр. 2025 г.40Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
**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`.
release
LogicGates 1.1.6
1.1.68 февр. 2025 г.34Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
Added integration with bStats for tracking plugin usage statistics.
https://bstats.org/plugin/bukkit/LogicGates/24700
release
LogicGates 1.1.5
1.1.58 февр. 2025 г.38Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, spigot
Что нового
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**: https://github.com/piotrmaciejbednarski/LogicGates/compare/v1.1.4...v1.1.5



