LamCrafting:高级自定义合成系统
主要功能概览

LamCrafting 是一款功能丰富的 Minecraft 服务器自定义合成插件,具备以下特性:
- 多种合成台,支持可自定义的图形用户界面 (GUI)
- 自定义配方,支持多种需求类型
- 经济系统集成(金币、积分、经验值)
- 基于权限的访问控制
- 完全可配置性
- 全面支持 Folia(对于高度优化的服务器非常重要)
工作原理
该插件允许服务器管理员创建定制化的合成台,玩家可以在其中通过提供特定的资源、货币或经验等级来合成独特的物品。每个合成台都可以拥有自己的一套具有独特需求的配方。
核心功能
- 合成台:为专业合成创建不同的合成台(例如铁匠、附魔师、炼金术士)
- 自定义配方:定义玩家在每个合成台可以合成的物品
- 多种需求类型:
- 普通物品
- 自定义物品(通过 ItemEdit)
- 金币(通过 Vault)
- 积分(通过 PlayerPoints)
- 经验等级
- 权限控制:限制对合成台和配方的访问
- 命令集成:在合成物品时执行命令
技术需求
依赖项
配置
该插件高度可配置,包括:
- 主配置文件:控制调试级别、GUI 布局和消息
剧透
# ======================================================
# LAMCRAFTING 配置
# ======================================================
# 调试级别 (0-3)
# 0 = 仅严重错误
# 1 = 警告和错误
# 2 = 信息消息
# 3 = 调试消息
debug: 3
# ======================================================
# GUI 配置
# ======================================================
gui:
# ----------------------
# 合成 GUI 设置
# ----------------------
crafting:
# 是否在单独的槽位中显示货币需求
# true = 货币在 X 个槽位中显示
# false = 货币与其他需求一起显示
separate_currency_requirements: true
# GUI 布局模式
# 每个字符代表一种槽位类型:
# # = 边框物品
# O = 输出物品(配方结果)
# X = 货币需求
# R = 物品需求
# C = 合成按钮
# B = 返回按钮
pattern:
- "########B" # 每行必须恰好为 9 个字符
- "# O #" # O = 输出槽(配方结果)
- "##X#X#X##" # X = 货币需求槽
- "#RRRRRRR#" # R = 物品需求槽
- "#RRRRRRR#"
- "####C####" # C = 合成按钮
# 每种槽位类型的物品定义
items:
'#': # 边框物品
material: GRAY_STAINED_GLASS_PANE
name: " " # 空名称(仅一个空格)
'O': # 输出槽
material: AIR # 将被替换为配方结果
'R': # 需求槽
material: AIR # 将被替换为需求物品
'X': # 货币槽
material: AIR # 将被替换为货币
'C': # 合成按钮
material: ANVIL
name: "&a点击合成!"
lore:
- "&7如果你有"
- "&7所需材料,请点击合成!"
'B': # 返回按钮
material: BARRIER
name: "&c返回配方"
# 在合成 GUI 时添加到合成台标题的后缀
title_suffix: " - 合成"
# 货币显示设置
currency:
# 金币货币(需要 Vault)
money:
material: GOLD_INGOT # 金币需求的图标
name: "&6金币需求"
symbol: "$" # 货币符号
has_enough: "&a" # 玩家有足够货币时的颜色
not_enough: "&c" # 玩家没有足够货币时的颜色
lore:
- "&7需要: {has_enough}{symbol}{balance}&7/&e{symbol}{amount}"
# 积分货币(需要 PlayerPoints)
points:
material: DIAMOND
name: "&a玩家积分需求"
symbol: ""
has_enough: "&a"
not_enough: "&c"
lore:
- "&7需要: {has_enough}{balance}&7/&e{amount} 积分"
# XP 等级货币
xp_level:
material: EXPERIENCE_BOTTLE
name: "&e经验等级需求"
symbol: ""
has_enough: "&a"
not_enough: "&c"
lore:
- "&7需要: {has_enough}{balance}&7/&e{amount} 等级"
# 物品需求显示格式
requirement_display:
format: "&7需要: {has_enough}{current} &7/ &f{amount}"
has_enough: "&a" # 玩家有足够数量时的颜色
not_enough: "&c" # 玩家没有足够数量时的颜色
# ----------------------
# 配方浏览 GUI 设置
# ----------------------
browse:
# GUI 布局模式
# # = 边框物品
# R = 配方槽位
# P = 上一页按钮
# N = 下一页按钮
pattern:
- "#########" # 每行必须恰好为 9 个字符
- "#RRRRRRR#" # R = 配方槽位
- "#RRRRRRR#"
- "#RRRRRRR#"
- "#P#####N#" # P = 上一页,N = 下一页
# 每种槽位类型的物品定义
items:
'#': # 边框物品
material: LIGHT_BLUE_STAINED_GLASS_PANE
name: " "
'R': # 配方槽位
material: AIR # 将被替换为配方
'P': # 上一页按钮
material: ARROW
name: "&e上一页"
'N': # 下一页按钮
material: ARROW
name: "&e下一页"
# 在浏览 GUI 中附加到工作站标题的后缀
title_suffix: " - 配方"
# ----------------------
# 锁定配方设置
# ----------------------
# 玩家没有权限制作的配方的显示方式
locked_recipe:
material: RED_STAINED_GLASS_PANE
name: "&c&l锁定配方:&7{original_name}"
lore:
- "&7此配方已锁定!"
- "&7你需要权限:"
- "&8{permission}"
# ----------------------
# 工作站选择 GUI 设置
# ----------------------
stations:
# 是否启用工作站选择 GUI
enabled: true
# 工作站选择 GUI 的标题
title: "&8工作台"
# GUI 布局模式
# # = 边框物品
# S = 工作站槽位
pattern:
- "#########"
- "#SSS SSS#" # S = 工作站槽位
- "#SSS SSS#"
- "#########"
# 每种槽位类型的物品定义
items:
'#': # 边框物品
material: BLACK_STAINED_GLASS_PANE
name: " "
'S': # 工作站槽位
material: AIR # 将被替换为工作站图标
# ======================================================
# 消息配置
# ======================================================
# 所有插件消息(支持使用 & 的颜色代码)
messages:
# 所有插件消息的前缀
prefix: "&8[&6LamCrafting&8] "
# 通用消息
no_recipes: "&c没有可用的配方!"
no_permission: "&c你没有权限执行此操作!"
too_many_requirements: "&c错误:配方需求过多 ({count}),超出可用槽位数量 ({slots})"
# 制作消息
missing_items: "&c由于缺少物品,无法制作此配方!"
missing_materials: "&c你缺乏所需的材料或货币!"
craft_success: "&a成功制作了该物品!"
reload_close: "&c由于配方重载,制作菜单已关闭。"
# 工作站消息
no_station_permission: "&c你没有权限使用此工作站!"
station_not_found: "&c未找到工作站!"
station_disabled: "&c此工作站当前已禁用!"
station_gui_disabled: "&c工作站 GUI 已禁用!"
# 管理员命令消息
player_not_found: "&c未找到玩家!"
no_admin_permission: "&c你没有权限为其他玩家打开工作站!"
console_specify_player: "&c控制台必须指定玩家名称!"
station_opened: "&a已为 &e{player} &a打开工作站 &e{station}{force}"
force_suffix: " &7(强制)"
- 工作站配置:定义每个工作台的样式、权限和配方
隐藏内容
# ======================================================
# 基础工作台配置
# ======================================================
# 在工作台 GUI 顶部显示的标题(支持颜色代码)
gui_title: "&8基础工作台"
# 访问此工作站所需的权限
# 如果未指定,则不需要权限。
permission: "lamcrafting.station.basic"
# 此工作站是否启用并可访问
enabled: true
# 在工作站选择 GUI 中的排序权重
# 数字越大,在列表中越靠前
GUI-weight: 10
# 在工作站选择 GUI 中显示的图标
# 可以是原版材质或 ItemEdit 物品 (itemedit:item_id)
GUI-icon: CRAFTING_TABLE
# 是否在工作站选择 GUI 中隐藏此工作站
# 设置为 true 可使其仅通过直接命令访问
GUI-hidden: false
# ======================================================
# 配方
# ======================================================
recipes:
# ----------------------
# 基础材料配方
# ----------------------
# 使用原版材料的简单配方
diamond_block:
material: DIAMOND_BLOCK # 结果物品的材质
# 需求列表 - 制作此物品所需的内容
requirements:
- material: DIAMOND
amount: 9
# ----------------------
# 自定义命名物品
# ----------------------
# 带有自定义名称和描述的物品配方
super_diamond_block:
material: DIAMOND_BLOCK
name: "&b&l超级钻石块" # 带有颜色代码的自定义名称
lore: # 带有颜色代码的自定义描述
- "&7三重压缩"
- "&7价值是钻石的三倍"
- "" # 描述中的空行
- "&e右键点击可分解为钻石"
requirements:
- material: DIAMOND
amount: 27
# ----------------------
# 自定义物品配方
# ----------------------
# 使用 ItemEdit 自定义物品作为结果的配方
kings_sword:
custom_item: "itemedit:king_sword" # ItemEdit 物品 ID
# 或者 custom_item: "custom_item_id" # 来自本地 items.yml 或 YSKLib shareditems.yml 的自定义物品 ID(如果使用 YSKLib 共享物品)。
requirements:
- material: DIAMOND # 原版材料需求
amount: 5
- custom_item: "itemedit:king_helmet" # 自定义物品需求
amount: 1
# ----------------------
# 经济消耗配方
# ----------------------
# 带有金钱消耗的配方(需要 Vault)
expensive_sword:
material: DIAMOND_SWORD
name: "&6昂贵之剑"
lore:
- "&7价格:&6$1000"
requirements:
- material: DIAMOND
amount: 2
- money: 1000 # 金钱消耗(需要 Vault)
# ----------------------
# 积分消耗配方
# ----------------------
# 带有积分消耗的配方(需要 PlayerPoints)
special_sword:
material: GOLDEN_SWORD
name: "&e特殊之剑"
lore:
- "&7一把特殊的剑"
- "&7价格:&b100 点"
requirements:
- material: GOLD_INGOT
amount: 3
- player_points: 100 # 积分消耗(需要 PlayerPoints)
# ----------------------
# 经验等级消耗配方
# ----------------------
# 带有经验等级消耗的配方
enchanted_sword:
material: NETHERITE_SWORD
name: "&d附魔之剑"
lore:
- "&7需要 30 级经验"
requirements:
- material: NETHERITE_INGOT
amount: 2
- xp_level: 30 # 经验等级消耗
# ----------------------
# 多货币消耗配方
# ----------------------
# 带有多种货币消耗的配方
legendary_sword:
material: NETHERITE_SWORD
name: "&6传奇之剑"
lore:
- "&7一件传奇武器"
- "&7由古代魔法锻造而成"
- "&7价格:&6$1000 &7和 &b500 点"
requirements:
- material: NETHERITE_INGOT
amount: 4
- custom_item: "itemedit:magic_crystal"
amount: 2
- money: 1000 # 金钱消耗
- player_points: 500 # 积分消耗
- xp_level: 30 # 经验等级消耗
# ----------------------
# 自定义需求显示
# ----------------------
# 带有自定义需求名称显示的配方
custom_display_recipe:
material: DIAMOND_PICKAXE
name: "&b矿工镐"
requirements:
- material: DIAMOND
amount: 64
display_name: "&b纯净钻石" # 需求的自定义名称
# ----------------------
# 仅命令奖励配方
# ----------------------
# 仅运行命令的配方(不给予物品)
command_only_reward:
material: NETHER_STAR # 仅在 GUI 中显示的物品
name: "&6特殊奖励"
give_item: false # 不给予物品,仅运行命令
commands: # 合成时运行的命令(支持占位符)
# 命令为控制台命令。使用 {player} 指代合成物品的玩家。
- "give {player} diamond 5" # {player} = 玩家名称
- "eco give {player} 1000" # 经济命令
- "pp give {player} 100" # PlayerPoints 命令
requirements:
- material: GOLD_INGOT
amount: 10
# ----------------------
# 混合奖励配方
# ----------------------
# 同时给予物品并运行命令的配方
hybrid_reward:
material: DIAMOND_SWORD
name: "&c烈焰之剑"
give_item: true # 给予物品(默认为 true)
commands: # 在给予物品之外运行的命令
- "effect give {player} strength 60 1"
- "broadcast {player} has crafted a Fiery Sword!"
requirements:
- material: DIAMOND
amount: 2
- material: BLAZE_ROD
amount: 4
# ----------------------
# 权限限制配方
# ----------------------
# 需要特定权限的配方
admin_item:
material: BEDROCK
name: "&4管理员方块"
lore:
- "&7仅限管理员合成此物品"
permission: "lamcrafting.recipe.basic.admin" # 合成此配方所需的权限。如果未指定,则无需权限。
requirements:
- material: OBSIDIAN
amount: 64
示例配置
配置文件允许您自定义以下内容:
- GUI 外观和布局
- 需求显示
- 合成按钮
- 货币显示
- 消息格式
- 工作台访问权限
配方类型
您可以创建各种类型的配方:
- 基础材料配方
- 自定义命名物品
- 自定义物品配方(ItemEdit 集成)
- 经济消耗配方
- 积分消耗配方
- 经验等级消耗配方
- 多货币消耗配方
- 仅命令奖励
- 权限限制配方
命令
/lamcraft (别名: lmc)
├── help - 显示帮助菜单
├── station - 打开工作台 GUI
│ ├── <name> - 打开特定工作台
│ ├── <name> <player> - 为他人打开
│ └── <name> <player> -f - 强制打开
├── reload - 重新加载配置
└── items - 管理自定义物品
权限
lamcrafting.use - 基本使用
lamcrafting.admin - 管理员命令
lamcrafting.items - 物品管理
lamcrafting.station - GUI 访问
lamcrafting.station.<station_id> - 工作台访问
lamcrafting.recipe.<station>.<recipe> - 配方访问
支持
如果您需要插件的帮助:
LamCrafting Plugin - © 2025 YusakiDev. All Rights Reserved.
使用条款:
1. 您可以在任何 Minecraft 服务器上下载并使用此插件。
2. 您不得反编译、修改或重新分发此插件。
3. 您不得出售或商业化此插件。
本插件按“原样”提供,不提供任何形式的担保。
LamCrafting: Advanced Custom Crafting System
Key Features Overview

LamCrafting is a feature-rich custom crafting system for Minecraft servers with:
- Multiple crafting stations with customizable GUIs
- Custom recipes with various requirement types
- Economy integration (money, points, XP)
- Permission-based access control
- Full configurability
- Complete Folia support (important for highly optimized servers)
How It Works
The plugin allows server administrators to create customized crafting stations where players can craft unique items by providing specific resources, currency, or experience levels. Each station can have its own set of recipes with unique requirements.
Core Functionality
- Crafting Stations: Create different stations for specialized crafting (e.g., blacksmith, enchanter, alchemist)
- Custom Recipes: Define what players can craft at each station
- Multiple Requirement Types:
- Regular items
- Custom items (via ItemEdit)
- Money (via Vault)
- Points (via PlayerPoints)
- Experience levels
- Permission Control: Restrict access to stations and recipes
- Command Integration: Run commands when items are crafted
Technical Requirements
Dependencies
Configuration
The plugin is highly configurable with:
- Main Config: Control debug levels, GUI layouts, and messages
Spoiler
# ======================================================
# LAMCRAFTING CONFIGURATION
# ======================================================
# Debug level (0-3)
# 0 = Critical errors only
# 1 = Warnings and errors
# 2 = Info messages
# 3 = Debug messages
debug: 3
# ======================================================
# GUI CONFIGURATION
# ======================================================
gui:
# ----------------------
# CRAFTING GUI SETTINGS
# ----------------------
crafting:
# Whether to show currency requirements in separate slots
# true = currency shown in X slots
# false = currency shown with other requirements
separate_currency_requirements: true
# GUI layout pattern
# Each character represents a slot type:
# # = Border item
# O = Output item (recipe result)
# X = Currency requirements
# R = Item requirements
# C = Craft button
# B = Back button
pattern:
- "########B" # Must be exactly 9 characters per row
- "# O #" # O = Output slot (recipe result)
- "##X#X#X##" # X = Currency requirement slots
- "#RRRRRRR#" # R = Item requirement slots
- "#RRRRRRR#"
- "####C####" # C = Craft button
# Item definitions for each slot type
items:
'#': # Border item
material: GRAY_STAINED_GLASS_PANE
name: " " # Empty name (just a space)
'O': # Output slot
material: AIR # Will be replaced with recipe result
'R': # Requirement slots
material: AIR # Will be replaced with requirements
'X': # Currency slots
material: AIR # Will be replaced with currency
'C': # Craft button
material: ANVIL
name: "&aClick to Craft!"
lore:
- "&7Click to craft if you have"
- "&7the required materials!"
'B': # Back button
material: BARRIER
name: "&cBack to Recipes"
# Suffix added to station title when in crafting GUI
title_suffix: " - Crafting"
# Currency display settings
currency:
# Money currency (requires Vault)
money:
material: GOLD_INGOT # Icon for money requirements
name: "&6Money Requirement"
symbol: "$" # Currency symbol
has_enough: "&a" # Color when player has enough
not_enough: "&c" # Color when player doesn't have enough
lore:
- "&7Required: {has_enough}{symbol}{balance}&7/&e{symbol}{amount}"
# Points currency (requires PlayerPoints)
points:
material: DIAMOND
name: "&aPlayer Points Requirement"
symbol: ""
has_enough: "&a"
not_enough: "&c"
lore:
- "&7Required: {has_enough}{balance}&7/&e{amount} points"
# XP level currency
xp_level:
material: EXPERIENCE_BOTTLE
name: "&eExperience Level Requirement"
symbol: ""
has_enough: "&a"
not_enough: "&c"
lore:
- "&7Required: {has_enough}{balance}&7/&e{amount} levels"
# Item requirement display format
requirement_display:
format: "&7Required: {has_enough}{current} &7/ &f{amount}"
has_enough: "&a" # Color when player has enough
not_enough: "&c" # Color when player doesn't have enough
# ----------------------
# RECIPE BROWSE GUI SETTINGS
# ----------------------
browse:
# GUI layout pattern
# # = Border item
# R = Recipe slots
# P = Previous page button
# N = Next page button
pattern:
- "#########" # Must be exactly 9 characters per row
- "#RRRRRRR#" # R = Recipe slots
- "#RRRRRRR#"
- "#RRRRRRR#"
- "#P#####N#" # P = Previous page, N = Next page
# Item definitions for each slot type
items:
'#': # Border item
material: LIGHT_BLUE_STAINED_GLASS_PANE
name: " "
'R': # Recipe slots
material: AIR # Will be replaced with recipes
'P': # Previous page button
material: ARROW
name: "&ePrevious Page"
'N': # Next page button
material: ARROW
name: "&eNext Page"
# Suffix added to station title when in browse GUI
title_suffix: " - Recipes"
# ----------------------
# LOCKED RECIPE SETTINGS
# ----------------------
# Display for recipes the player doesn't have permission to craft
locked_recipe:
material: RED_STAINED_GLASS_PANE
name: "&c&lLocked Recipe: &7{original_name}"
lore:
- "&7This recipe is locked!"
- "&7You need permission:"
- "&8{permission}"
# ----------------------
# STATION SELECTION GUI SETTINGS
# ----------------------
stations:
# Whether the station selection GUI is enabled
enabled: true
# Title of the station selection GUI
title: "&8Crafting Stations"
# GUI layout pattern
# # = Border item
# S = Station slots
pattern:
- "#########"
- "#SSS SSS#" # S = Station slots
- "#SSS SSS#"
- "#########"
# Item definitions for each slot type
items:
'#': # Border item
material: BLACK_STAINED_GLASS_PANE
name: " "
'S': # Station slots
material: AIR # Will be replaced with station icons
# ======================================================
# MESSAGE CONFIGURATION
# ======================================================
# All plugin messages (supports color codes with &)
messages:
# Prefix for all plugin messages
prefix: "&8[&6LamCrafting&8] "
# General messages
no_recipes: "&cNo recipes available!"
no_permission: "&cYou don't have permission to do that!"
too_many_requirements: "&cError: Recipe has too many requirements ({count}) for available slots ({slots})"
# Crafting messages
missing_items: "&cThis recipe cannot be crafted due to missing items!"
missing_materials: "&cYou don't have the required materials or currency!"
craft_success: "&aSuccessfully crafted the item!"
reload_close: "&cThe crafting menu was closed due to a recipe reload."
# Station messages
no_station_permission: "&cYou don't have permission to use this station!"
station_not_found: "&cStation not found!"
station_disabled: "&cThis station is currently disabled!"
station_gui_disabled: "&cStation GUI is disabled!"
# Admin command messages
player_not_found: "&cPlayer not found!"
no_admin_permission: "&cYou don't have permission to open stations for other players!"
console_specify_player: "&cConsole must specify a player name!"
station_opened: "&aOpened station &e{station} &afor &e{player}{force}"
force_suffix: " &7(Forced)"
- Station Configs: Define each crafting station's appearance, permissions, and recipes
Spoiler
# ======================================================
# BASIC CRAFTING STATION CONFIGURATION
# ======================================================
# Title shown at the top of the station's GUI (supports color codes)
gui_title: "&8Basic Crafting"
# Permission required to access this station
# If not specified, no permission is required.
permission: "lamcrafting.station.basic"
# Whether this station is enabled and accessible
enabled: true
# Sorting weight in the station selection GUI
# Higher numbers appear first in the list
GUI-weight: 10
# Icon shown in the station selection GUI
# Can be a vanilla material or ItemEdit item (itemedit:item_id)
GUI-icon: CRAFTING_TABLE
# Whether to hide this station in the station selection GUI
# Set to true to make it accessible only via direct command
GUI-hidden: false
# ======================================================
# RECIPES
# ======================================================
recipes:
# ----------------------
# BASIC MATERIAL RECIPE
# ----------------------
# Simple recipe with vanilla materials
diamond_block:
material: DIAMOND_BLOCK # Result item material
# Requirements list - what's needed to craft this item
requirements:
- material: DIAMOND
amount: 9
# ----------------------
# CUSTOM NAMED ITEM
# ----------------------
# Recipe with custom name and lore
super_diamond_block:
material: DIAMOND_BLOCK
name: "&b&lSuper Diamond Block" # Custom name with color codes
lore: # Custom lore with color codes
- "&7Triple compressed"
- "&7Worth triple the diamonds"
- "" # Empty line in lore
- "&eRight-click to break into diamonds"
requirements:
- material: DIAMOND
amount: 27
# ----------------------
# CUSTOM ITEM RECIPE
# ----------------------
# Recipe using ItemEdit custom item as result
kings_sword:
custom_item: "itemedit:king_sword" # ItemEdit item ID
# or custom_item: "custom_item_id" # Custom item ID from local items.yml or ysklib/shareditems.yml if using YSKLib shared items.
requirements:
- material: DIAMOND # Vanilla material requirement
amount: 5
- custom_item: "itemedit:king_helmet" # Custom item requirement
amount: 1
# ----------------------
# ECONOMY COST RECIPE
# ----------------------
# Recipe with money cost (requires Vault)
expensive_sword:
material: DIAMOND_SWORD
name: "&6Expensive Sword"
lore:
- "&7Costs: &6$1000"
requirements:
- material: DIAMOND
amount: 2
- money: 1000 # Money cost (requires Vault)
# ----------------------
# POINTS COST RECIPE
# ----------------------
# Recipe with points cost (requires PlayerPoints)
special_sword:
material: GOLDEN_SWORD
name: "&eSpecial Sword"
lore:
- "&7A special sword"
- "&7Costs: &b100 points"
requirements:
- material: GOLD_INGOT
amount: 3
- player_points: 100 # Points cost (requires PlayerPoints)
# ----------------------
# XP LEVEL COST RECIPE
# ----------------------
# Recipe with experience level cost
enchanted_sword:
material: NETHERITE_SWORD
name: "&dEnchanted Sword"
lore:
- "&7Requires 30 levels of experience"
requirements:
- material: NETHERITE_INGOT
amount: 2
- xp_level: 30 # Experience level cost
# ----------------------
# MULTI-CURRENCY RECIPE
# ----------------------
# Recipe with multiple currency costs
legendary_sword:
material: NETHERITE_SWORD
name: "&6Legendary Sword"
lore:
- "&7A legendary weapon"
- "&7forged with ancient magic"
- "&7Costs: &6$1000 &7and &b500 points"
requirements:
- material: NETHERITE_INGOT
amount: 4
- custom_item: "itemedit:magic_crystal"
amount: 2
- money: 1000 # Money cost
- player_points: 500 # Points cost
- xp_level: 30 # XP level cost
# ----------------------
# CUSTOM REQUIREMENT DISPLAY
# ----------------------
# Recipe with custom display name for requirement
custom_display_recipe:
material: DIAMOND_PICKAXE
name: "&bMiner's Pickaxe"
requirements:
- material: DIAMOND
amount: 64
display_name: "&bPure Diamonds" # Custom name for requirement
# ----------------------
# COMMAND-ONLY RECIPE
# ----------------------
# Recipe that only runs commands (no item given)
command_only_reward:
material: NETHER_STAR # Display item in GUI only
name: "&6Special Reward"
give_item: false # Don't give the item, only run commands
commands: # Commands to run when crafted (supports placeholders)
# Commands are Console Commands. Use {player} to refer to the player crafting the item.
- "give {player} diamond 5" # {player} = player's name
- "eco give {player} 1000" # Economy command
- "pp give {player} 100" # PlayerPoints command
requirements:
- material: GOLD_INGOT
amount: 10
# ----------------------
# HYBRID RECIPE
# ----------------------
# Recipe that gives both item and runs commands
hybrid_reward:
material: DIAMOND_SWORD
name: "&cFiery Sword"
give_item: true # Give the item (default is true)
commands: # Commands run in addition to giving the item
- "effect give {player} strength 60 1"
- "broadcast {player} has crafted a Fiery Sword!"
requirements:
- material: DIAMOND
amount: 2
- material: BLAZE_ROD
amount: 4
# ----------------------
# PERMISSION-RESTRICTED RECIPE
# ----------------------
# Recipe that requires a specific permission
admin_item:
material: BEDROCK
name: "&4Admin Block"
lore:
- "&7Only admins can craft this"
permission: "lamcrafting.recipe.basic.admin" # Permission required to craft this recipe. If not specified, no permission is required.
requirements:
- material: OBSIDIAN
amount: 64
Sample Configuration
The configuration allows you to customize:
- GUI appearance and layout
- Requirements display
- Crafting buttons
- Currency display
- Message formatting
- Station access permissions
Recipe Types
You can create various recipe types:
- Basic material recipes
- Custom named items
- Custom item recipes (ItemEdit integration)
- Economy cost recipes
- Points cost recipes
- XP level cost recipes
- Multi-currency recipes
- Command-only rewards
- Permission-restricted recipes
Commands
/lamcraft (aliases: lmc)
├── help - Shows help menu
├── station - Opens station GUI
│ ├── <name> - Opens specific station
│ ├── <name> <player> - Opens for others
│ └── <name> <player> -f - Force opens
├── reload - Reloads config
└── items - Manages custom items
Permissions
lamcrafting.use - Basic usage
lamcrafting.admin - Admin commands
lamcrafting.items - Item management
lamcrafting.station - GUI access
lamcrafting.station.<station_id> - Station access
lamcrafting.recipe.<station>.<recipe> - Recipe access
Support
If you need help with the plugin:
- Join the YusakiDev Discord:
LamCrafting Plugin - © 2025 YusakiDev. All Rights Reserved.
USAGE TERMS:
1. You may download and use this plugin on any Minecraft server.
2. You may NOT decompile, modify, or redistribute this plugin.
3. You may NOT sell or monetize this plugin.
This plugin is provided "as is" without warranty of any kind.
评论 0
登录后参与评分
还没有评论,来抢沙发吧