本模组仅适用于服务器端,无需也不应在客户端安装。
Lag'B'Gon 是一款用于减少卡顿的工具。它会按照可配置的时间间隔自动扫描实体和掉落物,并将其从世界中移除(除非它们在黑名单中)。此外,当 TPS 低于可配置的水平时,Lag'B'Gon 还可以卸载区块。(虽然你不能将其设置得高于 15 TPS)。Lag'B'Gon 还具备防止过度繁殖的功能。当然,玩家可以绕过此保护机制,但它仍然会有所帮助。
所有配置均可通过游戏内的 /bgon 命令及其子命令进行处理。/bgon 仅限 OP 使用。如果收到请求,我会考虑接入 Forge Essentials 权限系统,但这并非当务之急。
命令:
- /bgon toggleitem :将你在快捷栏中选中的物品放入物品黑名单,防止其在清除操作中被移除。
- /bgon toggleentity <name> :将指定名称的实体放入实体黑名单,防止其在清除操作中被移除。此处使用的是实体的显示名称,因此“Skeleton”会涵盖骷髅,但不包括“Wither Skeleton”。建议使用 /bgon scanentities 显示的名称以获得最佳效果。
- /bgon clear :手动执行一次清除操作,从世界中移除物品和实体。
- /bgon interval <time> :设置自动清除之间的时间间隔。实际间隔会比设定值多 1 分钟,因为其中包含 1 分钟的警告时间。
- /bgon toggleauto :开启或关闭自动清除功能。
- /bgon listitems :列出物品黑名单的内容。
- /bgon listentities :列出实体黑名单的内容。
- /bgon settps <tps> :设置自动卸载区块的 TPS 阈值。在游戏中不能设置为高于 15。如果你足够疯狂想要更高的值,可以在配置文件中手动修改。
- /bgon unload :手动卸载未使用的区块。
- /bgon scanentities :这将给出你周围所有实体(10x10x10 立方体范围)的名称,格式与应输入到黑名单中的完全一致,以防止 /bgon clear 将它们移除。
繁殖相关:
- /bgon togglepolice :开启或关闭自动执法繁殖限制。
- /bgon setbreedlimit :设置在 10x10x10 区块内允许的最大 EntityAgeable 类型生物数量,超过该数量后将自动阻止更多繁殖。
本模组仍处于早期发布阶段,在重要服务器上使用前请充分测试。
Github 仓库
This is intended as a Server Only mod. It does not need to, and should not, be installed on client side.
Lag'B'Gon is a lag reduction utility. It will automatically scan for entities and dropped items at configurable intervals, and remove them from the world, unless they're blacklisted. Additionally, Lag'B'Gon can unload chunks when TPS drops below a configurable level. (Although you cannot set it higher than 15 TPS). Lag'B'Gon is also capable of preventing overbreeding. Players can work around the protection, of course, but it will still help.
All configuration can be handled in game through the /bgon command, and it's sub commands. /bgon is only available to ops. If I receive requests to, I will see about hooking into Forge Essentials permission system, but it is not a priority.
Commands:
- /bgon toggleitem : Places the item you have selected on your hotbar into the item Blacklist, preventing it from being removed during Clears.
- /bgon toggleentity <name> : Places the named entity into the Entity blacklist, preventing it from being removed during Clears. This would be the displayed name of the entity, so "Skeleton" would cover skeletons, but not "Wither Skeleton". Use the names displayed by /bgon scanentities for best results.
- /bgon clear : Manually runs a Clear, removing items and entities from the world.
- /bgon interval <time> : Sets the time between automatic Clears. The interval is actually 1 minute longer, as it includes a 1 minute warning.
- /bgon toggleauto : Turns automatic clearing on and off.
- /bgon listitems : Lists the contents of the item blacklist.
- /bgon listentities : Lists the contents of the entity blacklist
- /bgon settps <tps> : Sets the TPS below which chunks will be unloaded automatically. Cannot be set higher than 15 in game. If you're insane enough to want it higher, you can do so in the config by hand.
- /bgon unload : Manually unloads unused chunks.
- /bgon scanentities this will give you the name of all nearby entities (10x10x10 cube), exactly as it should be entered into the blacklist, to prevent /bgon clear removing them.
Breeding Related:
- /bgon togglepolice : Turns automatic policing of breeding on.
- /bgon setbreedlimit : Sets the maximum allowed mobs of type EntityAgeable in a 10x10x10 chunk, before more breeding is prevented automatically.
This mod is still an early release, please test thoroughly before using on anything like an important server.
Github Repository
评论 0
登录后参与评分
还没有评论,来抢沙发吧