RecipeCooldown
ModPrevents player from spamming excessive recipe book packets to lag out the server
Description
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.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
SCP-079, The Old AI
An Old AI trapped in an Old Computer... What will it do?
Natural Motion Blur
A motion blur mod that tries to mimic human vision motion blur by blending frames together, reducing stroboscopic effect...
Space Astronomy Tweaks
Small Tweaks for the Space Astronomy Series of Mod Packs
Create:Entity Control
A simple Create attachment that enables custom block entity configurations and can be configured to fix certain exploits...
Create: Create O' Plenty (Create + Biomes O' Plenty Mod compat)
Adds compatibility between Create and Biomes O' Plenty.
Amethyst Equipment
amethyst tools and armor, horse armor as well