本插件直接受到 Auto Trasher 的启发,并进行了一些调整……
它是如何工作的?
很简单,你运行命令 "/adi" 会打开一个 UI,外观像一个大箱子,你可以将想要自动删除的物品拖进去。当你拾取这些物品时,它们会被自动删除。要移除某个物品,只需右键点击它即可。

功能:
-
支持 1.21.x 的最新现代自动丢弃插件。
-
默认情况下,此插件忽略耐久度条件。这意味着如果你添加了一把金剑,然后捡起一把半耐久度的金剑,它仍会被删除。大多数旧的自动丢弃插件无法根据耐久度进行判断,导致即使你不想保留,背包里也会出现不同耐久度的多把剑。
-
我让该插件能够与其他“掉落至背包”类插件(如 Drop2Inventory、SDI 等)兼容。因此,即使技术上这些物品仍会进入你的背包,它们也会被立即删除。
-
提供命令 "/adi on/off",可针对每个玩家单独启用或禁用插件功能。
-
保存每位玩家添加的物品列表,这样玩家离开服务器后数据不会重置。
安装方法:
- 只需将 .jar 文件放入 plugins 文件夹中,重启服务器。通过运行 /adi 测试插件是否正常工作。
配置说明:
再见!
This plugin was directly inspired by Auto Trasher but with some tweaks...
How does it work?
Simple, you run the command "/adi" and a UI will open, that looks like a big Chest, and you will be able to drag and drop ONE of the items you want to be deleted automatically when you pick them up. To remove one, you simply right click on it.

Features:
-
Up-to-date and modern 1.21.x auto-trash plugin.
-
This plugin by default IGNORES the durability condition. Meaning that if you add a golden sword, and then you pick up a half-durability golden sword, it will still be deleted. Most of the auto-trash old plugins did not work according to durability. So you ended up with 10 different durability swords on you even thou you did not want to.
-
I made this plugin able to work with other drop-to-inventory plugins like Drop2Inventory, SDI, etc. So even thou technically you will still get those items in your inventory, they will get instantly deleted.
-
Commands "/adi on/off" to enable/disable the plugin function individually per player.
-
Saves added items per player, so it wont reset after the leave the server.
Installation:
- Just drop the .jar into your plugins foldr. Restart the server. test the plugin by running /adi.
Configuration:
- You can change the UI size, sound effects, and durability detection.
cya!
评论 0
登录后参与评分
还没有评论,来抢沙发吧