RecipeCooldown
Prevents player from spamming excessive recipe book packets to lag out the server
介绍
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 allow the player to request a recipe every 50ms/1 tick.
To configure the mod:
v1.1.0 (MC 26.1+ only)
You can edit the values in config/recipecooldown.toml, it will take effect after restart.
Optionally, you may use McQoy for client-side editing, or QoMC (/recipecooldown_config) for server-side editing. Effects will take place immediately when configured via those mods.
v1.0.0
You can create a file called recipe_cooldown.cfg in the config folder, with a number inside representing the timeout in millisecond. It will take effect after restart.
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.
常见问题
RecipeCooldown 支持哪些 Minecraft 版本?
RecipeCooldown 支持 Minecraft Java 版 1.17–26.3,共 34 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
RecipeCooldown 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
AmberFrost 的其他作品
查看全部 →Joban Client Mod
Railway Facilities addon and Enhancement mod for the Minecraft Transit Railway (MTR) Mod
List Entry Highlight Fix
Fixes 1-2 pixel of misalignment of the highlight border in Entry List like the Multiplayer screen
SplashFox
Displays an animated bouncy blobfox on Minecraft loading screen
MTR: Curved Platform
Add platform blocks as a MTR rail/track model, allowing smoother curved/sloped platform to be created.
评论
登录后评论和评分