Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
RecipeCooldown
Supports Minecraft 1.16+ with the Fabric/Quilt modloader, designed for server-side and multiplayer environment.
Purpose
Whenever a player click on an item in the recipe book, it sends a request to the server to find that recipe for you and fills in the appropriate items to the crafting slots.
However, no cool down has been officially implemented by Mojang, meaning a malicious player can spam packets to the server at an excessive rate (Even with just auto-clicker) and effectively lag out the server.
This is a simple Fabric-compatible mod that prevents excessive crafting recipe request from the client to lag out the server.
This mod doesn't magically speed up your game, it simply prevents an exploit that allows player to spam packets and causing lags on the server
Config
By default, the mod will only allow the player to request a recipe every 100ms/0.1s (This is usually enough to prevent excessive spamming).
If you want other value for any reason, create a file called recipe_cooldown.cfg
in the config
folder, with a number inside representing the timeout in millisecond.
Bugs/Suggestion
If you have any suggestions or bug report, don't hesitate to open an GitHub issue here!
License
This project is licensed under the MIT License.