1 475
收录服务器
2 188
注册
53 456
玩家
Minecraft 但你可以复制粘贴任何方块
你可以用棍子和纸制作一根可以复制和粘贴任何积木的魔杖!
作 者 Tyy793
发布时间 2021年4月15日
支持核心 Spigot
原生版本
支持版本 1.16
点此下载

一个用于 Minecraft 1.16 的插件,感谢 strubbe06 在箱子方面的帮助。请在获得许可或明确署名的情况下使用此插件。更多插件,欢迎加入我们的 Discord 服务器!

🎉

Commands

Main Commands:

  • /randomitem - Gives the player a random item from the specified loot table.
  • /randomitem - 从指定的战利品表中给予玩家一个随机物品。
  • /randomitem give - 给予指定玩家来自指定战利品表的随机物品。
  • /randomitem replace - 使用来自指定战利品表的随机物品替换实体或方块的物品。
  • /randomitem replace hand - 替换手中的物品。
  • /randomitem replace armor - 替换盔甲栏位的物品。
  • /randomitem container - 将来自指定战利品表的随机物品放入指定坐标的容器中。
  • /randomitem info - 显示关于插件的信息。
  • /randomitem reload - 重新加载插件的配置文件。

Loot Table List Command:

  • /loot_tables - 显示所有可用的战利品表。
  • /loot_tables - 显示指定命名空间下的战利品表。
🎉

Permissions

  • randomitem.use - 允许使用 /randomitem 命令。
  • randomitem.use.give - 允许使用 /randomitem give 命令。
  • randomitem.use.replace - 允许使用 /randomitem replace 命令。
  • randomitem.use.container - 允许使用 /randomitem container 命令。
  • randomitem.info - 允许使用 /randomitem info 命令。
  • randomitem.reload - 允许使用 /randomitem reload 命令。
  • randomitem.loot_tables - 允许使用 /loot_tables 命令。
🎉

Configuration

config.yml

这是主配置文件,允许您自定义插件的行为。


# 战利品表配置
loot_tables:
  example:minecraft:chests/village/village_armorer: # 战利品表名称
    weight: 1 # 权重值

  example2:minecraft:chests/village/village_armorer:
    weight: 2

# 消息配置
messages:
  no_permission: "&c你没有权限这样做!"
  invalid_loot_table: "&c无效的战利品表!"
  given_item: "&a你得到了一个随机物品!"
  given_item_to_player: "&a你给予了 %player% 一个随机物品!"
  replaced_item: "&a物品已替换!"
  placed_in_container: "&a物品已放置在容器中!"
  reloaded_config: "&a配置文件已重新加载!"

# 其他配置
settings:
  debug: false # 调试模式开关

ChestLoot.yml

该文件用于配置箱子的战利品。


Chest1:
  location: "0 0 0"
  loot_table: "minecraft:chests/village/village_armorer"

Chest2:
  location: "0 0 0"
  loot_table: "minecraft:chests/village/village_armorer"