DUXPLIMA Documentation

Configuration

Every file the plugin writes, reloading, and what an update does to your files.

PageWhat it holds
config.confLanguage, storage, item data, limit, routes, drag and drop, anvil, grindstone, worlds, books, display, charges, cooldowns, the treaty, effect materials, claims, editor, menu sounds
Enchantment filesenchantments/<id>.conf, one per enchantment
rarities.confThe chance on each route and the table level
types.confThe format, the per item limit, the grindstone rule
targets.confExtra enchantable items, named sets, targets and slots
vanilla.confVanilla enchantments in your own words
commands.confThe name, aliases and switch of every command
Menu filesThe six windows
Messagesmessages/messages_<language>.conf
LanguagesThe seven languages and how a player's language is chosen
theme.confThe colours, glyphs and small capitals every UXM plugin shares

Every file is HOCON: key = value, blocks in braces, # comments.

Reloading

/uxmenchants reload reads config.conf, every content file, the messages, the theme and the three player windows again, and redraws every player's items. The content is validated whole first; a wrong file refuses the reload and names the file, the key and the line. storage, editor.enabled and commands.conf need a restart.

What an update does

When a release adds a key, the next start adds it to your config.conf with the comment that explains it, and it never changes a value you wrote. Your file as it was is kept in backups/; the last five copies are kept. Alignment inside a block may move, and a key you deleted comes back. The other files are written only when missing.

Related: config.conf

Configuration · UXPLIMA Documentation · uxwDocs