Configuration Guide
Complete reference for plugins/LumenSmith/config.yml.
Global Settings
update_checker: true
cooldown_storage: file
| Key | Type | Default | Description |
|---|---|---|---|
update_checker |
boolean | true |
Check for new versions on startup |
cooldown_storage |
string | "file" |
"file" = persistent across restarts, "session" = memory-only (resets on restart) |
World Filter
Control which worlds LumenSmith's rules apply in.
world_filter:
whitelistworldoff: true
worlds:
- world
- world_nether
- world_the_end
| Key | Type | Default | Description |
|---|---|---|---|
whitelistworldoff |
boolean | true |
true = features active in ALL worlds. false = only in listed worlds. |
worlds |
list | — | World names where rules apply (only used when whitelistworldoff: false) |
Most servers should keep
whitelistworldoff: true to apply rules everywhere. Only change this if you need per-world control.
Blocked Outputs
Any material listed under remove_by_output will be completely uncraftable.
The recipe book shows no output, clicks are blocked, and ingredients are not consumed.
remove_by_output:
- TNT
- TNT_MINECART
# - ENDER_CHEST
# - TRIDENT
Material names use Bukkit's Material enum. See the Spigot JavaDocs for a complete list.
Deny Message
Shown when a player tries to craft a blocked output. Supports color codes and the %item% placeholder.
deny_message: '&cCrafting of &e%item% &cis disabled on this server.'
Custom Recipes
Each recipe is an entry under the custom_recipes list. Here are all available fields:
Required Fields
| Field | Type | Description |
|---|---|---|
key | string | Unique recipe ID (letters, numbers, underscores only) |
type | string | Recipe type (see Recipe Types) |
result | object | The output item (see below) |
Result Object
| Field | Type | Default | Description |
|---|---|---|---|
item | string | — | Material name (required) |
amount | int | 1 | Output amount (1–64) |
name | string | — | Custom display name (supports & color codes) |
lore | list | — | Lore lines (supports & color codes) |
enchantments | list | — | Enchantments in "NAME:LEVEL" format |
custom_model_data | int | — | Custom model data for resource packs |
Optional Fields
| Field | Type | Default | Description |
|---|---|---|---|
auto_unlock_on | list | — | Materials that trigger recipe book unlock |
replace_existing | boolean | true | Replace conflicting vanilla recipes |
permission | string | — | Permission required to craft |
permission_deny_message | string | — | Message shown when permission is missing |
cooldown | int | — | Seconds between crafts (per-player) |
max_crafts | int | — | Lifetime craft limit (per-player) |
cooldown_message | string | — | Message on cooldown (%remaining% placeholder) |
max_crafts_message | string | — | Message when limit is reached |
Effects (Optional)
Play a sound and/or particle effect when the recipe is successfully crafted.
effects:
sound: "ENTITY_PLAYER_LEVELUP"
sound_volume: 1.0
sound_pitch: 1.2
particle: "ENCHANT"
particle_count: 50
| Field | Type | Description |
|---|---|---|
sound | string | Bukkit Sound enum name |
sound_volume | float | Volume (0.0 – 1.0) |
sound_pitch | float | Pitch (0.5 – 2.0) |
particle | string | Bukkit Particle enum name |
particle_count | int | Number of particles |
Full Example Config
update_checker: true
cooldown_storage: file
world_filter:
whitelistworldoff: true
worlds:
- world
remove_by_output:
- TNT
- TNT_MINECART
custom_recipes:
- key: "excalibur"
type: "shaped"
shape: [" D ", " D ", " S "]
ingredients:
D: "DIAMOND"
S: "STICK"
result:
item: "DIAMOND_SWORD"
amount: 1
name: "&6Excalibur"
lore:
- "&7A blade of legend"
- "&5+10 Attack Damage"
enchantments:
- "SHARPNESS:5"
- "UNBREAKING:3"
- "FIRE_ASPECT:2"
custom_model_data: 1001
permission: "lumensmith.craft.excalibur"
permission_deny_message: "&cYou need VIP rank to forge Excalibur!"
cooldown: 3600
max_crafts: 3
cooldown_message: "&cExcalibur needs &e%remaining%s &cto recharge."
max_crafts_message: "&cYou have forged all the Excaliburs fate allows."
effects:
sound: "ENTITY_PLAYER_LEVELUP"
sound_volume: 1.0
sound_pitch: 1.2
particle: "ENCHANT"
particle_count: 50
auto_unlock_on: ["DIAMOND"]
deny_message: '&cCrafting of &e%item% &cis disabled on this server.'
LumenSmith