DUXPLIMA Documentation

Category files

Every key a piece takes in categories/<family>.conf, common and by kind.

One file per family under categories/, each holding a cosmetics = [ ... ] list. Every piece is data: add one, reload, and it is in the menu. The comments at the top of each file list its keys.

Every piece

KeyMeaning
idLower case letters, digits, hyphen and underscore. Stored in the database and part of the node: never change it once players own it
nameWhat a player reads, when the messages files have no cosmetic.<family>.<id>.name
descriptionOne sentence under the name; without one, the family's shared sentence
raritycommon, uncommon, rare, epic or legendary
priceWhat a purchase costs; 0 is not for sale
permissionThe node; default uxmcosmetics.<family>.<id>
iconThe menu item: a material, or a block with material, color, custom-model-data and skull-texture

Particle families

Trails, halos and cloaks.

KeyMeaning
particle{ type, color-from, color-to, size, count, spread, speed }. color-from = "rainbow" walks the hue circle
patternTRAIL, HALO, CLOAK, WINGS, ORBIT or HELIX
radiusHow wide
pointsHow many points or rows
heightAbove the feet
period-msHow often a frame is drawn, rounded up to whole animation ticks

Entity families

Pets, balloons, mounts and morphs.

KeyMeaning
entityAn entity type: WOLF, CREEPER, SKELETON_HORSE; for a balloon ITEM_DISPLAY or BLOCK_DISPLAY
attachmentFOLLOW, FLOAT, RIDE or DISGUISE; the family's own by default
offset{ side, up, back } in blocks from the player
babySpawn the small form
glowingAn outline everyone sees
item, scale, leadA balloon's block, its size, and whether the lead is drawn
dressA mount's color, style, armor and rainbow
auraA particle drawn at a mount every frame

Worn families

Hats, suits and banners.

KeyMeaning
itemThe head item: a material, or a block with material, color, custom-model-data, skull-texture, and for a banner patterns
piecesSeveral slots: head, chest, legs, feet, off-hand, each a material or an item block

color is #rrggbb on leather, or "rainbow". A banner's patterns is a list of { pattern, color }.

Burst families

Emotes and gadgets.

KeyMeaning
steps{ particle {...}, figure, radius, height, delay-ms }; figure is POINT, RING, SPHERE or CONE
sound, volume, pitchThe sound
cooldown-msThe wait between two uses
bubbleAn emote's face: { item, ms, height }
itemA gadget's hotbar item
actionA gadget's behaviour; keep the one a shipped gadget names
pushA gadget's throw: { forward, up } in blocks per tick

Names per language

A shipped piece's name and sentence are in every messages file under cosmetic.<family>.<id>.name and .description. A piece you add reads them from its entry until you add those lines.

Related: Catalogue, Particles, Followers