-
- Fixed the bug where the chat prompt mode on the Folia server would send a large amount of information to the console
-
- 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.During the cleaning process, several new variables were added and the old variable% itemsum% was removed %DealItemSum% is the total number of items processed (including those collected into any trash bin and those cleared) %GlobalTrashAddSum% is the total number of items entering the public trash can
-
- Currently, during the '/wtc clear', there will be no broadcast on how many times the global trash cans have been cleared
-
- Synchronized all language files to the latest version
这一次用中英混合说明更新内容,因为我的英语水平无法保证能准确的翻译这么大一段而不出现歧义,我会保留我的中文原话
1.在这一次更新之前的版本,密集实体清理 这个功能里的配置,如黑名单世界,都是无法被指令重载的,只能重启才会更新你改动的内容,这一次更新修复了,已经支持重载了
2.惊喜的发现:我看到群友们这样删除我的黑名单世界的配置文件
# 默认的
BanWorldNameList:
- world
- xxx1
- xxx2
# 下面的群友写的
BanWorldNameList:
# - world
# - xxx1
# - xxx2
他们认为这样就是把BanWorldNameList这张表设为空了,但很遗憾,这是一个基础的yml文件格式问题,yml文件的留空写法是 BanWorldNameList: [] 群友把上面的三个世界都注释掉之后,bukkit的api会认为你采用了错误的配置,他会选择使用插件默认的config文件里的BanWorldNameList内容,也就是会重新禁用world,xxx1,xxx2这三个世界
我对这一次出现的问题感到抱歉,但大多数时候不是插件导致的配置文件不生效的问题,随时欢迎进QQ群讨论
This time, I will explain the update in a mixed Chinese-English manner because my English level cannot guarantee that I can translate such a long paragraph accurately without any ambiguity. I will keep my original Chinese text.
Before this update, the settings in the "Dense Entity Cleanup" feature, such as the blacklist worlds, could not be reloaded by commands. You had to restart the server to apply any changes. This update fixes that, and now supports reloading.
A surprising discovery: I saw some group members believing that by doing this, they could set the BanWorldNameList configuration file to be empty:
# 默认的
BanWorldNameList:
- world
- xxx1
- xxx2
# 下面的群友写的
BanWorldNameList:
# - world
# - xxx1
# - xxx2
But unfortunately, this is a basic YAML file formatting issue. The correct way to leave the list empty in YAML is BanWorldNameList: [].
After the group members commented out the three worlds, the Bukkit API would interpret this as an incorrect configuration and default to using the BanWorldNameList from the plugin's default config file, which would re-enable the worlds world, xxx1, and xxx2.
I apologize for the issue that occurred this time, but most of the time, it is not the plugin causing the configuration file to be ineffective. Feel free to join the QQ group for discussion anytime.
- After version 5.7.3, the% WTC_ClearTime% variable can be used to view the time until the next garbage cleaning Papi Command /Papi parse -- null% WTC_ClearTime%
- New Command added /WTC Clear can immediately clean up garbage once (Folia server can function normally, but cannot instantly calculate the correct results because the entire process is asynchronous)
- In addition to prompts such as chat, actionbar, boss bar, and title, an additional sound prompt has been added As with the previous settings, it supports replacing different sounds, volumes, and tones every second
- Fix some bugs when the plugin is in the Folia server environment
- Now you don't need to open the 'chat' prompt to use the 'actionbar' 'title' 'bossbar' prompt
- Supports cleaning experience balls while cleaning entities, and adds a disable option (enabled by default)
5.0.0
- Fix the bug in Paper and Folia where dense entity restrictions cannot restrict non live entities. Dense cleaning fully supports clearing dead entities (such as various ships, mining carts, armor frames, and even arrows shot by skeletons on the ground)
- Support RGB color anywhere in the plugin, remade all places with RGB color on the default language file for a more aesthetically pleasing appearance
- Compatibility has been made on lower versions of servers that do not support RGB. The plugin comes with language files specific to higher and lower versions, and will automatically switch based on the server version (please delete the original language files for updates)
- If the server is a Paper or Folia server, the plugin will automatically determine and adapt to better APIs to improve the plugin's response speed
- Optimize various algorithms (such as dense entity cleaning) and decouple them appropriately
- Attempt to fix the issue of the plugin not displaying colors properly on the console (there are many functions in the plugin body that cannot be checked one by one, and there are still residues)
- Add default permissions: WorldTrashCan Main, If you ban this permission, players will not be able to create a world trash can. If you are only interested in the powerful features of this plugin (except for the world trash can)
- Abandoned the step of the server owner using the configuration file to determine whether it is a Folia server on their own, and the plugin will compare the API class names that the server can use to determine the server characteristics on its own (this supports all Folia and paper branches)
- Fix the bug where the plugin works on the mohist end, causing players to be unable to chat normally due to the anti swipe system that comes with the plugin registering chat events deleted on the mohist end