?️ ClearBin – 带回收站 GUI 的智能自动物品清理系统
ClearBin 是一款经过性能优化的先进 Minecraft 插件,它会在玩家拾取物品的同时自动清除掉落物,并提供现代化的回收站 GUI 系统。
专为高性能服务器设计,ClearBin 现在包含了智能高内存模式、可配置的警告以及智能内存监控功能,能够在卡顿发生之前进行预防。
? 为什么选择 ClearBin?
掉落物是造成 Minecraft 服务器 TPS 下降和内存使用量激增的主要原因之一。
ClearBin 通过以下方式保持服务器优化:
- ? 自动清除掉落物
- ? 实时监控 RAM(内存)使用情况
- ⚡ 当内存占用较高时切换至更快的清理模式
- ? 提供整洁的回收站 GUI
- ? 发送可配置倒计时的警告信息
- ? 智能高内存模式(NEW)
ClearBin 会自动检测服务器 RAM 使用量是否超过设定的阈值。
? 智能高内存模式
工作原理:
- 当 RAM 使用量超过 80%(可配置)时,ClearBin 会:
- 当 RAM 恢复正常后:
完全可配置:
high-ram-mode:
enabled: true
ram-threshold-percent: 80
fast-interval-seconds: 300
check-interval-seconds: 60
这使得 ClearBin 非常适合拥有大量玩家的大型 PvP 和 SMP 服务器。
⏱️ 自动清理系统
默认设置:
auto-clear: true
interval-seconds: 600
clear-arrows: false
clear-xp: false
✔ 每 10 分钟清理一次掉落物
✔ 可选清理箭矢
✔ 可选清理经验球
✔ 手动强制清理命令
? 倒计时警告系统
在物品被清除之前,玩家会收到广播形式的警告信息。
默认警告时间点:
- 60 秒
- 30 秒
- 10 秒
- 5 → 1 秒倒计时
可在 config.yml 中进行完全配置。
示例消息:
地面物品将在 10 秒后被清除!
? 回收站 GUI 系统
ClearBin 包含一个基于库存界面的轻量级回收站 GUI。
玩家可以:
- 输入
/clearbin 打开回收站
- 拖拽丢弃不需要的物品
- 即时删除物品
- 使用基于权限的访问控制
非常适合生存服和 PvP 服务器,在这些服务器中玩家经常需要快速处理废弃物品。
? 权限说明
| 权限节点 |
描述 |
默认值 |
| clearbin.admin |
完整管理员权限 |
OP |
| clearbin.reload |
重新加载配置 |
OP |
| clearbin.clear |
强制清除所有掉落物 |
OP |
| clearbin.status |
查看下次清理时间 |
OP |
| clearbin.bypass |
豁免物品清理 |
False |
| clearbin.use |
使用回收站 GUI |
True |
? 自定义消息系统
支持完全自定义的前缀和消息内容:
prefix: "&8[&bClearBin&8] "
warning: "&c地面物品将在 %time% 秒后被清除!"
cleared: "&a已移除 %items% 个掉落物!"
支持:
- 颜色代码
- 动态占位符
- 内存使用量显示
- 物品数量显示
? 智能聊天提示
ClearBin 可以在聊天栏中显示有用的提示信息:
- 提醒玩家使用
/clearbin
- 告知关于 bypass(豁免)权限的信息
- 展示如何查看状态
- 指导管理员进行强制清理
非常适合新加入服务器的玩家。
? 适用场景
- PvP 服务器
- FFA 竞技场
- 生存 SMP 服务器
- 监狱服
- SkyBlock 空岛服
- 小游戏网络
- 内存占用高的大型服务器
⚡ 性能与兼容性
- 轻量级且经过优化
- 低内存占用
- 异步检查内存使用情况
- 智能切换清理间隔
- 兼容 Minecraft 1.13+
API 版本: 1.13
主类: com.clearbin.ClearBin
? 安装步骤
- 下载 ClearBin
- 将其放入
/plugins 文件夹
- 重启服务器
- 配置
config.yml
ClearBin 让您的服务器保持整洁、优化且无卡顿。 ?
?️ ClearBin – Smart Auto Item Removal System with Trash GUI
ClearBin is an advanced, performance-optimized Minecraft plugin that automatically removes dropped items while providing a modern Trash GUI system for players.
Designed for high-performance servers, ClearBin now includes Smart High RAM Mode, configurable warnings, and intelligent memory monitoring to prevent lag before it happens.
? Why ClearBin?
Dropped items are one of the biggest causes of TPS drops and memory usage spikes on Minecraft servers.
ClearBin keeps your server optimized by:
- ? Automatically clearing dropped items
- ? Monitoring RAM usage in real-time
- ⚡ Switching to faster clearing when memory is high
- ? Providing a clean Trash GUI
- ? Sending configurable countdown warnings
- ? Smart High RAM Mode (NEW)
ClearBin automatically detects when server RAM usage exceeds a defined threshold.
? Smart High RAM Mode
How it works:
- When RAM usage exceeds 80% (configurable), ClearBin:
- Switches to fast clear mode (5 minutes)
- Notifies admins
- When RAM returns to normal:
- Restores standard clear interval (10 minutes)
Fully Configurable:
high-ram-mode:
enabled: true
ram-threshold-percent: 80
fast-interval-seconds: 300
check-interval-seconds: 60
This makes ClearBin perfect for large PvP and SMP servers with high player counts.
⏱️ Automatic Clear System
Default settings:
auto-clear: true
interval-seconds: 600
clear-arrows: false
clear-xp: false
✔ Clear dropped items every 10 minutes
✔ Optional arrow clearing
✔ Optional XP orb clearing
✔ Manual force clear command
? Countdown Warning System
Players receive broadcast warnings before items are cleared.
Default warning times:
- 60 seconds
- 30 seconds
- 10 seconds
- 5 → 1 second countdown
Fully configurable inside config.yml.
Example message:
Ground items will be cleared in 10 seconds!
? Trash GUI System
ClearBin includes a lightweight inventory-based Trash GUI.
Players can:
- Open trash with
/clearbin
- Drag and drop unwanted items
- Instantly delete items
- Use permission-based access
Perfect for survival and PvP servers where players frequently need quick disposal.
? Permissions
| Permission |
Description |
Default |
| clearbin.admin |
Full admin access |
OP |
| clearbin.reload |
Reload configuration |
OP |
| clearbin.clear |
Force clear dropped items |
OP |
| clearbin.status |
View next clear time |
OP |
| clearbin.bypass |
Items won't be cleared |
False |
| clearbin.use |
Use Trash GUI |
True |
? Custom Messages System
Fully customizable prefix and messages:
prefix: "&8[&bClearBin&8] "
warning: "&cGround items will be cleared in %time% seconds!"
cleared: "&aRemoved %items% dropped items!"
Supports:
- Color codes
- Dynamic placeholders
- RAM usage display
- Item count display
? Smart Chat Suggestions
ClearBin can display helpful tips in chat:
- Remind players about
/clearbin
- Inform about bypass permission
- Show how to check status
- Guide admins to force clear
Great for new players joining your server.
? Perfect For
- PvP servers
- FFA arenas
- Survival SMP
- Prison
- SkyBlock
- Minigame networks
- Large servers with high RAM usage
⚡ Performance & Compatibility
- Lightweight & optimized
- Low memory footprint
- Asynchronous RAM checking
- Smart interval switching
- Compatible with Minecraft 1.13+
API version: 1.13
Main class: com.clearbin.ClearBin
? Installation
- Download ClearBin
- Place it in
/plugins
- Restart server
- Configure
config.yml
ClearBin keeps your server clean, optimized, and lag-free. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧