? DirtDisposer
DirtDisposer 是一款轻量级的 Minecraft 插件,让泥土收集竞赛的组织变得轻松易行。它提供用于提交泥土的自定义物品栏 GUI,自动追踪玩家分数,并包含全服排行榜,以便查看谁收集的泥土最多。
无论您是在举办泥土收集活动,还是创建基于排行榜的挑战,DirtDisposer 都能为您处理提交和分数追踪工作。
✨ 功能特性
? 简单的泥土提交
使用 /dirt 打开自定义的泥土处理 GUI。将您的泥土放入指定槽位并关闭物品栏即可提交。插件会自动统计提交的泥土数量并将其累加到您的总分中。
- 仅接受普通泥土(Dirt)。
- 无效物品将被返还至您的物品栏。
- 如果您的物品栏已满,剩余物品会掉落至您的位置。
- 您将收到确认消息,显示您的提交量及更新后的总分。
? 全服排行榜
想知道谁收集的泥土最多?使用 /dleaderboard 查看按总提交泥土量排名的前 10 名玩家。
排行榜会根据记录的总分对玩家进行自动排序,方便您追踪进度并比较分数。
? 自定义 GUI
泥土处理界面采用简洁的箱子风格布局,配有深绿色标题和灰色染色玻璃边框。
装饰性边框不能用于提交,从而确保指定的物品槽位清晰,使提交流程更加直观简单。
? 持久化分数追踪
玩家分数存储在本地 YAML 数据文件中,并与 Minecraft UUID 关联。
- 分数在服务器重启后依然保留。
- 玩家名称被存储以用于排行榜显示。
- 在提交泥土或插件关闭时保存分数。
注意:当前分数代表的是终身累计总量。插件不会在活动之间自动重置分数。
? 命令
| 命令 |
描述 |
/dirt |
打开泥土处理 GUI。 |
/dleaderboard |
显示前 10 名泥土收集者。 |
? 权限
| 权限 |
描述 |
dirtdisposer.use |
允许使用 /dirt。 |
dirtdisposer.leaderboard |
允许使用 /dleaderboard。 |
⚙️ 兼容性
- Minecraft: 1.20.x–1.21.x,包括 1.21.11
- 服务端软件:Paper、Purpur、Folia 和 Spigot(预期兼容)
- Java: 21 或更高版本
具体兼容性可能因服务端软件和版本而异。
? 轻量且易用
DirtDisposer 自动化了运行泥土收集竞赛中的重复性工作。玩家通过简单的 GUI 提交物品,分数自动记录,所有拥有权限的玩家都可以查看排行榜。
无需外部数据库。只需安装插件,配置必要的权限,即可开始收集!
? DirtDisposer
DirtDisposer is a lightweight Minecraft plugin that makes dirt-collecting competitions easy to organize. It provides a custom inventory GUI for submitting dirt, automatically tracks player scores, and includes a server-wide leaderboard to see who’s collected the most.
Whether you’re hosting a dirt-collecting event or creating your own leaderboard-based challenge, DirtDisposer handles the submissions and score tracking for you.
✨ Features
? Simple Dirt Submission
Use /dirt to open the custom Dirt Disposal GUI. Place your dirt in the designated slots and close the inventory to submit it. The plugin automatically counts the submitted dirt and adds it to your total.
- Only regular dirt is accepted.
- Invalid items are returned to your inventory.
- If your inventory is full, leftover items are dropped at your location.
- Receive confirmation messages showing your submission and updated total.
? Server-Wide Leaderboard
Want to know who’s collected the most dirt? Use /dleaderboard to view the top 10 players ranked by their total submitted dirt.
The leaderboard automatically sorts players by their recorded totals, making it easy to track progress and compare scores.
? Custom GUI
The Dirt Disposal interface features a clean chest-style layout with a dark green title and a gray stained-glass border.
The decorative border cannot be used for submissions, keeping the designated item slots clear and the submission process straightforward.
? Persistent Score Tracking
Player scores are stored locally in a YAML data file and associated with Minecraft UUIDs.
- Scores persist across server restarts.
- Player names are stored for leaderboard display.
- Scores are saved when dirt is submitted and when the plugin shuts down.
Note: Scores currently represent lifetime totals. The plugin does not automatically reset scores between events.
? Commands
Command Description
/dirt Opens the Dirt Disposal GUI.
/dleaderboard Displays the top 10 dirt collectors.
? Permissions
Permission Description
dirtdisposer.use Allows access to /dirt.
dirtdisposer.leaderboard Allows access to /dleaderboard.
⚙️ Compatibility
- Minecraft: 1.20.x–1.21.x, including 1.21.11
- Server software: Paper, Purpur, Folia, and Spigot (intended compatibility)
- Java: 21 or newer
Compatibility may vary depending on the server software and version.
? Lightweight and Easy to Use
DirtDisposer automates the repetitive parts of running a dirt-collecting competition. Players submit their items through a simple GUI, scores are recorded automatically, and everyone with permission can check the leaderboard.
No external database is required. Just install the plugin, configure the necessary permissions, and start collecting!
评论 0
登录后参与评分
还没有评论,来抢沙发吧