873
收录服务器
1105
注册
28 660
玩家
LootCrate 服务器箱子插件
一个插件,奖励您的玩家投票,捐赠,以及更多!
作 者 A_Brave_Panda
发布时间 2020年12月24日
支持核心 Spigot
原生版本
支持版本 1.16,1.17,1.18,1.19,1.20
点此下载

🎁 LootCrate插件允许服务器管理员创建自定义的战利品箱,玩家可以通过消耗特定物品或货币来开启这些箱子,获得预设的奖励。插件支持多种奖励类型,包括物品、经验、金钱、命令执行等,并提供了丰富的配置选项,方便管理员灵活地定制战利品箱的内容和开启方式。

🎁 LootCrate

📌 介绍

LootCrate是一个高度可配置的Minecraft插件,允许你创建自定义的战利品箱,玩家可以使用特定的钥匙或货币打开它们,获得各种奖励。

🔑 主要功能

  • 创建自定义战利品箱
  • 多种开启方式:钥匙、货币等
  • 支持多种奖励类型:物品、经验、金钱、命令等
  • 可配置的掉落几率
  • GUI界面预览

🎮 指令

⚙️ 管理员指令

  • /lootcrate givekey [player] [crate] [amount] - 给予玩家指定战利品箱的钥匙。
  • /lootcrate reload - 重载插件配置。
  • /lootcrate create [name] - 创建一个新的战利品箱。
  • /lootcrate edit [crate] - 编辑指定的战利品箱。
  • /lootcrate delete [crate] - 删除指定的战利品箱。
  • /lootcrate list - 列出所有战利品箱。

🔑 玩家指令

  • /lootcrate open [crate] - 使用GUI界面打开一个战利品箱。

🛡️ 权限

  • lootcrate.givekey - 允许使用 /lootcrate givekey 指令。
  • lootcrate.reload - 允许使用 /lootcrate reload 指令。
  • lootcrate.create - 允许使用 /lootcrate create 指令。
  • lootcrate.edit - 允许使用 /lootcrate edit 指令。
  • lootcrate.delete - 允许使用 /lootcrate delete 指令。
  • lootcrate.list - 允许使用 /lootcrate list 指令。
  • lootcrate.open - 允许使用 /lootcrate open 指令。

⚙️ 配置示例

以下是一个战利品箱的配置示例:


# This is an example crate configuration file.
# All options are explained in detail below.
#
# crate-name: # The name of the crate. This is used in commands and file names.
#   display-name: # The name of the crate that will be displayed in the GUI.
#   key: # The item that will be used to open the crate.
#     material: # The material of the key.
#     data: # The data value of the key.
#     name: # The name of the key.
#     lore: # The lore of the key.
#   open-type: # The type of opening. Possible values: KEY, MONEY
#   open-value: # The value of the opening. This is the amount of money or the item id.
#   items: # The items that will be given when the crate is opened.
#     item-name: # The name of the item.
#       material: # The material of the item.
#       data: # The data value of the item.
#       amount: # The amount of the item.
#       name: # The name of the item.
#       lore: # The lore of the item.
#       chance: # The chance of the item being given.
#       commands: # The commands that will be executed when the item is given.
#         - 'say %player% got a diamond!'
#   commands: # The commands that will be executed when the crate is opened.
#     - 'broadcast %player% opened a crate!'
#
#

example-crate:
  display-name: '&bExample Crate'
  key:
    material: TRIPWIRE_HOOK
    data: 0
    name: '&aExample Key'
    lore:
      - '&7This is an example key.'
  open-type: KEY
  open-value: 0
  items:
    diamond:
      material: DIAMOND
      data: 0
      amount: 1
      name: '&bDiamond'
      lore:
        - '&7This is a diamond.'
      chance: 50
      commands:
        - 'say %player% got a diamond!'
    iron:
      material: IRON_INGOT
      data: 0
      amount: 5
      name: '&fIron Ingot'
      lore:
        - '&7This is an iron ingot.'
      chance: 100
  commands:
    - 'broadcast %player% opened a crate!'

🔗 链接

  • 源代码: GitHub
  • 贡献者: SomeRandomProp, iamruukie, WhiteColors_
  • 捐赠: Patreon