extractor settings - magemonkeystudio/divinity GitHub Wiki
⚙️ Extractor Settings
This page documents settings.yml
for the Extractor module. It controls extraction pricing, GUI layout, formatting, and success/failure feedback.
📁 File Location
plugins/Divinity/modules/extractor/settings.yml
🔧 Command Aliases
command-aliases: extractor
Adds /extractor
as an alias to open the extractor interface.
💰 Extraction Price
Set the cost for extracting specific socket types based on tier:
extraction:
price:
GEM:
common: 75.0 * %socket_level%
rare: 125.0 * %socket_level%
RUNE:
default: '100'
ESSENCE:
default: '100'
- You can use static values or math expressions with
%socket_level%
- Each socket type (
GEM
,RUNE
,ESSENCE
) has its own pricing rules
✅ Success & ❌ Failure Feedback
Define visual/audio feedback for extraction outcomes:
actions-complete:
default:
action-executors:
- '[SOUND] ~name: BLOCK_NOTE_BLOCK_BELL; ~target: self;'
actions-error:
default:
action-executors:
- '[SOUND] ~name: ENTITY_VILLAGER_NO; ~target: self;'
🏷 Item Format
Defines the appearance of extractor tools:
item-format:
name: '%TIER_COLOR%%ITEM_NAME% %ITEM_LEVEL_ROMAN%'
lore:
- '&8&m &f 「 INFO 〠&8&m '
- '&7Tier: %TIER_NAME%'
- '%ITEM_CHARGES%'
- '%ITEM_LORE%'
- '&8&m &f 「 REQUIREMENTS 〠&8&m '
- '%TARGET_LEVEL%'
- '%TARGET_TYPE%'
- '%TARGET_MODULE%'
- '%TARGET_TIER%'
- '&8&m &f 「 USAGE 〠&8&m '
- '&7Drag & Drop onto item to start extracting.'
Variables like %TIER_NAME%
, %ITEM_CHARGES%
, etc., are auto-filled.
🖼 GUI Configuration
gui:
title: ' &4« &lExtraction &r&4»'
size: 54
item-slot: 2
source-slot: 4
result-slot: 6
🎯 Socket Slot Setup
socket-slots: 45,46,47,48,49,50,51,52,53
socket-name: '&eExtract: &c%name%'
socket-lore:
- '&7Socket: &e%socket%'
- '&7Cost: &e%cost%$'
- '&7You have: &e%have%$'
- '&8&m '
- '&eLeft-Click: &6Result preview'
- '&eRight-Click: &cExtract'
🔘 Socket Type Buttons
socket-types:
gems:
material: EMERALD
name: '&aExtract Gems'
slots: '28'
type: GEM
runes:
material: PRISMARINE_SHARD
name: '&bExtract Runes'
slots: '31'
type: RUNE
essences:
material: REDSTONE
name: '&cExtract Essences'
slots: '34'
type: ESSENCE
🎨 GUI Content Layout
content:
filler_black:
material: BLACK_STAINED_GLASS_PANE
slots: [most unused space]
type: NONE
filler_yellow:
material: YELLOW_STAINED_GLASS_PANE
slots: 3,5
type: NONE
filler_orange:
material: ORANGE_STAINED_GLASS_PANE
slots: 10,11,12,13,14,15,16,19,22,25
type: NONE
These elements control visual presentation and clickable filler areas.