Using it

Add your own cosmetic

  1. Open any file in plugins/mcCosmetics/cosmetics/ (or create a new .yml there, sub-folders work too) and copy one cosmetic block.
  2. Paste it under cosmetics: and change the id (the key: lowercase letters, numbers and _), plus the name, rarity and price.
  3. Run /cosmetics reload. It appears in the menu.
cosmetics:
  my_ember_trail:
    type: TRAIL
    name: "<gradient:#ff8a00:#ff2d55>My Ember Trail</gradient>"
    description: ["Glowing embers follow every step."]
    rarity: rare
    icon: BLAZE_POWDER
    price: 4000
    rental: { price: 700, duration: 7d }
    particle:
      shape: STEP
      type: flame
      count: 2
      spread: 0.12

Mistakes are reported in the console with the file and the cosmetic's name, and only that cosmetic is skipped. The comments at the top of each shipped file explain every key.

Keys every cosmetic understands#

KeyMeaning
typeTRAIL, AURA, HAT, WINGS, BACKPACK, PET, KILL_EFFECT or JOIN_EFFECT
nameDisplay name (MiniMessage, gradients work)
descriptionList of lines shown in the menu
rarityA tier id from config.yml
icon, icon-model-data, icon-textureThe menu item, with an optional custom model data number or base64 head texture
enabledfalse hides it everywhere without deleting it
freetrue = everyone owns it
permissionAn extra permission that unlocks it
price, currencyBuy price and vault or hypercredits
rental{ price, duration }
hintText shown when it cannot be bought