支持西班牙语 (@感谢那位来自西班牙的朋友)
Thank you to this friend from Spain for providing the translation. The plugin now supports Spanish
Gracias a este amigo de España por su traducción, el plug - in ahora admite el español
1. Fixed the bug where the chat prompt mode on the Folia server would send a large amount of information to the console
2. Optimized monster type detection. If it is not the original monster, the plugin will determine whether it is an enemy creature based on whether it implements the Monster or Enemy interface
1.修复了folia服务器的chat提示模式会向控制台发送大量信息的bug
2.优化了怪物类型判断,如果非原版怪物,插件会根据它是否实现了Monster或Enemy接口自行判断是否为敌对生物
1.Fix the issue with limiting dense entities where limiting Slimes causes excessive splitting (optimizing lag):
Previously, when limiting Slimes, they would split into multiple small Slimes, causing excessive splitting and potential server lag.
Now, when removing Slimes, they will not split into small Slimes, thus optimizing performance and reducing lag.
2.World entity count restrictions and whitelist/blacklist entity type names for sweeping are now case-insensitive:
The entity type names used in world entity count restrictions and whitelist/blacklist configurations for sweeping are now case-insensitive.
This means you can use any case (e.g., Slime, slime, SLIME, SleMe) without worrying about case sensitivity issues.
3.Optimized the implementation of QuickSendMessage (limiting player chat/command usage rate) to use timestamp recording:
The QuickSendMessage feature, which limits the rate at which players can send chat messages or use commands, has been optimized.
Instead of using previous methods, it now records timestamps to track and enforce the rate limits more efficiently.
1.修复限制密集实体时,限制史莱姆会导致大量分裂的特性(优化卡顿),现在密集实体移除史莱姆不会分裂出小史莱姆
2.世界限制实体数量的实体类型名|扫地时的白名单/黑名单的实体类型名,加入了大小写忽略(Slime,slime,SLIME,SleMe【随你便】)
3.优化了QuickSendMessage(限制玩家聊天/指令使用速率的功能)的实现方式,现在是采用记录时间戳的形式
1.在清理时加入了几个新的变量,移除了老变量%itemsum%
%DealItemSum%为处理的物品总数(包括回收进任意垃圾桶的也包括被清理的)
%GlobalTrashAddSum%为进入公共垃圾桶的物品总数
2.现在"/wtc clear"的时候不会在播报全球垃圾桶还有多少次清理
3.同步了所有的语言文件到最新版
4.修复了用于密集实体清理的“GatherEntity Limit Count”功能中的错误。现在处理密集实体只会广播一次信息,并且代码逻辑已经过优化。如果启用“ItemDropFlag”功能,当战利品掉落时,实体将立即被清除
5.再次对mohist做兼容处理
1.在这一次更新之前的版本,密集实体清理 这个功能里的配置,如黑名单世界,都是无法被指令重载的,只能重启才会更新你改动的内容,这一次更新修复了,已经支持重载了
2.惊喜的发现:我看到群友们这样删除我的黑名单世界的配置文件
# 默认的
BanWorldNameList:
- world
- xxx1
- xxx2
# 下面的群友写的
BanWorldNameList:
# - world
# - xxx1
# - xxx2
他们认为这样就是把BanWorldNameList这张表设为空了,但很遗憾,这是一个基础的yml文件格式问题,yml文件的留空写法是 BanWorldNameList: [] 群友把上面的三个世界都注释掉之后,bukkit的api会认为你采用了错误的配置,他会选择使用插件默认的config文件里的BanWorldNameList内容,也就是会重新禁用world,xxx1,xxx2这三个世界
我对这一次出现的问题感到抱歉,但大多数时候不是插件导致的配置文件不生效的问题,随时欢迎进QQ群讨论
新加指令
/wtc clear 可立刻清理一次垃圾(folia服务器可正常使用功能,但是无法瞬间统计出正确结果,因为全程是异步的)。
5.7.2版本之后可用%WTC_ClearTime%变量查看距离下一次清理垃圾的时间
papi指令/papi parse --null %WTC_ClearTime%