[Optimization | Management | Cleanup] ⭐ WorldListTrashCan ⭐ More Than Just a Cleanup Plugin icon

[Optimization | Management | Cleanup] ⭐ WorldListTrashCan ⭐ More Than Just a Cleanup Plugin -----

A cleanup plugin that allows players to customize trash bins in their home worlds.




Added new feature: World whitelist ignored when sweeping (worlds marked in this tag will skip sweeping)

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接口自行判断是否为敌对生物
----------, Feb 11, 2025

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(限制玩家聊天/指令使用速率的功能)的实现方式,现在是采用记录时间戳的形式
----------, Feb 10, 2025

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
2. Currently, during the '/wtc clear', there will be no broadcast on how many times the global trash cans have been cleared
3. Synchronized all language files to the latest version
----------, Feb 8, 2025

Fix bug in the 'GatherEntity Limit Count' feature for intensive entity cleaning Now processing dense entities will only broadcast information once, and the code logic has been optimized. If the "ItemDropFlag" function is turned on, entities will be immediately cleared when loot drops
----------, Feb 6, 2025

Added some error handling for servers with poor compatibility (such as Mohist server or other Forge+Bukkit mixed server) to ensure that the countdown will not be interrupted again
----------, Feb 1, 2025

这一次用中英混合说明更新内容,因为我的英语水平无法保证能准确的翻译这么大一段而不出现歧义,我会保留我的中文原话

1.在这一次更新之前的版本,密集实体清理 这个功能里的配置,如黑名单世界,都是无法被指令重载的,只能重启才会更新你改动的内容,这一次更新修复了,已经支持重载了

2.惊喜的发现:我看到群友们这样删除我的黑名单世界的配置文件
Code (YAML):

# 默认的
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:

Code (YAML):

# 默认的
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.
----------, Jan 22, 2025

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%
----------, Jan 11, 2025

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)
----------, Jan 11, 2025

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
----------, Jan 4, 2025

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
----------, Jan 4, 2025

Supports cleaning experience balls while cleaning entities, and adds a disable option (enabled by default)
----------, Jan 4, 2025

Fixed some configuration file errors that were not properly located before the major version update
----------, Jan 4, 2025


Plugin adds boss bar prompt types and supports switching between different boss bar styles and their RGB fonts every second
----------, Dec 29, 2024

Fixed the bug where when setting the public trash can not to be cleaned, it still prompts how many times to clean the trash can remaining
----------, Dec 29, 2024

Actionbar supports the use of RGB (&#) and regular color formats (&) together
----------, Aug 5, 2024

Fix some RGB Actionbar bug
----------, Jul 19, 2024

Starting to support entities without entity types, such as most data packets and modules
----------, Jul 17, 2024

Now when WTC Look is in use, it displays all entity types of the block it is in and can be copied
----------, Jul 17, 2024

If the server does not support RGB Actionbar, the old implementation method will be used
----------, Jul 15, 2024

Fix the bug where the actionbar on higher version servers cannot use RGB properly
----------, Jul 7, 2024

Optimize part of the code
----------, Jun 29, 2024

Distinguish and match the RGB color attributes of lower and higher versions of the actionbar, and rewrite some of the RGB display logic
----------, Jun 29, 2024

Fix invalid RGB color for actionbar
----------, Jun 29, 2024

5.0.0

1. 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)
2. Support RGB color anywhere in the plugin, remade all places with RGB color on the default language file for a more aesthetically pleasing appearance
3. 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)
4. 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
5. Optimize various algorithms (such as dense entity cleaning) and decouple them appropriately
6. 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)
7. 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)
8. 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)
9. 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
----------, Jun 15, 2024

Special compatibility update for Mohist server
If you are not on the Mohist server, don't pay attention to this update
Specific changes: Fix the issue of Mohist server being unable to chat using this plugin
----------, Jun 11, 2024

supported luminol server
config add IsFoliaServer option
----------, Jun 10, 2024

Raise the priority of the blacklist to the highest level and fix the bug that prevents the normal cleaning of villagers and tourists
----------, Apr 16, 2024

1. Due to the large length of the configuration file, future updates will include specific paths
2. This update has added an option to clean up named creatures, with the target location being Set ClearEntity ClearReNameEntity
----------, Apr 10, 2024

1. Add a garbage bin whitelist type function(NoClearContainerType), where the types in the list will not be processed by the plugin. It is better to use the garbage bin whitelist Lore function (NoClearContainerLore)!
2. The wtc look command can view the types of items in the main hand, making it convenient to fill in the whitelist type list
----------, Apr 7, 2024

Fix "dropped during dense entity cleaning" option cannot be used on paper core (bug)
----------, Mar 8, 2024

Add an option to check if items have been dropped during dense entity cleaning
----------, Feb 23, 2024

Update:
Prevent item deletion system
(Can be configured when you accidentally drop valuable items onto magma or cacti)
(Enter the command/wtc playertrash to retrieve the deleted item and configure the retrieval price)
(The system is equipped with three modes)
Mode 1: This type of item will be directly placed in the public trash can
Mode 2: This type of item will be placed in a personal trash can opened with instructions (configurable to retrieve price [requires Vault and its economy plugin])
Mode 3: Do not handle this type of item
(To prevent unexpected lag, how many seconds can items be configured not to be processed by the system?)
----------, Jan 18, 2024

Fix error recognition issues in language files
----------, Jan 12, 2024

Fix bug where EntityMoveEvent cannot be used on non paper sever, resulting in inability to clean dense entities
----------, Jan 7, 2024


⭐ WorldListTrashCan ⭐ Fix Some 1.12.2 Paper Server Plugin Enable BUG
----------, Jan 3, 2024

Fix bug where entity cleaning does not work
----------, Jan 1, 2024


support Folia Server!!!
----------, Dec 21, 2023

December 10, 2023-3.7.5
-Special compatibility for the banner end, fixing a bug in the banner end where the font is not replaced when creating a trash can (this bug was reported by group members)
December 14, 2023-3.9.0
-All cleaning countdown prompts can be extracted in a single way, such as chat box and Title and ActionBar prompts that can be changed separately, and multiple prompts can also be present/closed simultaneously
-Supporting Title to prompt players
December 19, 2023-3.9.5
-How many times does the logic of cleaning public trash cans support cleaning public trash cans after sweeping the floor
-Add a reminder on how many more sweeps are needed to clean the public trash can and a reminder on completion of cleaning
-Adding variables of% itemSum% and% EntitySum% can inform players how many items have been placed in the public trash can and how many creatures have been cleared during cleaning
-Optimize code execution logic and simplify all code
----------, Dec 18, 2023

Special compatibility has been made for the banner end, fixing a bug in the banner end that does not replace fonts when creating trash cans (this bug was reported by group members)
----------, Dec 10, 2023

December 5, 2023-3.5.0
-Add a system that prohibits screen scrolling and flashing commands
-Can configure chat, command interval, whitelist command, and prompt information
December 7, 2023-3.6.0
-Add the function of cleaning public trash cans
December 7, 2023-3.7.3
-The/WorldListTrashCan instruction can be abbreviated as/wtc
-Join the Do Not Discard System
-Optimize the code and remove all non enabled features from the server's internal listeners
-Permissions WorldListTrashCan DropMode, new instruction/WorldListTrashCan DropMode controls dropping system switches
----------, Dec 7, 2023

This Update : Plugin Support Limit Player every second send Message Or Commands;
----------, Dec 6, 2023

Support excluding items with special lore
----------, Dec 3, 2023

Resource Information
Author:
----------
Total Downloads: 3,874
First Release: Dec 3, 2023
Last Update: Yesterday at 8:37 AM
Category: ---------------
All-Time Rating:
11 ratings
Find more info at www.mcbbs.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings