[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.



Introducing a plugin that allows players to customize garbage bins in their home worlds.

This plugin is more suitable for pairing a world with a team's server, such as the Home server (using the PlayerWorldsPro plugin or other Home plugin servers). If you close the World Garbage can, its functions can also completely replace other cleaning plugins

Not very clear?
Let me explain. This cleaning plugin runs within a specific world (the player's home), and when cleaning up items, collect them into a trash bin set up by the player himself.
Highly configurable and supports multiple languages.
Support Folia Server!!!

Here's a little black humor for you:
Player: rolleyes: Hey, my diamond was devoured by the floor cleaning plugin. Can you reimburse me?
OP::Not sure: No, you can't prove it. In addition, the cleaning plugin does not keep any records.
Player: Cry:: I just bought it!
OP::( What if you hide them and I reimburse you? It's like getting two sets.
Player: Mad :: ***
OP:: Pinnacle: Even if the server has a public trash can, someone else might steal the diamonds.
OP::eek: What should I do?
Thus, this plugin was born.

If you like one of the versions, you can find historical version traces in Modiinth

https://modrinth.com/plugin/worldlisttrashcan/versions


Feature display
(The size of the picture has been specially processed for your peace of mind)

Firstly, it has the main function of a regular cleaning plugin, which is to clean up fallen objects
The prompt can be completely customized


Fully customizable tip

Support multiple prompt messages You can achieve fully customized prompts For example, when there are three seconds left, let "bossbar", "actionbar", "chat",and "title" prompt together, Alternatively, you can have the bossbar change its style every second (solid, non solid, including its color, can be different every second)

After version 5.7.0, it supports switching between different prompt sounds per second, as well as setting different volumes and tones per second

[​IMG]

(similar to the previous signature lockbox mechanism)
However, once created, the font of the logo will be transformed.
Player-made
home trash cans:

(When the cleanup is performed, the items will be added to the household trash can)
(You can set the test name and transformation name)

"To meet the demands of a small number of people, here is a reminder"
How to create a world trash can:
Place the chest on the ground, hold the signboard and right-click on the chest. Enter [世界垃圾桶] in the configuration file (configured in Set. SighCheckName), and once the font is converted, it is created. Every time the garbage is cleaned, it will be placed in the marked chest
In the default configuration file, the names of the three worlds "world, dim-1, dim1" are disabled, creating a "world trash can" (excluding op)


[​IMG]
Support for multiple household bins:
(Commands can be issued to special players to place more household trash cans, with a configurable default number).
[​IMG]

Spill from household bin to public trash can:
(Public trash cans can set the maximum page value and have a blacklist)
[​IMG]

Player-managed household trash can blacklist: Players can add items to the household trash can blacklist to prevent them from being recycled. In this case, the item will go directly to the public bin.
(If the item is also on the blacklist of public trash cans, it will be actually cleaned up)
[​IMG]

Entity cleanup support:
(Optional cleanup for all animals/all monsters)
(Use the /WorldListTrashCan Look command to view the entity type, fill in the configuration file to configure the entity blacklist/whitelist)
(Support for purging special entities from mod SlashBlades, as shown in the image - just use the "View" command to fill in the blacklist with the type you see).
[​IMG]

Dense Entity Cleanup:
(Configurable detection radius, target quantity, kill or remove how many entities, and prompts to players)
[​IMG]


Screen swiping and command swiping restrictions
(configurable chat, command interval, whitelist command, and prompt information)
Defense against accidentally discarding items
Players can actively turn on or off the anti discard mode
Worried about the possibility of losing valuable items when your anti discard mode is not turned on? It's not a big deal either

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?)
[​IMG]

Various Performance Optimizations:
(All optimizations can be disabled in the configuration file)
Quickly remove arrows that cannot be picked up
(such as those shot by skeletons or bows with infinite enchantments).

Prevent players from trampling farmland.


Known Bugs:

Code (Text):
Currently known bugs have all been fixed.

Join the group to report bugs/provide suggestions QQ Group: 923738709

Reminders:
1.Home trash bins support players to configure their item blacklists. If there are too many chicken farmers on the server, players can configure the trash bin in the configuration file to not accept eggs (for inventory overflow warnings).
2.The plugin code optimization is good; it only performs simple type checks on the blacklist, so there's no need to worry about performance issues caused by detection.
3.In the configuration file, it's possle to configure certain worlds where trash bins cannot be created. The trash bin itself does not perform permission checks, as, after all, other players must have permission to build in the home world.
4.The trash bin itself does not perform permission checks, but the trash bin blacklist GUI will perform permission checks. The check involves placing or breaking any block within three seconds (of course, the block won't actually be broken) to open the blacklist GUI for adding items.


Configuration File:

Almost all parameters can be adjusted in config.yml. Each parameter in the configuration file has detailed explanations. (Almost all features and all prompt messages can be configured!)

config.yml

Code (Text):

# 5.1.5配置文件小更新:
# 调整了个人垃圾桶的配置位置,加入了新的参数,如果你的配置文件是从版本小于5.1.5搬运而来,请最好重新生成一份配置文件,后果自负

#如果你使用的是1.16.5以上支持RGB颜色的服务器
#以下的所有带字符串的配置均可设置为RGB颜色
#格式为   &#FFB5C5 I am RGBColor

# 所有功能Flag开关解释:
# true为启用,  false为禁用


# 请在群内问问题时分清楚以下内容
# 1.个人垃圾桶(又称私人垃圾桶): 每个玩家独立的垃圾桶
# 2.世界垃圾桶(又称家园垃圾桶):玩家创建的,独立于世界的垃圾桶,每次清理垃圾时会将该世界的垃圾放到该世界的世界垃圾桶里
# 3.全球垃圾桶(又称全局垃圾桶):所有世界互通的全局垃圾桶,当玩家的个人垃圾桶或任意一个世界垃圾桶塞不下时、会转移到全球垃圾桶里


Set:
  Debug: false
  Lang: message_zh.yml
  #全球垃圾桶(当世界垃圾溢出来的物品会进入该垃圾桶)
  GlobalTrash:
    #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
    Flag: true
    #公共垃圾桶最大页数
    MaxPage: 5
    #在每N次扫地时,先清理公共垃圾桶内原有物品,后再将物品加入公共垃圾桶
    #如果下面的数是3,则在三次扫地之后,自动清理公共垃圾桶
    #如果为-1,则不会清理公共垃圾桶
    EveryClearGlobalTrash: 3
  #每次执行的垃圾清理的间隔
  SecondCount: 360
  #如果你想关闭这个功能,可以在权限组插件中禁用默认自带的WorldTrashCan.Main权限,玩家就无法创建世界垃圾桶了
  #玩家创建垃圾桶需要输入的字段
  SighCheckName: "[世界垃圾桶]"
  #创建垃圾桶成功后替换的字段
  #这里在插件4.9.0版本过后就可以使用RGB颜色了!
  #注意。只能在1.16.5以上版本使用RGB颜色,请勿在1.16.5以下使用,可能会导致世界垃圾桶无法正常检查字段
  SighCheckedName: "&b[&c世界垃圾桶&b]"
  #包含以下物品类型的(用wtc look也可以查看手持物品类型)
  NoClearContainerType:
    #以下物品不会进行任何处理(不会被清理,放入垃圾桶)
    - "DIAMOND"
  #包含以下任意一行lore的物品不处理
  NoClearContainerLore:
    #防止QS商店的悬浮物被处理进垃圾桶
    - "shopLocation"
  ClearEntity:
    #是否同时清理实体
    #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
    Flag: true
    #是否清理怪物
    ClearMonster: true
    #是否清理动物
    #村民在不同版本中可能属于动物,可能不属于动物,如果你想特别清理村民,请移除白名单后加入黑名单
    ClearAnimals: false
    #是否清理被命名过的生物
    ClearReNameEntity: false
    #如果在以下名单内,不会清理(白名单)
    WhiteNameList:
      - VILLAGER
      - WITHER
    #如果在以下名单内,会清理(黑名单)
    BlackNameList:
      #这是拔刀剑的刀挂台以及拔刀的实体
      - FLAMMPFEIL.SLASHBLADE_BLADESTAND

  #仙人掌,岩浆触碰到的物品的处理
  PersonalTrashCan:
    #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
    Flag: true
    OriginalFeatureClearItemAddGlobalTrash:
      #模式1:将丢进仙人掌,岩浆后被删除的物品(Delay秒内)直接装入公共垃圾桶  [作者推荐]
      #模式2:将丢进仙人掌,岩浆后被删除的物品(Delay秒内)装入个人独立的垃圾桶("个人垃圾桶")(类似于这类物品的特殊垃圾桶)  [群友要求]
      #模式3:对这类丢进仙人掌,岩浆,岩浆后被删除的物品(五秒内),不处理(关闭该功能)
      UseModel: 3
      #玩家丢在地上的物品超过以下Delay设置的时间,就算丢进仙人掌,岩浆后,也不会被处理(防止卡顿)
      Delay: 6
      #这是对模式2的特别设置,如果你使用了模式2的话
      Model2:
        #若"个人垃圾桶"满了,是否自动清理
        AutoClear: true
        #如果使用了Vault以及它的经济插件,可以在下面设置玩家从个人垃圾桶中 取出垃圾所要花费的金币
        #如果没使用Vault以及它的经济插件或者不想使用扣费功能,请在下面填-1以禁用
#        Coins: 10.0
        Coins: -1

    # 对玩家丢弃的物品进行处理,使用条件:服务器版本>1.14 否则下面选项无效
    # 当玩家所处世界没有世界垃圾桶时。玩家主动丢弃的物品是否优先进入个人垃圾桶,其次才进入全球垃圾桶
    # 这里填false则玩家主动丢弃的物品不会优先进入个人垃圾桶
    NoWorldTrashCanEnterPersonalTrashCan: false


  # 支持的所有bossbar颜色
  #    PINK,
  #    BLUE,
  #    RED,
  #    GREEN,
  #    YELLOW,
  #    PURPLE,
  #    WHITE;
  # 支持的所有bossbar类型
  #    SOLID,
  #    SEGMENTED_6,
  #    SEGMENTED_10,
  #    SEGMENTED_12,
  #    SEGMENTED_20;
  BossBarFlag: true
  BossBarMessageForCount:
    - 30;&d&l即将清理物品和实体;SOLID;RED
    - 29;&d&l即将清理物品和实体;SOLID;YELLOW
    - 28;&d&l即将清理物品和实体;SOLID;GREEN
    - 27;&d&l即将清理物品和实体;SOLID;BLUE
    - 26;&d&l即将清理物品和实体;SOLID;PINK
    - 25;&d&l即将清理物品和实体;SOLID;PURPLE
    - 24;&d&l即将清理物品和实体;SOLID;WHITE
    - 23;&d&l即将清理物品和实体;SEGMENTED_6;RED
    - 22;&d&l即将清理物品和实体;SEGMENTED_6;YELLOW
    - 21;&d&l即将清理物品和实体;SEGMENTED_6;GREEN
    - 20;&d&l即将清理物品和实体;SEGMENTED_6;BLUE
    - 19;&d&l即将清理物品和实体;SEGMENTED_6;PINK
    - 18;&d&l即将清理物品和实体;SEGMENTED_6;PURPLE
    - 17;&d&l即将清理物品和实体;SEGMENTED_6;WHITE
    - 16;&d&l即将清理物品和实体;SEGMENTED_10;RED
    - 15;&d&l即将清理物品和实体;SEGMENTED_10;YELLOW
    - 14;&d&l即将清理物品和实体;SEGMENTED_10;GREEN
    - 13;&d&l即将清理物品和实体;SEGMENTED_10;BLUE
    - 12;&d&l即将清理物品和实体;SEGMENTED_10;PINK
    - 11;&d&l即将清理物品和实体;SEGMENTED_10;PURPLE
    - 10;&d&l即将清理物品和实体;SEGMENTED_10;WHITE
    - 9;&d&l即将清理物品和实体;SEGMENTED_12;RED
    - 8;&d&l即将清理物品和实体;SEGMENTED_12;YELLOW
    - 7;&d&l即将清理物品和实体;SEGMENTED_12;GREEN
    - 6;&d&l即将清理物品和实体;SEGMENTED_12;BLUE
    - 5;&d&l即将清理物品和实体;SEGMENTED_12;PINK
    - 4;&d&l即将清理物品和实体;SEGMENTED_12;PURPLE
    - 3;&d&l即将清理物品和实体;SEGMENTED_20;WHITE
    - 2;&d&l即将清理物品和实体;SEGMENTED_20;RED
    - 1;&d&l即将清理物品和实体;SEGMENTED_20;YELLOW
    - 0;&a清理成功,有%ItemSum%个物品加入了公共垃圾桶,有%EntitySum%个生物被清理;SEGMENTED_20;GREEN
    #-1和-2是设置清理公共垃圾桶时的提醒,如果本次没有清理公共垃圾桶,则输出-1的提醒,如果本次清理公共垃圾桶,则输出-2的提醒
    #该提醒是在清理垃圾后,延迟2秒发送的提醒
    - -1;&d还有%ClearGlobalCount%次清理,公共垃圾桶;SEGMENTED_20;GREEN
    - -2;&a公共垃圾桶的物品已刷新;SEGMENTED_20;GREEN

  #是否启用ActionBar的提示方式(经验条上面的提示字)
  #ActionBar 也支持使用RGB(版本1.16.5+)
  ActionBarFlag: true
  ActionBarMessageForCount:
    - 60;&d&l还剩下 60 秒清理物品和实体
    - 30;&d&l还剩下 30 秒清理物品和实体
    - 10;&d&l还剩下 10 秒清理物品和实体
    - 5;&c&l5秒
    - 3;&c&l3秒
    - 2;&c&l2秒
    - 1;&c&l1秒
    - 0;&a清理成功,有%ItemSum%个物品加入了公共垃圾桶,有%EntitySum%个生物被清理
    #-1和-2是设置清理公共垃圾桶时的提醒,如果本次没有清理公共垃圾桶,则输出-1的提醒,如果本次清理公共垃圾桶,则输出-2的提醒
    #该提醒是在清理垃圾后,延迟2秒发送的提醒
    - -1;&d还有%ClearGlobalCount%次清理,公共垃圾桶
    - -2;&a公共垃圾桶的物品已刷新

  #是否启用Title的提示方式
  TitleFlag: false
  TitleMessageForCount:
    #这里多了一个;是因为前一个是大标题,后一个是小标题
    - 60;&d还剩下 60 秒;清理物品和实体
    - 30;&d还剩下 30 秒;清理物品和实体
    - 10;&d还剩下 10 秒;清理物品和实体
    - 5;&c5秒
    - 3;&c3秒
    - 2;&c2秒
    - 1;&c1秒
    - 0;&a清理成功;有%ItemSum%个物品加入了公共垃圾桶,有%EntitySum%个生物被清理
    #-1和-2是设置清理公共垃圾桶时的提醒,如果本次没有清理公共垃圾桶,则输出-1的提醒,如果本次清理公共垃圾桶,则输出-2的提醒
    #该提醒是在清理垃圾后,延迟2秒发送的提醒
    - -1;&d还有%ClearGlobalCount%次清理,公共垃圾桶
    - -2;&a公共垃圾桶的物品已刷新

  #是否启用聊天栏的提示方式
  ChatFlag: false
  #当读秒到达以下数字时会进行一次信息的发送   如  &d&l还剩下 60 秒清理物品和实体
  ChatMessageForCount:
    - 60;&d还剩下 60 秒清理物品和实体
    - 30;&d还剩下 30 秒清理物品和实体
    - 10;&d还剩下 10 秒清理物品和实体
    - 5;&c5秒
    - 3;&c3秒
    - 2;&c2秒
    - 1;&c1秒
    - 0;&a清理成功,有%ItemSum%个物品加入了公共垃圾桶,有%EntitySum%个生物被清理
    #-1和-2是设置清理公共垃圾桶时的提醒,如果本次没有清理公共垃圾桶,则输出-1的提醒,如果本次清理公共垃圾桶,则输出-2的提醒
    #该提醒是在清理垃圾后,延迟2秒发送的提醒
    - -1;&d还有%ClearGlobalCount%次清理,公共垃圾桶
    - -2;&a公共垃圾桶的物品已刷新

  #普通玩家能够创建的最大世界垃圾桶数量
  DefaultRashCanMax: 3
  #禁止玩家创建世界垃圾桶的世界
  BanWorldNameList:
    - world
    - DIM-1
    - DIM1
#所有世界垃圾桶的总黑名单(存在此表中的物品不会回收到世界垃圾桶里)
GlobalBanItem:
  - EGG
  - DIRT

#每个世界限制生物的数量(单世界空岛/家园推荐)
WorldEntityLimitCount:
  #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
  Flag: false
  #不受实体限制的世界
  BanWorldNameList:
    - world
    - DIM-1
    - DIM1
  DefaultCount:
    #一个世界最多多少个村民
    #如果你想限制一个实体,请你用/WorldListTrashCan Look指令
    - Villager;10
    - Chicken;20

#密集实体清理功能
GatherEntityLimitCount:
  #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能,关闭后不会占用任何性能
  Flag: false
  #密集清理时,系统清理的密集实体是否会掉落物品
  ItemDropFlag: true
  #不受实体聚集限制的世界
  BanWorldNameList:
    - world
    - DIM-1
    - DIM1
  DefaultCount:
    #解析: 15格的范围内,只允许出现10只村民,清理其中的5只
    #如果你想限制一个实体,请你用/WorldListTrashCan Look指令
    - Villager;10;15;5
#    - Chicken;9;5;4

#禁止刷屏/频繁使用指令
ChatSet:
  QuickSendMessage:
    #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
    Flag: true
    #0.7秒允许发送一次聊天消息
    Time: 0.7
    #提醒语句
    Message: "&c请不要刷屏"
  QuickUseCommand:
    #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
    Flag: true
    #0.7秒允许使用一次指令
    Time: 0.7
    #提醒语句
    Message: "&c请不要频繁使用指令"
    #指令白名单,如果在指令以下名单中,不受以上间隔时间限制
    WhiteList:
      - /tpa
      - /spawn
      - /suicide




#防丢弃功能
#玩家如果有WorldListTrashCan.DropMode权限
#输入/WorldListTrashCan DropMode指令开启防丢弃模式
DropItemCheck:
  #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
  Flag: true

#优化
SimpleOptimize:
  #是否在无法拾取的箭矢射到目标后直接清理
  #如,无限附魔的弓射出的箭矢,以及骷髅射出的箭矢
  #这里可以彻底关闭这个功能的任何检查,与其他插件不同,这里的关闭是直接从服务器内部注销了监听器,是彻彻底底的关闭,想重新打开该功能只需重载也无需重启,重载即可,如果你不需要它的话,关闭后不会占用任何性能
  NotPickArrow: true
  #禁止踩踏农田
  NotTreadingFarmLand: true

#以上功能绝大多数均为群友提出后 一 一 实现,进Q群923738709 提新功能需求
 
Supported Language Files:

Chinese

Code (Text):
PluginTitle: "&7|&e⭐&b世界垃圾桶&e⭐&7|"
BanChestInventoryName: "%PluginTitle% &d&l世界:%world%黑名单&c&l(放入两次视为移除)"
GlobalBanChestInventoryName: "%PluginTitle% &d&l全局黑名单&c&l(放入两次视为移除)"
BanAddItem: "%PluginTitle% &b您在世界垃圾桶的黑名单中添加了物品: %ItemType%"
BanRemoveItem: "%PluginTitle% &c您在世界垃圾桶的黑名单中移除了物品: %ItemType%"
BanNull: "%PluginTitle% &d你没有加入/删除任何物品,因为它是空的"
GlobalBanListTitle: "%PluginTitle% &6目前全局世界垃圾桶禁用了如下物品"
BanListTitle: "%PluginTitle% &6目前该世界垃圾桶禁用了如下物品"
BanItemFormat: "%PluginTitle% &b[&a%Item%&b]"
RashBreak: "%PluginTitle% &a你在 %world% 世界破坏/删除了一个世界垃圾桶"
ReachRashCanCount: "%PluginTitle% &c你不能再创建更多的世界垃圾桶了!"
InBanWorldList: "%PluginTitle% &c这个世界禁止玩家创建世界垃圾桶"
NotChest: "%PluginTitle% &c这不是一个普通箱子,无法充当世界垃圾桶"
CreateRashCan: "%PluginTitle% &a你在 %world% 创建/覆盖了一个世界垃圾桶"
AddRashMaxCountTrue: "%PluginTitle% &a设置成功,目前%world%世界最大世界垃圾桶数量为%count%"
NotInt: "%PluginTitle% &c你输入的不是整数,添加失败"
NotFindChest: "%PluginTitle% &6由于没有找到箱子,自动从存储中移除了该 %location% 位置"
NotFindConfig: "%PluginTitle% &c插件无法写入信息,请检查插件data子文件夹是否存在"
NotFindMessage: "%PluginTitle% &c插件无法找到message子文件夹,请检查插件message子文件夹是否存在"
NotFindMessageSlave: "%PluginTitle% &c语言文件节点: %path% 未找到,请自行添加,或下载最新版的语言文件"
ConfigError: "%PluginTitle% &c配置文件里有一个不正常的坐标或不存在的世界: 尝试加载的世界名为%world% 坐标名为%location%"
NotIsOp: "%PluginTitle% &c只有管理员能够使用这个命令"
NotFindWorld: "%PluginTitle% &c没有找到这个世界"
NotIsPlayer: "%PluginTitle% &c只有玩家可以使用这种格式的指令"
WorldListTrashCanAdd: "%PluginTitle% &c正确用法为: /WorldListTrashCan add [世界名] <世界垃圾桶数量>"
NotInputArgAdd: "%PluginTitle% &c只有玩家能够不写世界名字这个参数来使用这个命令"
ReloadInformation: "%PluginTitle% &a插件已重载"

NotHavePermission: "%PluginTitle% &c你没有%permission%权限,无法使用"
TrashMenuTitle: "&b 全球世界垃圾桶"
TrashMenuUpPage: "&b 上一页"
TrashMenuDownPage: "&b 下一页"

NotWorldPlaceOrBreakFlag: "%PluginTitle% &c你并没有这个地图/家园的权限,无法打开黑名单Gui"
HaveFlag: "%PluginTitle% &a看起来你有权限,已为您打开黑名单Gui"
SecondCountdown: "%PluginTitle% &6请在三秒内放置/破坏任意一个方块,证明自己有该地图(家园)权限"
SecondCountdownEnd: "%PluginTitle% &c三秒已到,你没有尝试放置/破坏任何方块,暂时视为无权限,无法打开黑名单添加Gui"

HaveHomePlugin: "%PluginTitle% &d如果你拥有家园插件,这是正常现象,因为玩家并没有加入地图,地图未加载,垃圾箱也不会被加载,&6当玩家进入地图时,垃圾箱会自动加载"

EntityCountSetOK: "%PluginTitle% &a成功设置各世界该 %Entity% 实体默认最多出现 %Count% 个"
EntityCountSetError: "%PluginTitle% &c实体类型错误!错误实体名称为:%EntityName% 可选的实体类型包括:%EntityTypes%"

ClickFindEntityType: "%PluginTitle% &d该实体类型为 %EntityType%"
PleaseRightEntity: "%PluginTitle% &a请右键一个实体"

GatherClearToNearPlayerMessage: "%PluginTitle% &c你的附近 %range% 格内有 %entityType% x %size%只 , 达到密集实体的要求,已清理"

HelpTitle:
  - "&l&0——————&r&7【&bWorldListTrashCan&7】&l&0——————"
  - "&6/WorldListTrashCan GlobalTrash &d打开公共垃圾桶"
  - "&6/WorldListTrashCan help &d查看帮助"
  - "&6/WorldListTrashCan reload &d重载插件"
  - "&6/WorldListTrashCan ban &d打开本世界垃圾黑名单Gui"
  - "&6/WorldListTrashCan look &d右键查看实体类型"
  - "&6/WorldListTrashCan GlobalBan &d打开全局世界垃圾黑名单Gui"
  - "&6/WorldListTrashCan add [世界名] <数量> &d设置世界名垃圾桶最大数量(不填则为脚下世界)"

Chinese_TW

Code (Text):
PluginTitle: "&7|&e⭐&b世界垃圾桶&e⭐&7|"
BanChestInventoryName: "%PluginTitle% &d&l世界:%world%黑名單&c&l(放入兩次視為移除)"
GlobalBanChestInventoryName: "%PluginTitle% &d&l全域黑名單&c&l(放入兩次視為移除)"
BanAddItem: "%PluginTitle% &b您在世界垃圾桶的黑名單中添加了物品: %ItemType%"
BanRemoveItem: "%PluginTitle% &c您在世界垃圾桶的黑名單中移除了物品: %ItemType%"
BanNull: "%PluginTitle% &d你沒有加入/刪除任何物品,因為它是空的"
GlobalBanListTitle: "%PluginTitle% &6目前全域世界垃圾桶禁用了如下物品"
BanListTitle: "%PluginTitle% &6目前該世界垃圾桶禁用了如下物品"
BanItemFormat: "%PluginTitle% &b[&a%Item%&b]"
RashBreak: "%PluginTitle% &a你在 %world% 世界破壞/刪除了一個世界垃圾桶"
ReachRashCanCount: "%PluginTitle% &c你不能再創建更多的世界垃圾桶了!"
InBanWorldList: "%PluginTitle% &c這個世界禁止玩家創建世界垃圾桶"
NotChest: "%PluginTitle% &c這不是一個普通箱子,無法充當世界垃圾桶"
CreateRashCan: "%PluginTitle% &a你在 %world% 創建/覆蓋了一個世界垃圾桶"
AddRashMaxCountTrue: "%PluginTitle% &a設置成功,目前%world%世界最大世界垃圾桶數量為%count%"
NotInt: "%PluginTitle% &c你輸入的不是整數,添加失敗"
NotFindChest: "%PluginTitle% &6由於沒有找到箱子,自動從存儲中移除了該 %location% 位置"
NotFindConfig: "%PluginTitle% &c插件無法寫入信息,請檢查插件data子文件夾是否存在"
NotFindMessage: "%PluginTitle% &c插件無法找到message子文件夾,請檢查插件message子文件夾是否存在"
NotFindMessageSlave: "%PluginTitle% &c語言文件節點: %path% 未找到,請自行添加,或下載最新版的語言文件"
ConfigError: "%PluginTitle% &c配置文件裡有一個不正常的坐標或不存在的世界: 嘗試加載的世界名為%world% 坐標名為%location%"
NotIsOp: "%PluginTitle% &c只有管理員能夠使用這個命令"
NotFindWorld: "%PluginTitle% &c沒有找到這個世界"
NotIsPlayer: "%PluginTitle% &c只有玩家可以使用這種格式的指令"
WorldListTrashCanAdd: "%PluginTitle% &c正確用法為: /WorldListTrashCan add [世界名] <世界垃圾桶數量>"
NotInputArgAdd: "%PluginTitle% &c只有玩家能夠不寫世界名字這個參數來使用這個命令"
ReloadInformation: "%PluginTitle% &a插件已重載"

NotHavePermission: "%PluginTitle% &c你沒有%permission%權限,無法使用"
TrashMenuTitle: "&b 全球世界垃圾桶"
TrashMenuUpPage: "&b 上一頁"
TrashMenuDownPage: "&b 下一頁"

NotWorldPlaceOrBreakFlag: "%PluginTitle% &c你沒有這張地圖/家園的權限,無法打開黑名單 GUI。"
HaveFlag: "%PluginTitle% &a看起來你有權限,已為您打開黑名單 GUI。"
SecondCountdown: "%PluginTitle% &6請在三秒內放置/破壞任意一個方塊,證明自己有該地圖(家園)的權限。"
SecondCountdownEnd: "%PluginTitle% &c三秒已到,你沒有嘗試放置/破壞任何方塊,暫時視為無權限,無法打開黑名單添加 GUI。"

HaveHomePlugin: "%PluginTitle% &d如果你安裝了家園插件,這是正常現象,因為玩家尚未加入地圖,地圖尚未加載,垃圾箱也不會被加載。&6當玩家進入地圖時,垃圾箱將會自動加載。"

EntityCountSetOK: "%PluginTitle% &a成功設定各世界的 %Entity% 實體默認最多出現 %Count% 個"
EntityCountSetError: "%PluginTitle% &c實體類型錯誤!錯誤實體名稱為:%EntityName% 可選的實體類型包括:%EntityTypes%"

ClickFindEntityType: "%PluginTitle% &d該實體類型為 %EntityType%"
PleaseRightEntity: "%PluginTitle% &a請右鍵一個實體"

GatherClearToNearPlayerMessage: "%PluginTitle% &c在你周圍 %range% 格內有 %entityType% x %size% 只實體。滿足密集實體的標準,已清理。"

HelpTitle:
  - "&l&0——————&r&7【&bWorldListTrashCan&7】&l&0——————"
  - "&6/WorldListTrashCan GlobalTrash &d打開公共垃圾桶"
  - "&6/WorldListTrashCan help &d查看幫助"
  - "&6/WorldListTrashCan reload &d重載插件"
  - "&6/WorldListTrashCan ban &d打開本世界垃圾黑名單Gui"
  - "&6/WorldListTrashCan Look &d右鍵查看實體類型"
  - "&6/WorldListTrashCan GlobalBan &d打開全域世界垃圾黑名單Gui"
  - "&6/WorldListTrashCan add [世界名] <數量> &d設置世界名垃圾桶最大數量(不填則為腳下世界)"

English

Code (Text):
PluginTitle: "&7|&e⭐&bWorld Trash Can&e⭐&7|"
BanChestInventoryName: "%PluginTitle% &d&lWorld:%world% Blacklist&c&l(Putting twice is considered removal)"
GlobalBanChestInventoryName: "%PluginTitle% &d&lGlobal Blacklist&c&l(Putting twice is considered removal)"
BanAddItem: "%PluginTitle% &bYou added the item to the World Trash Can blacklist: %ItemType%"
BanRemoveItem: "%PluginTitle% &cYou removed the item from the World Trash Can blacklist: %ItemType%"
BanNull: "%PluginTitle% &dYou haven't added/removed any items because it's empty"
GlobalBanListTitle: "%PluginTitle% &6Currently, the global World Trash Can has disabled the following items"
BanListTitle: "%PluginTitle% &6Currently, this World Trash Can has disabled the following items"
BanItemFormat: "%PluginTitle% &b[&a%Item%&b]"
RashBreak: "%PluginTitle% &aYou broke/removed a World Trash Can in the %world% world"
ReachRashCanCount: "%PluginTitle% &cYou cannot create more World Trash Cans!"
InBanWorldList: "%PluginTitle% &cPlayers are not allowed to create World Trash Cans in this world"
NotChest: "%PluginTitle% &cThis is not a regular chest and cannot act as a World Trash Can"
CreateRashCan: "%PluginTitle% &aYou created/overwrote a World Trash Can in the %world% world"
AddRashMaxCountTrue: "%PluginTitle% &aSuccessfully set, the maximum number of World Trash Cans in the %world% world is now %count%"
NotInt: "%PluginTitle% &cThe input is not an integer, addition failed"
NotFindChest: "%PluginTitle% &6Due to the chest not being found, the location %location% has been automatically removed from storage"
NotFindConfig: "%PluginTitle% &cThe plugin cannot write information, please check if the 'data' subfolder exists in the plugin folder"
NotFindMessage: "%PluginTitle% &cThe plugin cannot find the 'message' subfolder, please check if the 'message' subfolder exists in the plugin folder"
NotFindMessageSlave: "%PluginTitle% &cLanguage file node: %path% not found, please add it manually or download the latest version of the language file"
ConfigError: "%PluginTitle% &cThere is an abnormal coordinate or a non-existent world in the configuration file: The world name attempted to load is %world%, and the coordinate name is %location%"
NotIsOp: "%PluginTitle% &cOnly administrators can use this command"
NotFindWorld: "%PluginTitle% &cThis world was not found"
NotIsPlayer: "%PluginTitle% &cOnly players can use commands in this format"
WorldListTrashCanAdd: "%PluginTitle% &cCorrect usage: /WorldListTrashCan add [world name] <number of World Trash Cans>"
NotInputArgAdd: "%PluginTitle% &cOnly players can use this command without specifying the world name parameter"
ReloadInformation: "%PluginTitle% &aPlugin succeed reload"

NotHavePermission: "%PluginTitle% &cYou don't have permission: %permission%. Unable to use."
TrashMenuTitle: "&b Global World Trash Can"
TrashMenuUpPage: "&b Up Page"
TrashMenuDownPage: "&b Down Page"

NotWorldPlaceOrBreakFlag: "%PluginTitle% &cYou don't have permission for this map/homeland, unable to open the blacklist GUI."
HaveFlag: "%PluginTitle% &aIt seems you have permission. The blacklist GUI has been opened for you."
SecondCountdown: "%PluginTitle% &6Please place/break any block within three seconds to prove your permission for this map (homeland)."
SecondCountdownEnd: "%PluginTitle% &cThree seconds have passed, and you did not attempt to place/break any blocks. Temporarily considered as no permission, unable to open the blacklist adding GUI."

HaveHomePlugin: "%PluginTitle% &dIf you have the home plugin, this is normal because the player has not joined the map, the map is not loaded, and the trash bin will not be loaded. &6When the player enters the map, the trash bin will be loaded ."

EntityCountSetOK: "%PluginTitle% &aSuccessfully set the default maximum count of %Entity% entities to %Count% in each world."
EntityCountSetError: "%PluginTitle% &cEntity type error! Error entity name: %EntityName%. Optional entity types include: %EntityTypes%."

ClickFindEntityType: "%PluginTitle% &dThe entity type is %EntityType%"
PleaseRightEntity: "%PluginTitle% &aPlease Right Click a Entity"

GatherClearToNearPlayerMessage: "%PluginTitle% &cWithin %range% blocks around you, there are %entityType% x %size% entities. Meeting the criteria for dense entities, cleared."

HelpTitle:
  - "&l&0——————&r&7【&bWorldListTrashCan&7】&l&0——————"
  - "&6/WorldListTrashCan GlobalTrash &dOpen the Global World Trash Can"
  - "&6/WorldListTrashCan help &dView help"
  - "&6/WorldListTrashCan reload &dReload the plugin"
  - "&6/WorldListTrashCan ban &dOpen the local World Trash Can blacklist GUI"
  - "&6/WorldListTrashCan look &dRight Look Entity Type"
  - "&6/WorldListTrashCan GlobalBan &dOpen the global World Trash Can blacklist GUI"
  - "&6/WorldListTrashCan add [world name] <quantity> &dSet the maximum number of World Trash Cans for the world (defaults to the world at your feet)"
Commands:
/WorldListTrashCan GlobalTrash - Open the global trash can
/WorldListTrashCan help - View plugin help
/WorldListTrashCan reload - Reload the plugin
/WorldListTrashCan ban - Open the local world trash blacklist GUI
/WorldListTrashCan Look - Right-click to get entity type (useful for adding to the configuration blacklist/whitelist)
/WorldListTrashCan GlobalBan - Open the global world trash blacklist GUI
/WorldListTrashCan add [WorldName] <Amount> - Set the maximum number of world trash cans for the specified world (if not specified, it defaults to the world at your feet)
/WorldListTrashCan PlayerTrash - Player open their personal trash cans
/WorldListTrashCan DropMode - Player open/off drop mode

Permission:


Default Not Have
WorldListTrashCan.GlobalBan - Open the global trash can blacklist GUI command permission
WorldListTrashCan.Look - Command permission to right-click and query entity types

Placeholders:

%WTC_ClearTime% Time until the next cleaning.


Default

WorldListTrashCan.BanGui - Open the GUI for adding items to the player's home trash can blacklist command permission
WorldListTrashCan.Main - Can players create a world trash can
PWorldListTrashCan.GlobalTrashOpen - Open the global trash can command permission
WorldListTrashCan.help - Command permission to access the help menu
WorldListTrashCan.PlayerTrash
WorldListTrashCan.DropMode


Update plan:
players can have more than one trash can ✔️
Trash can blacklist ✔️
[VIP Player and normal players can place different amounts of trash cans (per world). ✔️
More than just a trash can? Many server performance optimizations will also be added to the plugin ✔️ soon
More than just cleaning up the trash? Added entity cleanup system, support for Clear mod SlashBlade or other mod entities ✔️

I will keep updating continuously. If you have any needs, you can go to the QQ group: six hundred and fifty-six million four hundred and forty-seven thousand two hundred and ninety-seven
If you are unable to use QQ in your region, you can contact me by sending an email

My email: [email protected]


It is strictly forbidden to plagiarize the source code of the plug-in; Violators will be prosecuted. All the code used in this plugin is original and does not involve borrowing/copying actions.

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