FAQ
Each answer starts with the fix. The questions are listed by the problem you see. For what changed in each version, see the Changelog.
BoxCosmetics does not start
Install PacketEvents, or update it if the log says not usable on this server. BoxCosmetics also needs Paper 1.21.3 to 26.3 on Java 21 or newer (Requirements).
A menu slot is missing
Replace the slot's none with a place number in the look's columns in menus/wardrobe.yml, then run /bc reload. -1 and false leave a slot out as none does.
# menus/wardrobe.yml
looks:
all:
columns:
accessories: [2, 11, 20, 29] # 20 was none: the Accessory: Balloon slot is back
A place that a button or another slot has already, or one outside the menu, also leaves the slot out, and the console says so. A category set to false in categories in config.yml takes its slots out too. Permissions never hide slots.
An item won't go in a slot
Give the player boxcosmetics.<slot>, or set the slot's switch to false. Until then, the player sees Only cosmetics go in this slot.
/lp group default permission set boxcosmetics.head true
# config.yml
head:
require-permission: false
Op can't put more than 2 in a list
Give a limit permission, such as boxcosmetics.head.limit.4, because op does not raise max.
/lp user Steve permission set boxcosmetics.head.limit.4 true
"That item is on already."
To allow the same item twice in a list, set <slot>.duplicates to true, or give a duplicate permission. In the Balloon list, the message is That balloon is up already.
# config.yml
head:
duplicates: true
Nobody sees a worn cosmetic
Set invisible or elytra in hide to false. The wear list has the same keys.
# config.yml
head:
hide:
invisible: false # the cosmetic shows while the player is invisible
elytra: false # the cosmetic shows while a glider such as an elytra is in the chest slot
The cosmetic is also hidden while the player is vanished, lacks its permission while permission-locks-item is true, has it in a slot other than its slot, or wears an accessory of its group.
A player can't see cosmetics
Have the player set the view button to SHOW ALL and switch off Action Hide. Their own head and wear cosmetics also hide in first person (F5 shows them), and can be hidden by hide.riptide-own and hide.glide-own:
# config.yml
head:
hide:
riptide-own: false # shipped true: hides the hat on the wearer's own screen during a riptide spin
glide-own: false # true hides it on the wearer's own screen while gliding
My hat shows at the screen edge
Set the FOV button to the FOV in your game's settings.
Cosmetics vanish when I swim or sleep
Switch off Action Hide, the switch under the FOV button.
Can I hide my cosmetics from others?
No. To hide a cosmetic from others, take it off (What other players see).
A player is stuck on HIDE ALL
Have the player reopen /bc: a player without boxcosmetics.view goes from HIDE ALL to HIDE SELF then (The view button).
An armour or hand cosmetic won't show
For a hand cosmetic, set hand.show or offhand.show to cosmetic, and for armour, keep show-over-armor: true. A held item, a real elytra, or real armour with show-over-armor: false shows in the cosmetic's place. Each show takes real or cosmetic. Both are real as shipped, and any other word counts as real.
# config.yml
equipment:
show-over-armor: true # cosmetics show over real armour
hand:
show: cosmetic # the cosmetic shows over a held item
offhand:
show: cosmetic
If it is missing only on the wearer's own screen, check own-screen and show-in-creative (equipment).
Creative mode locks an armour slot
Set equipment.show-in-creative to false, or take the cosmetic off in /bc. See equipment.
# config.yml
equipment:
show-in-creative: false # a player in creative sees their real items and can change those slots
Cosmetics show a moment after joining
Nothing needs fixing: head, wear and balloon cosmetics appear about 1 second after joining. After a server start, models also wait until ModelEngine has imported them.
"No ModelEngine model called ..."
Put the .bbmodel in plugins/ModelEngine/blueprints/, then run this:
/meg reload models
/bc head, /bc wear or /bc balloon with mythic:<mob> always gets this message. In a cosmetic file, show: mythic:<mob> gets a warning in the console instead, and the cosmetic shows its item (why).
A model cosmetic shows nothing
Check the model id in show: meg:<model>, because a wrong one logs nothing, then run /meg reload models.
# cosmetics/hats.yml
top-hat:
item: PAPER
show: meg:top_hat # the ModelEngine model's id
slot: head
Players need ModelEngine's resource pack.zip, and models show only in the Head, Wear and Balloon lists and their accessory slots (show).
I removed a model players wear
Nothing needs fixing, and nothing is lost: the worn model stays saved and comes back once ModelEngine has the model again.
An animation plays once and stops
Set the animations that should keep playing (idle, walk) to Loop in Blockbench, then import the model again (Blockbench settings).
Part of a model's tail or chain vanishes
Update BoxCosmetics. The model needs no change. Older versions hid seg_ bones and logged New entity position is invalid (NaN,NaN,NaN).
A balloon's lead misses its model
Add an l_handle bone with no cubes to the model in Blockbench (model.leash-bone).
# config.yml
balloon:
model:
leash-bone: "handle" # the bone l_handle, named without its l_
A spawn egg floats instead of its mob
Make a cosmetic with show: mob:<type>: an egg is an item, and a mob balloon is a cosmetic (Mob balloons).
# cosmetics/balloons.yml
pig-balloon:
item: CARROT_ON_A_STICK
show: mob:pig
slot: balloon
In a Peaceful world, a balloon of a mob that Peaceful removes (any monster, and slimes, magma cubes, ghasts and phantoms) floats as its item until the world allows it.
A mob balloon shows nothing
In the plugin that is cancelling the mob's spawn, allow spawns with the reason CUSTOM. BoxCosmetics tries again about once a second.
Are cosmetics lost on death?
No: they are saved on the player, not in the inventory. Models play death, then respawn when they come back at respawn. A head or back model with no respawn animation plays spawn instead.
Old cosmetics float where I died
Update BoxCosmetics: older versions did this when the immediate_respawn game rule was on.
Cosmetics flicker after a teleport
Nothing needs fixing: after a world change, a respawn or a far teleport, cosmetics come back on the next tick.
Cosmetics fall behind in fast flight
Slow down: cosmetics come back once the chunks around you load.
Does BoxCosmetics add entities to the world?
Almost never. Head and wear cosmetics, balloons and leads exist only as packets sent to players, not as real entities, so no plugin or mob can touch them. A mob balloon briefly spawns a hidden real mob to copy its look, and a player in the showcase has a hidden armor stand as a body, which no player is shown.
What does a worn model cost?
A worn head or back model costs two ModelEngine models, and a balloon costs one. Each is updated every tick.
The menu shows vanilla items
Copy the download's BoxCosmetics folder into plugins/, run /bc reload, and send players the resource pack. Icons from an item plugin need the plugin's prefix:
# menus/common.yml
back:
item: nexo:bc_back # the prefix nexo:, then the Nexo item's id
Vanilla icons after a restart
Reopen the menu once the item plugin has loaded. Nexo and CraftEngine load their items late.
/bc give: "No plugin has the item ..."
Check the cosmetic's item: its id, its prefix and its item plugin.
# cosmetics/hats.yml
ufo-hat:
item: itemsadder:alien_pack:ufo_hat # the prefix, then the item plugin's own id
slot: head
has no item means that the cosmetic has no item set. Put its model on with /bc head, /bc wear or /bc balloon instead.
My item plugin's item isn't a cosmetic
Give the item with /bc give, because only that item is a cosmetic (Giving the item).
/bc give Steve ufo-hat
Skills are not cast
Read the cosmetic's console warning, which names the problem. This MythicMobs is not one BoxCosmetics can call means that no skills are cast. For invisible, spectator and vanished players, skills are off.
Who casts the skill?
The wearer casts it: @Self is the player (Skills).
Can a MythicMobs mob be worn?
No: MythicMobs is for skills (show).
Do BoxStand stands cast skills?
Only a cosmetic's stand-skills are cast by stands, never its skills.