DUXPLIMA Documentation

config.conf

Every block and key of config.conf, with its default and what it does.

language

KeyDefaultMeaning
default"en"The language every message falls back to
follow-clienttrueUse the player's client language when there is a file for it
force""One language for the whole server; empty for none

storage

KeyDefaultMeaning
type"sqlite"sqlite, mysql, mariadb or postgresql
file"data.db"The SQLite file, inside data/
host, port, database, username, passwordlocalhost, 0, minecraft, minecraft, ""The database server; port 0 is the default (3306 or 5432)
table-prefix"uxmenchants_"Before every table name
pool-size4Connections; SQLite uses one
sync-seconds2How often a server reads what others changed for its players (the description toggle); 0 is off
local-onlyfalseThis one server keeps its rows on the SQLite file
copy-from-filefalseCopy the SQLite rows into an empty network database on the next start

See Database. A change needs a restart.

item

KeyDefaultMeaning
namespace"uxmenchants"The namespace of the key we write under
key"enchantments"The container every enchantment on an item is written inside
glinttrueWhether an item with ours shimmers
book-material"ENCHANTED_BOOK"What a book is made of

Change the namespace or the key and every item already enchanted stops being read: change them once, before the server opens, or not at all.

limit

KeyDefaultMeaning
base3How many of ours one item may carry
node-prefix"uxmenchants.limit."The node that raises it: uxmenchants.limit.6
maximum-from-node32The highest number a node may grant

See Applying.

acquisition

table, villager, loot, fishing, mob-drops and raids each take enabled, cap and reduction; anvil takes enabled only.

Routeenabledcapreduction
tabletrue23.0
villagertrue12.0
loottrue22.5
anviltrue
fishingfalse12.5
mob-dropsfalse12.5
raidsfalse22.0

See Acquisition.

drag-and-drop

KeyDefaultMeaning
enabledfalseA left click with a book applies it
cost5Experience levels per application
per-leveltrueTimes the book's level

anvil

KeyDefaultMeaning
enabledtrueThe anvil applies ours at all
vanilla-costsfalseKeep the server's own arithmetic
base-cost1Levels for the first of ours
cost-exponent1.1What each further one multiplies by
overpoweringfalseTwo at the maximum may go one past it, up to overpower-max

See Anvil and books.

grindstone

enabled (true): whether ours come off at all. Which ones is the type's rule.

worlds

mode ("blacklist" or "whitelist") and list ([]). See Protection.

books

KeyDefaultMeaning
name-format"<accent><name> <roman>"The name; <name>, <roman>, <number>
lore["", "@book.hint"]Under the description; @key is a line of messages/
glowtrueWhether the book shimmers

display

KeyDefault
enabledtrue
description-threshold4
wrap-width38
descriptions-on-by-defaulttrue
description-format"<subtext><line>"
not-met-format"<dim><st><name> <roman></st>"
collapse.threshold, per-line, delimiter6, 3, ", "
order["type", "rarity", "name"]

See Display.

charges

KeyDefault
enabledfalse
maximum500
consume1
recharge50
fuel-material"GLOWSTONE_DUST"
bands50 good, 20 level, 0 bad

See Charges and cooldowns.

cooldowns

persist (false): keep cooldowns in the database across a restart.

block-break-treaty

enabled (true) and metadata-key ("blockbreakevent-ignore"). See Protection.

effects

materials.whitelist ([]) and materials.blacklist (BEDROCK, BARRIER, END_PORTAL_FRAME, SPAWNER, REINFORCED_DEEPSLATE).

claims

combine ("any-land" or "all-land") and providers, nineteen switches all true: worldguard, griefprevention, lands, towny, factions, residence, plotsquared, huskclaims, husktowns, kingdoms, bentobox, superiorskyblock, griefdefender, simpleclaimsystem, excellentclaims, homestead, rclaim, xclaim, uxmclaims.

editor

enabled (true). Off: no editor windows, no input listener, and the command says so. Needs a restart.

menu.sounds: click (block.note_block.pling 0.6 1.5), page (item.book.page_turn 0.7 1.0) and denied (block.note_block.bass 0.6 0.9), each name, volume, pitch. An empty name silences one. A button whose own actions play a sound plays that sound alone.

Related: Configuration