原创地址制作面板 – 插件 – 代码转换
关于 Crafting Panel
这个插件为您的服务器提供了一个漂亮方便的制作面板。它的设计和机制尽可能类似于游戏中的 Rust 制作面板。添加任何自定义项目、命令、权限和您喜欢的任何其他内容的制作。
特征
- 该设计与 Rust 的游戏内制作面板的设计相似 ~90%。
- 支持任何自定义项和命令。
- 能够解锁游戏内制作菜单中的所有 DLC 物品。
- 该插件仅注册您为其指定的项的权限。因此,可以防止创建大量权限。
- 可自定义的音效、右侧状态栏中的通知以及常用插件中的文本通知。
- 该插件可以从库存、游戏背包和 Backpacks 插件中取出和分发物品,具体取决于其中任何一个的填充度。
- 能够添加项目变体(只需查看屏幕截图)。
- 支持使用技能插件。
- 支持使用经济插件。玩家可以选择是制作还是购买物品。
- 将项目添加到收藏夹、内置搜索、功能齐全的队列等。
- Scrollbar 支持。
- 能够使用物品制作冷却时间。
支持的插件:
- SkillTree – 允许您使用奖励,例如:Craft_Speed、Craft_Refund Craft_Duplicate。还允许您在制作时给予加成,并在取消制作时带走。
- Backpacks – 插件可以在额外的背包中取走和赠送物品。
- ItemRetriever – 插件可以从连接到玩家的所有容器(包括库存、游戏背包、背包插件和任何其他使用 ItemRetriever 作为供应商的插件)中获取制作材料。
- ZLevelsRemastered – 允许您使用工艺速度奖励。
- Economics, ServerRewards, IQEconomic – 这些插件用于使用这些插件的货币购买物品。
- Notify、GUIAnnouncements – 这些插件用于显示通知。
- SimpleStatus、AdvancedStatus – 这些插件用于在屏幕右下角的状态栏中显示通知。
权限
该插件具有 immutable 和 generated 权限。
不可变的包括:
- craftingpanel._use – 负责打开面板。如果没有权限,面板将不会打开。
- craftingpanel._admin – 仅向管理员授予此权限。它添加了一个额外的“Give yourself”按钮,可以免费从面板中获取项目。使用 givecraft 命令也需要此权限(下文将介绍)。
- craftingpanel._instant – 所有玩家的工艺品都将是即时的。
- craftingpanel._death – 当玩家死亡时,制作队列不会重置。
- craftingpanel._disconnect – 当玩家离开服务器时,制作队列不会被重置。
- craftingpanel._economics – 允许您以所选经济插件的货币购买商品。如果玩家没有权限,则仍将显示成本面板,但玩家将无法进行购买。
- craftingpanel._workbench – 允许您通过拥有比制作所需的更高级别的工作台来减少制作时间。
- craftingpanel._bonuses – 允许玩家从 “Crafting bonuses” 部分访问制作奖励。
- craftingpanel._unlockdlc – 如果玩家拥有此权限,他可以在游戏内的制作菜单中制作所有 DLC 物品。如果您撤销此权限,所有 DLC 物品将再次变得不可用。
- craftingpanel._nocooldown – 允许您禁用所有物品的冷却时间。
生成的权限由插件本身创建,其工作原理如下:
- craftingpanel.section.vehicles– 这是“vehicles”部分的权限。
- craftingpanel.vehicles.minicopter – 这是对“vehicles”部分中项目 “minicopter” 的权限。
- craftingpanel.vehicles.snowmobile.tomaha – 这是对“vehicles”部分和“tomaha”变体中项目 “Snowmobile” 的权限。
命令
插件中只有一个命令:
Givecraft SteamID/昵称部分 项目 5 皮肤
- SteamID/昵称 – 您选择的 SteamID 或昵称。
- section (部分) – Section permission [required] (区域权限 [必需])字段中的区域名称。
- item – Item permission [required] (项目权限 [必需])字段中的 Item name(项目名称)。
- 5 – 要发放多少当前物品(工艺乘数)。
- skin – name of the item from the Ingredients section, Item permission [required] fields.
All arguments of this command are required. If your item has an empty “Variations” section or you want a default item, specify “default” in place of skin.
General settings
Allow panel scaling when the interface is scaled? – if this setting is enabled, the craft panel will be resized depending on the game interface scale (setting “user interface scale”). If the setting is disabled, the panel will always be the same size, regardless of the player interface scale.
还记得上次选定的部分和项目吗? – 插件将在播放器下次打开面板时记住最后选择的 section、item 和 variation。
启用多语言模式?– 如果您的服务器有来自不同国家的玩家,此模式允许您自定义其他语言的翻译。当你启用此模式时,插件会将所有需要翻译的数据写入 lang – 文件。这些包括:部分名称、项目名称、项目描述、项目属性、项目变体名称和成分名称。lang – 文件由一对组成:key – value。key 是一个唯一的名称,借助它,插件可以理解要使用什么短语。
部分翻译:
section.*section permission* – 用于部分名称翻译的关键模板。例如: “section.favorite”: “Favorite” – 收藏夹部分。
物品信息翻译:
*section permission*.*item permission*.name – 用于项目名称翻译的关键模板。例如: “sunburn.innertube.name”: “Inner Tube” – 项目名称。
*section permission*.*item permission*.description – 项目描述翻译的关键模板。例如: “sunburn.innertube.description”: “ Inflatable lap for water fun.” – 商品描述。
*section permission*.*item permission*.properties – 用于项目属性转换的关键模板。例如: “sunburn.innertube.properties ”: “Any properties …” – 项目属性。
*section permission*.*item permission*.variations.*variation permission* – 变体名称翻译的关键模板。例如: “sunburn.innertube.variations.zebra”: “ZEBRA” – 变体名称。
成分名称翻译:
*ingredient shortname *.*ingredient skinId* – 成分名称翻译的关键模板。例如: “wood.0”: “Wood” – 成分名称。
允许使用 Backpacks 插件?– 插件可以在额外的背包中拿走和赠送物品(WhiteThunder 的 Backpacks)。
允许使用 ItemRetriever 插件?– 此插件提供与播放器容器交互的高级功能:
如果启用了 ItemRetriever 插件,则 CraftingPanel 将从连接到玩家的所有容器(包括库存、游戏背包、Backpacks 插件以及使用 ItemRetriever 作为供应商的任何其他插件)中获取制作原料。
如果 ItemRetriever 插件被禁用,CraftingPanel 将获取具有下一个优先级的项目(如果未找到该项目,它将转到下一个容器):Backpacks 插件(如果启用) -> game backpack -> inventory。
CraftingPanel 插件完全负责分发物品(因为 ItemRetriever 只允许您从玩家那里拿走物品),它分发具有下一个优先级的物品(如果容器已满,它会继续下一个):库存 -> 游戏背包 -> 背包插件(如果启用) -> 掉落物品。
如果玩家已经很多天没有登录服务器,请从 Data 文件中删除玩家数据 – 添加此设置是为了防止插件将曾经访问过您服务器的所有玩家的设置保留在内存中。
Effect at the start/end/canceling – 将在制作开始时播放的游戏效果/完成制作/取消制作(效果列表、播放效果插件)。
Specify a plugin to work with the economy – 从列表中指定一个插件,或将字段留空以禁用 economy 工作。
制作加成
此部分允许您在使用其中一个受支持的插件时自定义制作奖励。这些插件中的每一个都有自己的设置。
经验量取决于制作时间?– 如果禁用此设置,则给定/获取的体验将相同(在上面的设置中指定)。如果启用此设置,则将使用以下公式计算体验:计算的体验 = 制作时间 * 上述设置中的体验。应该考虑到,要计算制作物品的经验,需要完整的制作时间(在物品设置中指定),要计算制作取消的经验,需要花费剩余的时间来创建物品。
ZLevelsRemastered 插件没有用于与制作奖励交互的成熟 api,因此使用它的工作没有完全实现(经济插件中没有奖励,不考虑此插件的权限等)。
通知设置
Notification type (Chat, GameTips, Notify, GUIAnnouncements) – 如果启用此部分,则必须指定类型/插件以通知玩家不同的警告。
- 聊天 – 通知常规聊天。
- GameTips – 游戏内 Rust 工具提示中的通知(屏幕底部的蓝色或红色)。
- Notify – Mevent 的 Notify 插件中的通知。
- GUIAnnouncements – JoeSheep 的 GUIAnnouncements 插件中的通知。
正下方是特定通知类型的自定义字段。
游戏状态设置
游戏状态是显示在屏幕右下角的通知(类似于游戏内制作)。该插件可以显示 3 种类型的游戏状态:
- 当前工艺 – 这是带有齿轮的蓝色面板。它会在制作过程进行时显示。
- Giving item – 它是带有向下箭头的绿色面板。当玩家获得合成物品时,会显示此图标。
- Drop item – 它是带有十字的红色面板。当插件提供的物品不适合物品栏并在玩家附近掉落时,会显示此图标。
使用 Rust 的游戏内状态和两个插件(SimpleStatus、AdvancedStatus)的制作面板,它们具有略微高级的功能。
- Rust – 是游戏中内置的游戏内状态。它不需要任何额外的插件,但它不能显示当前工艺(带有齿轮的蓝色面板)。
- SimpleStatus – 此插件显示可自定义的状态。它可以显示 Current craft 和 Giving item。但由于作限制,无法显示 Dropping item。
- AdvancedStatus – 此插件显示可自定义的状态。它适用于上述所有状态类型。
分区设置
Section name (部分名称) – 菜单按钮上显示的部分名称。
Section permission [required] – be sure to fill in these fields and make sure they are all unique. Because it is by this field that the plugin understands which section it is currently working with. If you specify “favorite” here, the plugin will use this section to display the player’s favorite items (don’t add items to it, the plugin will delete them anyway).
Register this permission? – if enabled, the plugin will register a permission with the above name. In this case this section will be shown only to those players who have this permission.
Section item settings
Item name [required] – required field. The name of the item is displayed only in this plugin. If you need to create an item with the same name, you will find this setting below.
Item permission [required] – 必填字段。确保该部分中的每个项目都有一个唯一的字段。因为通过这个字段,插件可以理解它当前正在处理当前部分中的哪个项目。
注册此权限? – 如果启用,插件将使用上述名称注册权限。请记住,当前物品仍会向所有玩家显示,但他们将无法制作它(这也由信息部分左上角的图标通知)。
物品描述 – 物品描述,在制作时不会传递给物品,只显示在本插件的面板中。
Item properties (商品属性) – 如果商品具有某些特性(例如,损坏、辐射防护等),您可以在此处指定它们。此数据显示在项目的 information 部分的单独面板中。
Item shortname – if you are using the command as a craft result, leave this field empty.
Create an item with the default name (true) or the above name (false)? – if true, the plugin will create an item with the default game name (which refers to the current shortname), otherwise it will set the name from the Item name field.
Item skinId – if the item is custom, specify the required skinId, otherwise set it to 0.
Item image [optional] – if as a result of craft, you have to execute some command, you can specify a link to a picture related to this command.
制作后执行的控制台命令 (%steamid%, %username%, %amount%) [可选] – 如果您需要在制作过程中执行一些命令,您可以在此字段中用逗号列出它们。在命令中,您可以指定 %steamid% 和 %username%,插件会将它们替换为当前玩家的数据。该插件还可以将 %amount% 替换为每个工艺的数量(下一个设置)。如果该命令提供一些自定义游戏项,并且您知道它的 shortname 和 skinid,则可以在上面的字段中指定它们。这样,您无需额外将此项目的图像保存到主机并指定其链接。
每个工艺的数量 – 每个工艺赠送的物品数量。
Max craft multiplier – 允许的最大工艺乘数。合成乘数(由玩家在 Ingredients 部分选择)是物品将被分配多少次或命令将被执行多少次。如果每个工艺的数量 = 3,并且玩家选择的乘数 = 2,他将收到 2 * 3 = 6 件物品。
Crafting time [sec] – 制作物品的时间。它可以设置为 0,然后该物品将立即合成。
在游戏状态中显示通知(如果已启用)?– 如果使用来自另一个插件的命令来提供自定义项目并且该插件显示游戏状态,则可能会发生游戏状态重复。因此,可以禁用特定项目的游戏状态显示。请记住,这只会禁用 Giving item 状态。
应用工艺加成(如果启用)?– 允许您将工艺奖励(来自“制作奖励”部分)应用于此项目。
经济插件中的制作成本 [0 – 禁用] – 当前物品以经济服务器货币表示的值。如果您在开始时指定了受支持的 economy 插件之一,则自定义有效。
Item Variation 设置
在游戏中的 Rust 制作面板中,此部分称为 Skins,此处称为 Variations。这样做是因为这里它不仅可以包括皮肤,还可以包括与父项相关的任何项或命令。例如,您有几个模块化汽车预设,具有不同类型的模块,但它们都与模块化汽车相关。因此,您可以在一个项目中指定它们 – “模块化汽车”。此部分中的设置与父项类似,但制作材料除外。它们将与父项相同。
Item Ingredient 设置
Resource name [required] – 必填字段。用于在插件面板中显示成分的名称(从播放器获取成分时不考虑)。取消工艺时,插件可以将此成分设置为指定名称,您将在下面找到此设置。
在配料中使用此资源?– 启用或禁用此资源以用于配料。
Resource shortname [required] – 必填字段。插件将从玩家那里寻找进行合成的物品的简称。
Resource skinId – 如果是自定义项目,则提供其 skinId,否则将其设置为 0。
返回具有默认名称 (true) 或上述名称 (false) 的项目?– 当工艺被取消时,如果为 true,则插件将使用默认游戏名称(指当前简称)创建一个成分,否则它将从 Resource name 字段中设置名称。
插件配置
英文插件配置示例:
{ "Command to open the craft panel": "craft", "Allow panel scaling when the interface is scaled?": false, "Close the panel after starting craft?": false, "Remember the last selected section and item?": true, "Enable multilingual mode?": false, "Allow work with the Backpacks plugin?": true, "Allow work with the ItemRetriever plugin?": true, "Delete player data from the Data file if they have not logged into the server for so many days": 182, "Effect at the start of crafting [empty - nothing]": "assets/prefabs/misc/xmas/snowballgun/effects/reload_start.prefab", "Effect at the end of crafting [empty - nothing]": "assets/prefabs/misc/xmas/presents/effects/wrap.prefab", "Effect of canceling the craft [empty - nothing]": "assets/prefabs/instruments/xylophone/effects/xylophone-deploy.prefab", "Specify a plugin to work with the economy (ServerRewards, Economics, IQEconomic) [empty - disable]": "", "Crafting bonuses": { "Enable crafting bonuses?": false, "Specify a plugin to work with bonuses (SkillTree, ZLevelsRemastered)": "SkillTree", "Amount of experience given for crafting": 0.25, "Amount of experience taken away for canceling the craft": 0.05, "Amount of experience will depend on crafting time?": true, "Icon for chat messages (from config of plugin used) [0 - default]": 76561199514393612, "SkillTree: use Craft_Speed buff?": true, "SkillTree: use Craft_Refund buff?": true, "SkillTree: use Craft_Duplicate buff?": true, "ZLevelsRemastered: use the crafting speed buff?": true, "ZLevelsRemastered: config value - Plugin Prefix": "<color=orange>ZLevels</color>: ", "ZLevelsRemastered: config value - Skill Colors -> CRAFTING": "#00FF00", "ZLevelsRemastered: config value - Crafting Details -> Percent Faster Per Level": 5.0, "ZLevelsRemastered: config value - Level Caps -> CRAFTING": 20.0, "ZLevelsRemastered: config value - Starting Stats -> Crafting Points": 10.0 }, "Plugin notifications": { "Enable plugin notifications?": true, "Notification type (Chat, GameTips, Notify, GUIAnnouncements)": "GameTips", "Close the panel to show a notification?": true, "GameTips: notification type (info, warning)": "warning", "Notify: notification type": 0, "GUIAnnouncements: banner color": "Grey", "GUIAnnouncements: text color": "White", "GUIAnnouncements: vertical position": 0.03 }, "Game status": { "Enable game status?": true, "Type of game status (Rust, SimpleStatus, AdvancedStatus)": "Rust" }, "Sections": [ { "Section name": "Favorite", "Enable this section?": true, "Section permission [required]": "favorite", "Register this permission?": true, "Section icon": "https://i.postimg.cc/43jc0tWp/favorite.png", "Section items": [] }, { "Section name": "Items", "Enable this section?": true, "Section permission [required]": "items", "Register this permission?": false, "Section icon": "https://i.postimg.cc/kGbJ85TZ/items.png", "Section items": [ { "Item name [required]": "Skinning Knife", "Enable crafting of this item?": true, "Item permission [required]": "skinningknife", "Register this permission?": false, "Item description": "A sharp skinning knife. Extremely good at harvesting flesh and can produce trophies that can be mounted on Hunting Trophies.", "Item properties": "Damage 20\nAttack Speed 86\nAttack Size 0.3\nRange 1.5\nFlesh Gather 18", "Item shortname": "knife.skinning", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "", "Amount per craft": 1, "Max craft multiplier": 1, "Crafting time [sec]": 5.2, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 0, "Crafting cost in the economy plugin [0 - disable]": 0, "Item variations": [], "Crafting ingredients": [ { "Resource name [required]": "Metal fragments", "Use this resource in ingredients?": true, "Resource shortname [required]": "metal.fragments", "Resource skinId": 0, "Required quantity for crafting": 75, "Return an item with the default name (true) or the above name (false)?": true } ] }, { "Item name [required]": "Abyss Diver Suit", "Enable crafting of this item?": true, "Item permission [required]": "hazmatdiver", "Register this permission?": false, "Item description": "A divers suit found in the abyss, doubles as a reliable hazmat suit.", "Item properties": "Projectile +30 %\nMelee +30 %\nBite +8 %\nRadiation +50 %\nCold +8 %\nExplosion +5 %", "Item shortname": "hazmatsuit.diver", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "", "Amount per craft": 1, "Max craft multiplier": 1, "Crafting time [sec]": 0.0, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 2, "Crafting cost in the economy plugin [0 - disable]": 0, "Item variations": [], "Crafting ingredients": [ { "Resource name [required]": "Cloth", "Use this resource in ingredients?": true, "Resource shortname [required]": "cloth", "Resource skinId": 0, "Required quantity for crafting": 20, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Low Grade Fuel", "Use this resource in ingredients?": true, "Resource shortname [required]": "lowgradefuel", "Resource skinId": 0, "Required quantity for crafting": 5, "Return an item with the default name (true) or the above name (false)?": true } ] } ] }, { "Section name": "Vehicles", "Enable this section?": true, "Section permission [required]": "vehicles", "Register this permission?": false, "Section icon": "https://i.postimg.cc/HsrtYbkp/vehicles.png", "Section items": [ { "Item name [required]": "Minicopter", "Enable crafting of this item?": true, "Item permission [required]": "minicopter", "Register this permission?": true, "Item description": "The Minicopter is a small helicopter made from scrapped parts.", "Item properties": "", "Item shortname": "box.wooden.large", "Item skinId": 2663605922, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": false, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "", "Amount per craft": 1, "Max craft multiplier": 1, "Crafting time [sec]": 30.0, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 3, "Crafting cost in the economy plugin [0 - disable]": 500, "Item variations": [], "Crafting ingredients": [ { "Resource name [required]": "Scrap", "Use this resource in ingredients?": true, "Resource shortname [required]": "scrap", "Resource skinId": 0, "Required quantity for crafting": 300, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Metal fragments", "Use this resource in ingredients?": true, "Resource shortname [required]": "metal.fragments", "Resource skinId": 0, "Required quantity for crafting": 450, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Low Grade Fuel", "Use this resource in ingredients?": true, "Resource shortname [required]": "lowgradefuel", "Resource skinId": 0, "Required quantity for crafting": 50, "Return an item with the default name (true) or the above name (false)?": true } ] }, { "Item name [required]": "Snowmobile", "Enable crafting of this item?": true, "Item permission [required]": "snowmobile", "Register this permission?": false, "Item description": "The snowmobile is a two-seat vehicle that spawns at the Arctic Research Base.", "Item properties": "", "Item shortname": "", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "https://i.postimg.cc/VvVjGQVy/snowmobile.png", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "givesnowmobile %steamid% %amount%", "Amount per craft": 1, "Max craft multiplier": 1, "Crafting time [sec]": 12.0, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 3, "Crafting cost in the economy plugin [0 - disable]": 0, "Item variations": [], "Crafting ingredients": [ { "Resource name [required]": "Scrap", "Use this resource in ingredients?": true, "Resource shortname [required]": "scrap", "Resource skinId": 0, "Required quantity for crafting": 300, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Metal fragments", "Use this resource in ingredients?": true, "Resource shortname [required]": "metal.fragments", "Resource skinId": 0, "Required quantity for crafting": 450, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Low Grade Fuel", "Use this resource in ingredients?": true, "Resource shortname [required]": "lowgradefuel", "Resource skinId": 0, "Required quantity for crafting": 50, "Return an item with the default name (true) or the above name (false)?": true } ] } ] }, { "Section name": "Lunar NY", "Enable this section?": true, "Section permission [required]": "lunar", "Register this permission?": false, "Section icon": "https://i.postimg.cc/Fz1hz3G4/lunarNY.png", "Section items": [ { "Item name [required]": "Sky Lantern", "Enable crafting of this item?": true, "Item permission [required]": "skylantern", "Register this permission?": false, "Item description": "A beautiful sky lantern. Can be launched in any direction. Has one inventory slot. Can be Ignited with a lit torch.", "Item properties": "", "Item shortname": "skylantern", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "", "Amount per craft": 2, "Max craft multiplier": 5, "Crafting time [sec]": 5.0, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 0, "Crafting cost in the economy plugin [0 - disable]": 0, "Item variations": [ { "Item name [required]": "GREEN", "Enable crafting of this item?": true, "Item permission [required]": "green", "Register this permission?": false, "Item shortname": "skylantern.skylantern.green", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "" }, { "Item name [required]": "ORANGE", "Enable crafting of this item?": true, "Item permission [required]": "orange", "Register this permission?": false, "Item shortname": "skylantern.skylantern.orange", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "" }, { "Item name [required]": "PURPLE", "Enable crafting of this item?": true, "Item permission [required]": "purple", "Register this permission?": true, "Item shortname": "skylantern.skylantern.purple", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "" }, { "Item name [required]": "RED", "Enable crafting of this item?": true, "Item permission [required]": "red", "Register this permission?": false, "Item shortname": "skylantern.skylantern.red", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "" } ], "Crafting ingredients": [ { "Resource name [required]": "Cloth", "Use this resource in ingredients?": true, "Resource shortname [required]": "cloth", "Resource skinId": 0, "Required quantity for crafting": 10, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Low Grade Fuel", "Use this resource in ingredients?": true, "Resource shortname [required]": "lowgradefuel", "Resource skinId": 0, "Required quantity for crafting": 5, "Return an item with the default name (true) or the above name (false)?": true } ] }, { "Item name [required]": "New Year Gong", "Enable crafting of this item?": true, "Item permission [required]": "newyeargong", "Register this permission?": true, "Item description": "Ring in the Lunar new year with a massive gong!", "Item properties": "", "Item shortname": "newyeargong", "Item skinId": 0, "Is this a blueprint? ": false, "Create an item with the default name (true) or the above name (false)?": true, "Item image [optional]": "", "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "", "Amount per craft": 1, "Max craft multiplier": 3, "Crafting time [sec]": 5.0, "Show notification in game status (if they are enabled)?": true, "Apply craft bonuses (if they are enabled)?": true, "Workbench level [0 - not needed]": 1, "Crafting cost in the economy plugin [0 - disable]": 0, "Item variations": [], "Crafting ingredients": [ { "Resource name [required]": "Wood", "Use this resource in ingredients?": true, "Resource shortname [required]": "wood", "Resource skinId": 0, "Required quantity for crafting": 100, "Return an item with the default name (true) or the above name (false)?": true }, { "Resource name [required]": "Metal fragments", "Use this resource in ingredients?": true, "Resource shortname [required]": "metal.fragments", "Resource skinId": 0, "Required quantity for crafting": 50, "Return an item with the default name (true) or the above name (false)?": true } ] } ] } ] }
暂无评论内容