DonutBillford

插件

· 作者 SirSnaryo

DonutBillford 是一个轻量级交易系统,由 SirSnaryo 为 DrDonutt 拥有的 DonutSMP 服务器设计。玩家打开一个简洁的 6 行图形界面来查看交易配方并即时交换物品。服务器管理员配置所需的材料和奖励。

0 本站下载 0 关注 更新于 5 个月前

最新 1.1 · 26.1.2 · Bukkit / Paper

一键开服(送7天)

DonutBillford

Paper Purpur Spigot Bukkit Modrinth


如果您有任何建议或修改意见,请通过 Discord 联系我。


功能介绍

  • DonutBillford 完美复刻了著名服务器 "DonutSMP" 中的 Billford 命令。

特性

  • 单命令交易 – /billford 即时打开 GUI 界面
  • 合成表式布局 – 拥有类似合成台的 9 个槽位
  • 即时验证 – 实时检查玩家库存
  • 完整的反馈系统 – 自定义消息、音效和标题栏提示
  • 零依赖 – 无需额外插件支持
  • Hex 颜色支持 – &#RRGGBB 格式在全局生效
  • 像素级定制 – 可配置每一个元素
  • 智能物品检测 – 安全跳过无效物品
  • 自动修复 – 自动修复损坏的配置文件
  • 原版物品颜色 – 保留原版的稀有度颜色(白色/青色/紫色)
  • 快照支持 – 兼容 1.21.x 及最新测试版
  • 更新检查器 – 加入服务器时接收 Modrinth 更新通知

命令

命令 权限 描述
donutbillford.use 所有人 打开 billford GUI 界面
donutbillford.reload 管理员 (OP) 重新加载配置文件
donutbillford credits 所有人 显示创建者致谢及相关信息

配置

  • 系统会在您的 plugins 文件夹中自动创建一个名为 DonutBillford 的文件夹。其中包含干净的 config.yml 和 trade.yml 文件。
Config.yml
# ==========================================================
#
#         DonutBillford  —  config.yml
#                  by SirSnaryo
#
#   Works on:  Paper · Spigot · Bukkit · Purpur
#   Version:   1.21.x
#
# ==========================================================
#
#
# ┌─────────────────────────────────────────────────────────┐
# │                    COLOR CODES                          │
# ├─────────────────────────────────────────────────────────┤
# │  &f = white        &7 = gray         &0 = black        │
# │  &a = green        &c = red          &e = yellow       │
# │  &b = aqua         &9 = blue         &d = purple       │
# │  &l = bold         &o = italic       &r = reset all    │
# │  &#RRGGBB = any hex color  (e.g. &#FF5500 = orange)    │
# └─────────────────────────────────────────────────────────┘
#
#
# ┌─────────────────────────────────────────────────────────┐
# │                    PLACEHOLDERS                         │
# ├─────────────────────────────────────────────────────────┤
# │  [amount]  →  the amount of an item                    │
# │  [item]    →  the name of an item with vanilla color   │
# └─────────────────────────────────────────────────────────┘
#
#
# ┌─────────────────────────────────────────────────────────┐
# │                   BROKEN CONFIG                         │
# ├─────────────────────────────────────────────────────────┤
# │  If you break this file the plugin automatically        │
# │  deletes it and regenerates a clean copy on startup.    │
# └─────────────────────────────────────────────────────────┘
#
# ==========================================================

billford-command: "billford"

container-name: "&fʙɪʟʟꜰᴏʀᴅ"

empty-slot-item: "BLACK_STAINED_GLASS_PANE"
empty-slot-name: ""
empty-slot-description:
  line-1: ""
  line-2: ""
  line-3: ""

trading-slots:
  slot-1:
    row: 2
    slot: 2
  slot-2:
    row: 2
    slot: 3
  slot-3:
    row: 2
    slot: 4
  slot-4:
    row: 3
    slot: 2
  slot-5:
    row: 3
    slot: 3
  slot-6:
    row: 3
    slot: 4
  slot-7:
    row: 4
    slot: 2
  slot-8:
    row: 4
    slot: 3
  slot-9:
    row: 4
    slot: 4

trade-button:
  row: 3
  slot: 6
  item: "HOPPER"
  name: "&8ᴛʀᴀᴅᴇ"
  description:
    line-1: "&fClick to confirm your trade"
    line-2: ""
    line-3: "&7(you need the items in your inventory)"
  sound:
    enabled: true
    sound: "UI_BUTTON_CLICK"

result-item:
  row: 3
  slot: 8

ingredients-book:
  row: 6
  slot: 5
  item: "BOOK"
  name: "&#10E336ʙɪʟʟꜰᴏʀᴅ'ꜱ ᴛʀᴀᴅᴇ"
  ingredients-line: "&7[amount]x [item]"
  for-line: "&7for"
  billford-trade-line: "&7[amount]x [item]"

trade-failed: chat: enabled: true message: "&c您缺少所有必需的物品。" actionbar: enabled: true message: "&c您缺少所有必需的物品。" title: enabled: false message: "&c交易失败" subtitle: "&7您缺少所需的物品。" fade-in: 10 stay: 40 fade-out: 10 sound: enabled: true sound: "ENTITY_VILLAGER_NO"

trade-success: chat: enabled: true message: "&7已兑换 [amount]x [item]" actionbar: enabled: true message: "&7已兑换 [amount]x [item]" title: enabled: false message: "&a交易成功" subtitle: "&7您获得了 [amount]x [item]" fade-in: 10 stay: 40 fade-out: 10 sound: enabled: false sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

reload: chat: enabled: true message: "&a已重新加载 Trade.yml 和 Config.yml" actionbar: enabled: true message: "&a已重新加载 Trade.yml 和 Config.yml" sound: enabled: true sound: "ENTITY_EXPERIENCE_ORB_PICKUP"


</details>

---

![Installation](https://cdn.modrinth.com/data/cached_images/149a0de9abdbc6c6123fbe05a92961224d8bc93c.png)

- **下载** **DonutBillford** 的最新版本。
- 将 `.jar` 文件**放入**服务器的 `plugins` 文件夹中。
- **重启**您的服务器。
- **完成**!无需额外设置。

---
<p align="middle">
  <a href="https://modrinth.com/plugin/donutbillford/gallery">
    <img src="https://cdn.modrinth.com/data/cached_images/28aea4a600434d4e947aed71ef08f3bf6ab3a378.png" alt="Modrinth Gallery">
  </a>
</p>

![Example](https://cdn.modrinth.com/data/cached_images/6952379e79e02f17ea1917838a13599a780b506c_0.webp)

---
© 2026 DonutBillford. All rights reserved to MIT. <p align="left">
  <a href="https://www.paypal.com/paypalme/MohamedAlAbaadi">
    <img src="https://github.com/intergrav/devins-badges/blob/v3/assets/compact/donate/paypal-singular_46h.png?raw=true" alt="Donate via PayPal">
  </a>
</p>

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源