🎭 How to install HMCCosmetics
How to install HMCCosmetics on the Minecraft server
Requirements
• ItemsAdder or Oraxen or Nexo (not required if you only use the default/vanilla resource pack)
경고
Make sure all your plugins and server software are up to date!
팁
You can use the HMCCosmetic Generator tool on this site to automatically turn an existing ItemsAdder/Oraxen/Nexo items file into ready-to-use cosmetics.yml and menu.yml files. It currently supports Oraxen and Nexo (with or without their default resource pack) — for ItemsAdder, follow the manual steps below.
- Add
HMCCosmetics.jarto your server'spluginsfolder and start the server once so it generates its default folders. - Stop the server and put your cosmetic item YAML files inside
HMCCosmetics/cosmetics/and your menu YAML files insideHMCCosmetics/menus/. - Run the command
/cosmetic reload(permissionhmccosmetics.cmd.reload) after making any config changes.
Nexo & HMCCosmetics Setup
- Make sure your Nexo item already exists in
Nexo/items/. - Reference it from
HMCCosmetics/cosmetics/<file>.ymlusing thenexo:<itemid>material format.HMCCosmetics/cosmetics/hats.ymlparty_hat_cosmetics:
permission: cosmetics.party_hat
dyeable: false
slot: HELMET
item:
material: nexo:party_hat
unbreakable: true
glow: false
amount: 1 - Add a matching entry to
HMCCosmetics/menus/<file>.ymlso players can select it from the GUI.HMCCosmetics/menus/hats.ymlparty_hat_cosmetics:
slots: [0]
item:
name: "<white>Party Hat"
material: nexo:party_hat
amount: 1
lore:
- ""
- "<gray>Enabled: <#6D9DC5>%HMCCosmetics_equipped_party_hat_cosmetics%"
- "<gray>Allowed: <#6D9DC5>%HMCCosmetics_unlocked_party_hat_cosmetics%"
type: cosmetic
cosmetic: party_hat_cosmetics
locked-item:
name: "<white>Party Hat <red><b>(LOCK)"
material: nexo:party_hat
amount: 1
lore:
- "<RED>You do not have this cosmetic available" - Run the command
/n reload all, then/cosmetic reload.
Oraxen & HMCCosmetics Setup
- Make sure your Oraxen item already exists in
Oraxen/items/. - Reference it from
HMCCosmetics/cosmetics/<file>.ymlusing theoraxen:<my_oraxen_item>material format — the rest of the file follows the same structure as the Nexo example above.HMCCosmetics/cosmetics/hats.ymlparty_hat_cosmetics:
permission: cosmetics.party_hat
dyeable: false
slot: HELMET
item:
material: oraxen:party_hat
unbreakable: true
glow: false
amount: 1 - Run the command
/o reload all, then/cosmetic reload.
ItemsAdder & HMCCosmetics Setup
- Drag the "data" folder from the HMCCosmetics ItemsAdder addon package into your
ItemsAdderplugin folder. - Reference your ItemsAdder item using the
itemsadder:<my_ia_namespace>:<my_ia_item>material format.HMCCosmetics/cosmetics/hats.ymlparty_hat_cosmetics:
permission: cosmetics.party_hat
dyeable: false
slot: HELMET
item:
material: itemsadder:cosmetics:party_hat
unbreakable: true
glow: false
amount: 1 - In
HMCCosmetics/messages.yml, change the prefix to%img_colorful%so ItemsAdder fonts render correctly in menus. - Run the command
/iazip, then/cosmetic reload.
Default Resource Pack & HMCCosmetics Setup
If you don't use ItemsAdder, Oraxen, or Nexo, HMCCosmetics can still work off the vanilla resource pack using a normal item material plus a custom model data value.
HMCCosmetics/cosmetics/hats.yml
party_hat_cosmetics:
permission: cosmetics.party_hat
dyeable: false
slot: HELMET
item:
material: LEATHER_HORSE_ARMOR
model-data: 1001
unbreakable: true
glow: false
amount: 1
- Put your custom textures/models into your resource pack's
assets/minecraftfolder using the same custom model data value. - Run the command
/cosmetic reload. - Have players apply or reload the resource pack in Minecraft.