Pet Models
# Custom Item Configuration
CompanionsPlus supports custom items from CraftEngine and ItemsAdder.
# Formats
| Plugin | Format | Example |
|---|---|---|
| CraftEngine | [CE]namespace:item_id | [CE]myitems:ruby_sword |
| ItemsAdder | [IA]namespace:item_id | [IA]myitems:ruby_sword |
Both plugins use the same configuration pattern; only the prefix changes.
# Pet Appearance
Set customModelData in companions/companions.yml:
# CraftEngine
customModelData: "[CE]myitems:ruby_pet"
Or:
# ItemsAdder
customModelData: "[IA]myitems:ruby_pet"
# Pet Equipment
Set material in equipment/equipment.yml:
equipment:
rubySword:
name: "&cRuby Sword"
material: "[IA]myitems:ruby_sword"
custom-model-data: 0
tooltipStyle: ""
itemModel: ""
lore: [ ]
attribute: [ ]
For CraftEngine, change material to:
material: "[CE]myitems:ruby_sword"
# Notes
[CE]and[IA]must remain uppercase.- Replace the sample item IDs with IDs that exist in the corresponding plugin.
- The selected custom-item plugin must be installed on the server.