DUXPLIMA Documentation

Overview

The six window files, who opens them, tiles and the tokens every window knows.

WindowFileOpened byRows
Wikimenus/wiki.conf/enchants6
Grouped wikimenus/grouped.conf/enchants groups, the bookshelf6
Enchantment pagemenus/info.conf/enchants info <enchantment>, a click on a tile3
Editormenus/editor.conf/uxmenchants editor6
Editor listsmenus/editor-list.confA list button of the editor6
Property editormenus/editor-enchant.confA click on an enchantment in the editor6

The wiki and the grouped wiki share one shape: panes around the list, the arrows at 48 and 50, a button at 49 and close at 53. A Bedrock player through Floodgate gets a native form drawn from the same file.

Tiles

A tooltip is drawn in six blocks: the title, the category under it, the description, the facts, and the line that says what a click does. It is written as a blank name and one lore line:

name = " "
lore = ["tile:5 @menu.wiki.entry type maximum targets conflicts"]

The word after tile: is the colour of the title: a gradient of theme.conf, a role, or a place on the colour wheel as a number. The key names a block of the messages file, and every word after it names one fact of that block, in the order drawn. Take a word off the line and the tooltip draws one fact fewer.

Tokens

TokenValue
%enchant_id%The id
%enchant_name%, %enchant_description%In the reader's language
%enchant_rarity%, %enchant_type%In the reader's language
%enchant_maximum%The highest level
%enchant_targets%What it goes on
%enchant_conflicts%, %enchant_requires%, %enchant_removes%The three combine lists
%enchant_table%, %enchant_villager%, %enchant_loot%, %enchant_anvil%yes or no for each route

Every window is a file; see Menu files. The sounds of every window are menu.sounds in config.conf. A window whose file is deleted is forgotten, and the command that opens it says menu.missing; the next start writes the shipped file back.

Related: Menu files