帖子

Memorial Edition

查看: 266|回复: 3

[原创插件] [FishForgeCrating]锻造工艺---一款免费可数据库存储的自定义锻造插件

[复制链接]

Lv.3 挖沙工

人气
15 点
金粒
80 粒
宝石
0 颗
爱心
0 颗
钻石
16 颗
贡献
0 点
发表于 2025-1-8 18:06:50 | 显示全部楼层 |阅读模式
锻造工艺 FishForgeCrafting
  • 概要
  • 下载链接
  • 授权信息

适用服务端:CraftBukkit Spigot Paper 

插件类型: RPG 

语言支持: 简体中文 English 

适用版本:

前置插件: 无

简介: 免费的数据库锻造插件

LOGO

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本帖最后由 LengFish 于 2025-1-22 01:22 编辑

下载链接在末尾
最新版1.0.0

1.修复跨服同步数据bug
2.增加新功能,详细请对比上个版本的配置文件 (请注意!,使用1.0.0版本前请将上个版本的配置文件删除)
3.增加JavaScript脚本处理数据


1.配置文件
config.yml
  1. ###########################################################
  2. # FishForgeCrafting
  3. # 作者: LengFish
  4. # QQ:1836503502
  5. ###########################################################

  6. # 插件显示前缀
  7. plugin_name: "§f[§7鱼之锻造§f]"

  8. # 语言设置 (默认为中文)
  9. # 如果需要选用其他语言 language: {suffix}
  10. # 例如英语 language: en
  11. language: default

  12. # 数据库设置
  13. mysql:
  14.   # 是否启用数据库
  15.   enable: false
  16.   # 数据库地址
  17.   host: localhost
  18.   # 数据库端口号
  19.   port: 3306
  20.   # 数据库名称 (也会作为数据库表名)
  21.   database: fishforge
  22.   # 数据库用户名
  23.   username: root
  24.   # 数据库密码
  25.   password: admin

  26.   # 高级设置
  27.   # 最大线程池连接数
  28.   maxPoolSize: 20
  29.   # 最小空闲连接数
  30.   minIdle: 3
  31.   # 连接超时时间 (ms)
  32.   connectionTimeout: 30000
  33.   # 空闲连接存活时间 (ms)
  34.   idleTimeout: 600000
  35.   # 连接最大存活时间 (ms)
  36.   maxLifetime: 1800000

  37. # 界面
  38. # 图纸界面
  39. blueprints_interface:
  40.   # 大小
  41.   size: 54
  42.   # 占位物品
  43.   perch:
  44.     # 展示物品
  45.     material: STAINED_GLASS_PANE
  46.     # 需要占位的格子
  47.     slots: [ 45,46,47,48,49,50,51,52,53 ]
  48.     display: "§8被封印的格子"
  49.     lore:
  50.       - "§r"
  51.       - "§7铁匠流传下来的力量使这个格子封印了..."
  52.       - "§r"
  53.   # 下一页
  54.   next_page:
  55.     material: NETHER_STAR
  56.     slots: [ 51 ]
  57.     display: "§8下一页"
  58.     lore:
  59.       - "§r"
  60.       - "§7铁匠流传下来的力量增强了..."
  61.       - "§r"
  62.   # 上一页
  63.   last_page:
  64.     material: NETHER_STAR
  65.     slots: [ 47 ]
  66.     display: "§8上一页"
  67.     lore:
  68.       - "§r"
  69.       - "§7铁匠流传下来的力量消逝了..."
  70.       - "§r"

  71. # 锻造界面
  72. forge_interface:
  73.   # 大小
  74.   size: 27
  75.   # 开始锻造
  76.   forge:
  77.     # 展示物品
  78.     material: ANVIL
  79.     # 监听的格子
  80.     slots: [22]
  81.     display: "§e开始锻造..."
  82.     lore:
  83.       - "§r"
  84.       - "§c(需要将材料放置容器内)"
  85.       - "§c通过传承的力量来进行锻造..."
  86.       - "§r"
  87.   # 占位
  88.   perch:
  89.     # 展示物品
  90.     material: STAINED_GLASS_PANE
  91.     # 需要占位的格子
  92.     slots: [ 18,19,20,21,22,23,24,25,26 ]
  93.     display: "§8被封印的格子"
  94.     lore:
  95.       - "§r"
  96.       - "§7铁匠流传下来的力量使这个格子封印了..."
  97.       - "§r"
复制代码


配方配置文件(crafting/example.yml)
  1. <div style="background-color: rgb(30, 31, 34); color: rgb(188, 190, 196); --darkreader-inline-bgcolor: #181a1b; --darkreader-inline-color: #c0bbb3;" data-darkreader-inline-bgcolor="" data-darkreader-inline-color=""><pre style="font-family:'JetBrains Mono',monospace;font-size:9.8pt;"><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">###########################################################
  2. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">这里是图纸的配置文件
  3. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">如何确定一个物品是否是图纸,没有严格的判断
  4. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">确定一个物品是否是图纸,会判断这个物品的</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">display</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">和</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">lore
  5. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">所以为了避免非图纸物品当作图纸物品使用,请一定要检查您的物品名称是否唯一
  6. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">###########################################################
  7. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">
  8. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">示例一
  9. </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">blueprint_1</span>:
  10.   <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">当玩家手上的物品名称为</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">或是</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "§a</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">和</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">"&a</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">请一定要对应!
  11. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">例如,物品名称为</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">那么就不代表</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "§a</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">是一件物品
  12. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">物品名称为</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">就是物品名称为</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的物品</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">, </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">它不能代表 物品名称为</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> "§a</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">1" </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的物品!
  13. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">match_blueprint_display</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">1"
  14. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  15. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">  </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">需要匹配的</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">lore
  16. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">match_blueprint_lore</span>:
  17.     - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  18. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§e</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义图纸的</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore"
  19. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§e</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">此</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">将会展示到锻造台中</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  20. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  21. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  22. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">  </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">需要的材料</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">(</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">仅匹配</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">lore</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">和数量</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">)
  23. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">material</span>:
  24.     <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">材料种类数量
  25. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
  26.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  27.       <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">材料一</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">lore
  28. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  29.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">1lore"
  30. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">所需数量</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> (</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">注意!不要超过</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">64)
  31. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 1
  32.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  33.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  34.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">2lore"
  35. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 4
  36.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  37.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  38.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">3lore"
  39. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 8

  40.   <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">锻造成品
  41. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">result</span>:
  42.   <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">是否将物品给予玩家
  43. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">enable</span>: true
  44.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">display</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义武器</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">1"
  45. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">material</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"IRON_SWORD"
  46. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  47.       - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  48. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">这是自定义武器的</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore"
  49. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">伤害</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: <random_vault>"
  50. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">锻造师</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: %player_name%"
  51. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">品质</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: <random_quality>"
  52. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  53. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">伤害</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">(</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">会根据不同的品质来提升伤害</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">)
  54. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">random_vault</span>:
  55.       <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">#count: </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的数量一定要和序号数量一致
  56. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
  57.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  58.         <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">权重
  59. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 8
  60.         <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">伤害区间格式</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">(</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">小</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">:</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">大</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">)
  61. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">range</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"20-40"
  62. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  63.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 5
  64.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">range</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"50-75"
  65. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  66.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 1
  67.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">range</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"100-200"
  68. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">        </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">commands</span>:
  69.           - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"console:say </span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">恭喜</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> §c[%player_name%] §f</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">锻造出了一件</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> §c§l</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">传说</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> §f</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">物品!</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  70. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">品质</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">(</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">不同的品质伤害不同</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">)
  71. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality_level</span>:
  72.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  73.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">普通</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  74. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  75.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">史诗</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  76. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  77.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">传说</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  78. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  79. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">  </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">执行命令</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> (</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">可以删除此项</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">)
  80. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  # </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">成功后触发
  81. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">commands</span>:
  82.     - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"console:say </span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">玩家</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> %player_name% </span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">锻造成功了,让我们恭喜他!</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  83. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"op:say </span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">我以</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">OP</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">的身份说我锻造成功了</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  84. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"say </span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">我以普通玩家的身份说我锻造成功了</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  85. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  86. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  87. </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">高级示例!
  88. </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">blueprint_2</span>:
  89.   <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">match_blueprint_display</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义武器图纸</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">2"
  90. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  91. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">match_blueprint_lore</span>:
  92.     - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  93. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§e</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义图纸的</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore"
  94. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§e</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">此</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">将会展示到锻造台中</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  95. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  96. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">
  97. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">  </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">material</span>:
  98.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
  99.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  100.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  101.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">1lore"
  102. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 1
  103.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  104.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  105.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">2lore"
  106. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 4
  107.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  108.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  109.         - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">材料</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">3lore"
  110. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">amount</span>: 8

  111.   <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">result</span>:
  112.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">enable</span>: true
  113.     <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">display</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">自定义武器</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">2"
  114. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">material</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"IRON_SWORD"
  115. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</span>:
  116.       - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  117. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">这是自定义武器的</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">lore"
  118. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">伤害</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: <random_vault>"
  119. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">锻造师</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: %player_name%"
  120. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">品质</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">: <random_quality>"
  121. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span>- <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
  122. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">random_vault</span>:
  123.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
  124.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  125.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 8
  126.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">script</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"name=example1.js;result=example1()"
  127. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  128.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 5
  129.         <span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># name=js</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">名字,</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">args=</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">参数数量,</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">arg1</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">代表第一个参数</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">(</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">根据</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">args</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的数量来进行递增,如</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">args=N,arg1,arg2,arg3,...,argN)</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">,它可以是一个固定值也可以是一个</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">PAPI</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">变量,</span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">result=js</span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">返回的数值
  130. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">值得注意的是,在字符串中不允许出现空格或者其他占位符,否则会导致意外错误!
  131. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">并且需要遵循以下格式
  132. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">script</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"name=example2.js;args=2;arg1=20;arg2=30;result=example2()"
  133. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  134.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 3
  135.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">script</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"name=example3.js;args=1;arg1=%player_ping%;result=example3()"
  136. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">        </span><span style="color: rgb(95, 130, 107); font-style: italic; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">您可以在锻造到指定等级的物品后执行命令
  137. </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">        </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">commands</span>:
  138.           - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"console:say §a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">恭喜!</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> [§c%player_name%§a] §a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">锻造出</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> §c§l</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">传说级</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color=""> §a</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">装备!</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  139. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">    </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality_level</span>:
  140.       <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
  141.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">普通</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  142. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
  143.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">史诗</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"
  144. </span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">      </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
  145.         <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">quality</span>: <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span><span style="color: rgb(106, 171, 115); font-family: &quot;Courier New&quot;, monospace; --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">传说</span><span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"</span></pre></div>
复制代码

脚本文件(scripts/example1.js ~ example3.js)
# example1.js
function example1() {
    return 20;
}
example1()


# example.js
function example2(arg1, arg2) {
    return arg1 + arg2;
}
example2()


# example3.js
function example3(papiArg1) {
    return papiArg1;
}
example3()



语言配置文件(lang/message.yml)
  1. ###########################################################
  2. # 这里是语言配置文件
  3. ###########################################################
  4. # 信息

  5. # 所有
  6. any:
  7.   command_help:
  8.     - §7————————§d[FishForge]§7————————
  9.     - §9/ff help §d帮助
  10.     - §9/ff open {player_name} §d打开锻造台(包含图纸, player_name选填,默认为本人)
  11.     - §9/ff remove {player_name} §d移除某个玩家的数据
  12.     - §9/ff reload §d重载配置文件
  13.     - §7————————§d[FishForge]§7————————
  14.   command_config_reload: "§c配置文件完成重载..."

  15.   no_permission: "§c你没有足够权限来使用这个命令."

  16.   delete_player_data: "§c操作成功."

  17. # 关于玩家
  18. player:
  19.   # 学习图纸
  20.   learning_blueprint: "§e你学习了图纸"
  21.   # 已经学习过图纸
  22.   have_learned_blueprint: "§c你已经学习过该图纸"
  23.   # 玩家不在线
  24.   player_not_online: "§c指定玩家不在线"
  25.   # "/ff remove"
  26.   remove_permission_usage: "§c使用方法/ff remove {player_name}"

  27. # 关于控制台
  28. console:
  29.   # "/ff open"
  30.   command_open: "§7使用方法 /ff open (player_name)"
  31.   # 玩家不在线
  32.   player_not_online: "§c指定玩家不在线"
  33.   # "/ff remove"
  34.   remove_permission_usage: "§c使用方法/ff remove {player_name}"

  35. # 其他
  36. other:
  37.   #"/ff open"
  38.   command_open: "§c该命令发送者不在允许使用范围"
  39.   # "/ff remove"
  40.   remove_permission_usage: "§c使用方法/ff remove {player_name}"
  41.   # 不支持命令
  42.   not_support: "§c此命令的发送者不支持此命令"

  43. # 界面
  44. interface:
  45.   # 图纸界面标题
  46.   blueprint_inventory_title: "§e锻造台"
复制代码




2.权限节点
管理员权限:fishforge.admin



3.最后
下载链接回帖可见,感谢支持
最新版v1.0.0

游客,如果您要查看本帖隐藏内容请回复

如果存在bug或者是有什么创意的可以联系开发者









Lv.1 伐木工

人气
5 点
金粒
26 粒
宝石
0 颗
爱心
0 颗
钻石
1 颗
贡献
0 点
发表于 2025-1-11 22:50:05 | 显示全部楼层
感谢分享                  
回复

使用道具 举报

Lv.1 伐木工

人气
5 点
金粒
19 粒
宝石
0 颗
爱心
0 颗
钻石
1 颗
贡献
0 点
发表于 2025-1-13 17:53:25 | 显示全部楼层
大佬谢谢!!!
回复

使用道具 举报

Lv.2 采石匠

人气
5 点
金粒
35 粒
宝石
0 颗
爱心
0 颗
钻石
11 颗
贡献
0 点
发表于 2025-1-13 23:47:54 | 显示全部楼层
211111111111111111111
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

人生三大错觉,我能反杀,下一发能出金,她喜欢我。

Archiver|小黑屋| MCBBS纪念版 ( 新ICP备2024014954号|兵公网安备66010002000149号 )|隐私政策| 手机版

GMT+8, 2025-1-23 06:21 , Processed in 0.097875 second(s), 27 queries , Redis On.

"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

© 2010-2025 MCBBS纪念版 版权所有 本站内原创内容版权属于其原创作者,除作者或版规特别声明外未经许可不得转载

返回顶部