|
锻造工艺
FishForgeCrafting
适用服务端:CraftBukkit Spigot Paper
插件类型: RPG
语言支持: 简体中文 English
适用版本:
前置插件: 无
简介: 免费的数据库锻造插件
插件来源: 原创
授权方式: 保留所有权利(All Rights Reserved)
授权方式: 保留所有权利(All Rights Reserved)
原帖地址:
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 LengFish 于 2025-1-22 01:22 编辑
下载链接在末尾
最新版1.0.0
1.修复跨服同步数据bug
2.增加新功能,详细请对比上个版本的配置文件 (请注意!,使用1.0.0版本前请将上个版本的配置文件删除)
3.增加JavaScript脚本处理数据
1.配置文件
config.yml
- ###########################################################
- # FishForgeCrafting
- # 作者: LengFish
- # QQ:1836503502
- ###########################################################
- # 插件显示前缀
- plugin_name: "§f[§7鱼之锻造§f]"
- # 语言设置 (默认为中文)
- # 如果需要选用其他语言 language: {suffix}
- # 例如英语 language: en
- language: default
- # 数据库设置
- mysql:
- # 是否启用数据库
- enable: false
- # 数据库地址
- host: localhost
- # 数据库端口号
- port: 3306
- # 数据库名称 (也会作为数据库表名)
- database: fishforge
- # 数据库用户名
- username: root
- # 数据库密码
- password: admin
- # 高级设置
- # 最大线程池连接数
- maxPoolSize: 20
- # 最小空闲连接数
- minIdle: 3
- # 连接超时时间 (ms)
- connectionTimeout: 30000
- # 空闲连接存活时间 (ms)
- idleTimeout: 600000
- # 连接最大存活时间 (ms)
- maxLifetime: 1800000
- # 界面
- # 图纸界面
- blueprints_interface:
- # 大小
- size: 54
- # 占位物品
- perch:
- # 展示物品
- material: STAINED_GLASS_PANE
- # 需要占位的格子
- slots: [ 45,46,47,48,49,50,51,52,53 ]
- display: "§8被封印的格子"
- lore:
- - "§r"
- - "§7铁匠流传下来的力量使这个格子封印了..."
- - "§r"
- # 下一页
- next_page:
- material: NETHER_STAR
- slots: [ 51 ]
- display: "§8下一页"
- lore:
- - "§r"
- - "§7铁匠流传下来的力量增强了..."
- - "§r"
- # 上一页
- last_page:
- material: NETHER_STAR
- slots: [ 47 ]
- display: "§8上一页"
- lore:
- - "§r"
- - "§7铁匠流传下来的力量消逝了..."
- - "§r"
- # 锻造界面
- forge_interface:
- # 大小
- size: 27
- # 开始锻造
- forge:
- # 展示物品
- material: ANVIL
- # 监听的格子
- slots: [22]
- display: "§e开始锻造..."
- lore:
- - "§r"
- - "§c(需要将材料放置容器内)"
- - "§c通过传承的力量来进行锻造..."
- - "§r"
- # 占位
- perch:
- # 展示物品
- material: STAINED_GLASS_PANE
- # 需要占位的格子
- slots: [ 18,19,20,21,22,23,24,25,26 ]
- display: "§8被封印的格子"
- lore:
- - "§r"
- - "§7铁匠流传下来的力量使这个格子封印了..."
- - "§r"
复制代码
配方配置文件(crafting/example.yml)
- <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="">###########################################################
- </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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""># </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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; --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: "Courier New", 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="">blueprint_1</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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">请一定要对应!
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">是一件物品
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的物品!
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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: "Courier New", 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"
- </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=""> </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: "Courier New", 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; --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>:
- - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
- </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: "Courier New", 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); --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: "Courier New", 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: "Courier New", 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><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"
- </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=""> </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: "Courier New", 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: "Courier New", 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: "Courier New", 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; --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>:
- <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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">材料种类数量
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</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: "Courier New", 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; --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>:
- - <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: "Courier New", 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"
- </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: "Courier New", 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: "Courier New", 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)
- </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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</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: "Courier New", 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"
- </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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</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: "Courier New", 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"
- </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
- <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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">锻造成品
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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>:
- <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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">是否将物品给予玩家
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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
- <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: "Courier New", 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"
- </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"
- </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>:
- - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
- </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: "Courier New", 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); --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: "Courier New", 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>"
- </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: "Courier New", 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); --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: "Courier New", 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>"
- </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"
- </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: "Courier New", 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: "Courier New", 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; --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>:
- <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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">的数量一定要和序号数量一致
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">权重
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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
- <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: "Courier New", 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: "Courier New", 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: "Courier New", 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; --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"
- </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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 5
- <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"
- </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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 1
- <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"
- </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>:
- - <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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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><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: "Courier New", 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: "Courier New", 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; --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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
- <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: "Courier New", 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><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>:
- <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: "Courier New", 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><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>:
- <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: "Courier New", 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><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=""> </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: "Courier New", 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: "Courier New", 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; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color=""> # </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">成功后触发
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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>:
- - <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: "Courier New", 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: "Courier New", 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><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: "Courier New", 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: "Courier New", 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><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: "Courier New", 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><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="">
- </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: "Courier New", 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="">blueprint_2</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: "Courier New", 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"
- </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=""> </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">match_blueprint_lore</span>:
- - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
- </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: "Courier New", 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); --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: "Courier New", 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: "Courier New", 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><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"
- </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=""> </span><span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">material</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</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: "Courier New", 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"
- </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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">2</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</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: "Courier New", 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"
- </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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">3</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">lore</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: "Courier New", 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"
- </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
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">result</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">enable</span>: true
- <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: "Courier New", 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"
- </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"
- </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>:
- - <span style="color: rgb(106, 171, 115); --darkreader-inline-color: #76b27e;" data-darkreader-inline-color="">"§r"
- </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: "Courier New", 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); --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: "Courier New", 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>"
- </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: "Courier New", 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); --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: "Courier New", 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>"
- </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"
- </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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">count</span>: 3
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 8
- <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()"
- </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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 5
- <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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">返回的数值
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">值得注意的是,在字符串中不允许出现空格或者其他占位符,否则会导致意外错误!
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">并且需要遵循以下格式
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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()"
- </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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">weight</span>: 3
- <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()"
- </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: "Courier New", monospace; --darkreader-inline-color: #a1998d;" data-darkreader-inline-color="">您可以在锻造到指定等级的物品后执行命令
- </span><span style="color: rgb(95, 130, 107); font-style: italic; font-family: "Courier New", 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>:
- - <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: "Courier New", 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: "Courier New", 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: "Courier New", 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: "Courier New", 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><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>:
- <span style="color: rgb(207, 142, 109); --darkreader-inline-color: #d19272;" data-darkreader-inline-color="">1</span>:
- <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: "Courier New", 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><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>:
- <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: "Courier New", 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><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>:
- <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: "Courier New", 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)
- ###########################################################
- # 这里是语言配置文件
- ###########################################################
- # 信息
- # 所有
- any:
- command_help:
- - §7————————§d[FishForge]§7————————
- - §9/ff help §d帮助
- - §9/ff open {player_name} §d打开锻造台(包含图纸, player_name选填,默认为本人)
- - §9/ff remove {player_name} §d移除某个玩家的数据
- - §9/ff reload §d重载配置文件
- - §7————————§d[FishForge]§7————————
- command_config_reload: "§c配置文件完成重载..."
- no_permission: "§c你没有足够权限来使用这个命令."
- delete_player_data: "§c操作成功."
- # 关于玩家
- player:
- # 学习图纸
- learning_blueprint: "§e你学习了图纸"
- # 已经学习过图纸
- have_learned_blueprint: "§c你已经学习过该图纸"
- # 玩家不在线
- player_not_online: "§c指定玩家不在线"
- # "/ff remove"
- remove_permission_usage: "§c使用方法/ff remove {player_name}"
- # 关于控制台
- console:
- # "/ff open"
- command_open: "§7使用方法 /ff open (player_name)"
- # 玩家不在线
- player_not_online: "§c指定玩家不在线"
- # "/ff remove"
- remove_permission_usage: "§c使用方法/ff remove {player_name}"
- # 其他
- other:
- #"/ff open"
- command_open: "§c该命令发送者不在允许使用范围"
- # "/ff remove"
- remove_permission_usage: "§c使用方法/ff remove {player_name}"
- # 不支持命令
- not_support: "§c此命令的发送者不支持此命令"
- # 界面
- interface:
- # 图纸界面标题
- blueprint_inventory_title: "§e锻造台"
复制代码
2.权限节点
管理员权限:fishforge.admin
3.最后
下载链接回帖可见,感谢支持
最新版v1.0.0
如果存在bug或者是有什么创意的可以联系开发者
|
|