Skip to content

Getting Started

This page installs BoxCosmetics and makes your first cosmetic. To start, you need only Paper and PacketEvents.

Requirements

Plugin Required For
Paper 1.21.3 to 26.3, Java 21+ Yes The server
PacketEvents 2.7.0+ Yes Showing cosmetics to players (free)
ModelEngine R4.1.0+ Optional Models on players
ItemsAdder, Nexo, Oraxen, CraftEngine or MythicCrucible Optional Custom items as cosmetics. Menu icons do not need them
MythicMobs Optional Skills a cosmetic casts
PlaceholderAPI Optional Placeholders for your own menus and scoreboards, and placeholders in menu titles
BoxStand Optional Stands wearing cosmetics

Without ModelEngine, a model cosmetic shows its item instead.

Install

  1. Stop the server. Put BoxCosmetics-x.y.z.jar and PacketEvents in plugins/. For models, put ModelEngine there too.
  2. For custom icons: copy the download's BoxCosmetics folder into plugins/, and let it replace any menus files. Then add the pack as this table says:

    Your server Put BoxCosmetics Resource Pack.zip Then run
    Nexo The zip in plugins/Nexo/pack/external_packs/ /nexo reload all
    ItemsAdder Its contents in plugins/ItemsAdder/contents/boxcosmetics/resourcepack/ /iazip
    Oraxen Its assets in plugins/Oraxen/pack/ /oraxen reload all
    CraftEngine Its contents in plugins/CraftEngine/resources/boxcosmetics/resourcepack/ /ce resource create boxcosmetics first, then /ce reload all
    MythicCrucible, if it sends your pack Its assets in plugins/MythicMobs/Generation/merge/ /mm reload, then /mm items generate
    No item plugin As resource-pack in server.properties, or its assets in your pack Nothing
  3. Start the server, then run the command in the table's Then run column.

  4. For models: send plugins/ModelEngine/resource pack.zip to players in your pack, because ModelEngine does not send it.

  5. If you do not want custom icons, skip step 2. The menus then use vanilla items.

  6. For every row except Nexo, extract the zip first.

Your first cosmetic

The cosmetics menu

Try the menu first, with any item you have:

  1. As an op, or with boxcosmetics.balloon, run /bc (or /boxcosmetics).
  2. Hold any item on your cursor, and click the Balloon slot with it.
  3. Click the slot with an empty cursor to take the item back.

Items that are not cosmetics need a slot permission, which ops have.

A cosmetic item

A cosmetic is an item with its own rules, written in a file in plugins/BoxCosmetics/cosmetics/. Make a file there called hats.yml, and put this in it:

# plugins/BoxCosmetics/cosmetics/hats.yml
top-hat:
  item: PAPER            # the item it is made of: a vanilla item or an item plugin's id
  name: "<gold>Top Hat"  # the name players see
  show: meg:top_hat      # what the player wears instead of the item: a ModelEngine model
  slot: head             # the slot it goes in: the Head list

If you have no ModelEngine model called top_hat, delete the show line, and the player wears the item itself.

  • item takes a vanilla item, such as PAPER, or an item plugin's item, such as nexo:top_hat (item).
  • show also takes mob:<type>, a living mob for a balloon, such as mob:pig, or another item (show).
  • slot also takes wear, balloon, helmet, chestplate, leggings, boots, hand or offhand. Without slot, the cosmetic may go in any slot (slot).

  • Run /bc reload. Run it again after every edit.

  • Run /bc give <player> top-hat. Only the item this gives is the cosmetic. A number after top-hat gives that many, up to 64 (give).
  • The player opens /bc and clicks the Head slot with that item.
/bc reload
/bc give Steve top-hat

Steve gets the Top Hat item, and wears it once he clicks the Head slot with it. Every key a cosmetic takes is under Cosmetics.

A model, by command

  1. Put the .bbmodel in plugins/ModelEngine/blueprints/ and run /meg reload models.
  2. Run /bc head <player> meg:<model>. To take the model off, run it again, or take its name tag out of the Head list in /bc.
/meg reload models
/bc head Steve meg:top_hat

Steve wears the top_hat model on his head, with no item. /bc wear and /bc balloon work the same way (head, wear and balloon).

Updating

Replace the jar and restart the server. Your settings stay (Updates keep your settings).

If you have an old download with one folder per item plugin, first remove these under plugins/: Nexo/items/boxcosmetics.yml, Nexo/pack/assets/minecraft/{models,textures}/boxcosmetics/, ItemsAdder/contents/boxcosmetics/, Oraxen/items/boxcosmetics.yml, Oraxen/pack/{models,textures}/boxcosmetics/ and CraftEngine/resources/boxcosmetics/. Then replace plugins/BoxCosmetics/menus/ with the download's and run /bc reload.