migrator

DialogMaster includes automated two-way conversion tools:

  1. Import Migrator (/ydm migrate): Convert legacy chest-based GUI menus (DeluxeMenus and TrMenu) into native DialogMaster dialog menus.
  2. Export Converter (/ydm export): Convert native DialogMaster dialog menus into standard DeluxeMenus chest inventory .yml files.

1. Import Commands (DeluxeMenus / TrMenu → DialogMaster)

/ydm migrate <deluxemenus|trmenu> [source_folder]

Examples

  • /ydm migrate deluxemenus: Scans plugins/DeluxeMenus/gui_menus/ and converts all .yml menus.
  • /ydm migrate trmenu: Scans plugins/TrMenu/menus/ and converts all .yml menus.
  • /ydm migrate deluxemenus custom_menus/: Scans a custom folder relative to the server root.

2. Export Commands (DialogMaster → DeluxeMenus)

/ydm export <deluxemenus|dm> [menu_id|all] [target_folder]

Examples

  • /ydm export deluxemenus all: Exports all menus to plugins/DialogMaster/exported/deluxemenus/.
  • /ydm export deluxemenus main-menu: Exports only main-menu.yml.
  • /ydm export deluxemenus all plugins/DeluxeMenus/gui_menus/: Writes converted DeluxeMenus files directly into the DeluxeMenus folder.

3. What Gets Exported

  • Adaptive Chest Sizing: Calculates minimal 9-to-54 chest inventory size based on button count.
  • Layout Mapping Across All Menu Types:
    • multiAction: Places body content on an Info Book (slot: 0) and action buttons in sequential slots.
    • confirmation: 9-slot chest with Slot 0 prompt book, Slot 1 Lime Concrete Confirm button, Slot 2 Red Concrete Cancel button.
    • notice: 9-slot chest with Slot 0 Notice info book and Slot 1 Emerald OK button.
    • serverlinks: Generates compact slot items with [openurl] commands.
  • Item Materials & Models:
    • Extracts materials from <item:material>
    • CustomModelData <item:material#10005> → material: MATERIAL, model_data: 10005
    • Paper Item Models <item:minecraft:item[item_model=pack:model]> → material: ITEM, item_model: 'pack:model'
    • ItemsAdder <ia:ruby_sword> → material: "itemsadder:ruby_sword"
    • Oraxen <ox:elven_bow> → material: "oraxen:elven_bow"
    • Player heads <head:%player_name%> → material: head-%player_name%
  • Color Translation: Converts modern MiniMessage tags (<green>, <bold>, <#55ff55>) to DeluxeMenus color codes (&a, &l, &#55ff55;).
  • Action Translation: Translates player:, console:, open-menu:, message:, broadcast:, actionbar:, title:, sound:, suggest:, delay:, close, and inlines Action Packages (package:).
  • Requirements: Translates permission:, !permission:, and has-money: checks to DeluxeMenus view_requirement / click_requirement.
Not an official Minecraft product. Not approved by or associated with Mojang Studios or Microsoft.
Type a query to search documentation...
Link copied to clipboard!