1 120
收录服务器
1481
注册
34 368
玩家
Simple Vouchers 简单兑换券
给你的玩家可以执行命令的物品!
作 者 CarrlosM
发布时间 2016年5月30日
支持核心 Spigot
原生版本
支持版本 1.7,1.8,1.9,1.10,1.11,1.12
点此下载

Voucher 插件允许玩家使用右键单击来激活物品上的命令。它提供了一种便捷的方式来给予玩家可兑换的命令,并在激活时添加可配置的消息、广播或声音效果。插件轻量且灵活,支持创建多个兑换券和延迟命令。

🎉

Voucher 插件

✨特性

  • 给予玩家可兑换的命令
  • 激活时添加可配置的消息、广播或声音
  • 创建多个兑换券
  • 非常轻量
  • 非常灵活
  • 创建延迟命令
  • “移除”消息

⚙️命令

  • /voucher help
  • /voucher list
  • /voucher reload
  • /voucher give <player> <voucher> [amount]

🔑权限

  • vouchers.help - 允许玩家查看帮助消息
  • vouchers.list - 允许玩家列出配置文件中的所有兑换券
  • vouchers.reload - 允许玩家重新加载配置文件
  • vouchers.give - 允许玩家给予兑换券

📦配置示例


Vouchers:
  example:
    Item:
      Material: paper
      Name: "&aExample Voucher"
      Amount: 1
      Lore:
        - "&7Right click to redeem!"
      Glowing: false
    Commands:
      - "say Hello %player%"
    Message: "&aYou have redeemed this voucher!"
    Broadcast: ""
    Sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
  example2:
    Item:
      Material: paper
      Name: "&aExample Voucher 2"
      Amount: 1
      Lore:
        - "&7Right click to redeem!"
      Glowing: false
    Commands:
      - "say Hello %player%"
      - "say Hello %player%"
    Message: "&aYou have redeemed this voucher!"
    Broadcast: ""
    Sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
  example3:
    Item:
      Material: paper
      Name: "&aExample Voucher 3"
      Amount: 1
      Lore:
        - "&7Right click to redeem!"
      Glowing: false
    Commands:
      - "say Hello %player%"
    Message: "&aYou have redeemed this voucher!"
    Broadcast: ""
    Sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
    Delay: 10

📜更新信息

v1.0

  • 初始版本发布

v1.1

  • 兑换券不再区分大小写
  • 代码优化
  • 添加了“发光”选项
  • 添加了配置文件重载命令
  • 添加了列出所有兑换券的命令

v2.0

  • 完整的代码重写
  • 新的配置(请务必删除您的文件,以便它们可以重新生成)
  • 添加了创建多个命令的功能
  • 添加了创建延迟命令的功能
  • 添加了向兑换券添加声音的功能
  • 添加了 1.12 支持(不支持 1.12 附魔)

v2.1

  • 新的消息传递系统,允许您“移除”消息(只需将消息设置为“”)
  • 重新加载现在会更新 lang.yml 中的消息