LeverLock is a Minecraft plugin designed to prevent rapid lever interactions, which can potentially cause lag or be exploited for unintended game mechanics. It works as a complementary tool to AntiRedstoneClock-Remastered, providing comprehensive protection against redstone-based lag and exploits.
- Prevents Rapid Lever Interactions: Implements a cooldown to prevent players from toggling levers too quickly.
- Customizable Cooldown: Configure the cooldown duration to suit your server's needs.
- Customizable Messages: Personalize the message players see when they trigger the cooldown.
- Memory Efficient: Regularly cleans up stored data to minimize memory usage.
- Reload Command: Easily reload the configuration without restarting the server.
- Lightweight and Efficient: Minimal performance impact on your server.
- Compatible with AntiRedstoneClock-Remastered: Enhances protection against redstone-based exploits and lag.
- Auto-Update Check: On server start, the plugin checks for updates. If a new version is available, a notification is displayed in the console.
- Download: Download the latest version of LeverLock from the Releases page.
- Install: Place the
.jar
file into your server'splugins
folder. - Optional - Enhanced Protection: Download and install AntiRedstoneClock-Remastered for comprehensive protection against redstone-related lag and exploits. Place the
.jar
file into your server'splugins
folder. - Restart: Restart your server to load the plugin(s).
Edit the config.yml
file in the plugin's folder to customize settings:
# LeverLock Configuration
# Cooldown settings
cooldown:
# Duration in seconds before a player can interact with a lever again
duration: 1
# Message settings
message:
# Message displayed when a player tries to interact with a lever too quickly
cooldown: "§cYou are interacting with the lever too quickly!"
# Cleanup settings
cleanup:
# Interval in seconds for cleaning up the cooldown data (5 minutes by default)
interval: 300
/leverlock reload
- Reloads the plugin configuration (requiresleverlock.reload
permission)
- Minecraft Versions: 1.16.5 to the latest release
- Server Software: Paper (1.16.5 and newer)
- Complementary Plugins: AntiRedstoneClock-Remastered
Also check out my other plugins for protecting your Minecraft server:
-
PermGuard
PermGuard - a plugin to enhance server security. It temporarily revokes admin permissions when a player joins the server, to prevent unauthorized access or potential security breaches. Admins can only restore permissions manually via the console using commands likelp user playernick permission set *
. -
NoMoreTNTChainCrash
NoMoreTNTChainCrash is a Minecraft plugin designed to prevent server crashes and lag caused by excessive TNT explosions. It achieves this by removing TNT before automated chain explosions can occur, while still allowing players to manually detonate TNT as desired.
If you encounter any issues or have suggestions for improving the plugin, please create an issue in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.
[Alex] - [https://github.com/alex2276564]
We appreciate your contribution to the project! If you like this plugin, please give it a star on GitHub.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a Pull Request.
Thank you for using LeverLock! We hope it makes your gaming experience more stable and enjoyable. 🎮🔥