Elderlight StudioModular Inventory & Equipment – documentationAll documentation

Modular Inventory & Equipment – Documentation

Version 1.0.0 · Unreal Engine 5.8 · C++ plugin, fully usable from Blueprints

A data-driven inventory and equipment system: a bag the player arranges freely, a classic paper-doll equipment screen with a live 3D preview of the character, equipped items shown on the character, tooltips with stat comparison, dropping items on the ground and picking them up, save-game records, and mouse, keyboard and gamepad support.


Contents

  1. Requirements
  2. Installation
  3. Quick start (2 minutes)
  4. Concepts
  5. Setting up your own character
  6. Creating items
  7. Showing equipped items on the character
  8. The character screen
  9. Items in the world: dropping and picking up
  10. Saving and loading
  11. Customizing and extending
  12. Project settings reference
  13. Blueprint / C++ API reference
  14. Console commands
  15. Plugin content
  16. Performance notes
  17. Troubleshooting and FAQ
  18. Known limitations
  19. Support, license and credits

1. Requirements

Engine Unreal Engine 5.8
Platforms Windows 64-bit (development and target)
Plugin dependencies Enhanced Input (engine plugin, enabled automatically)
Project type Blueprint-only or C++ projects. No C++ knowledge is needed to use the plugin.
Multiplayer Single player / local only. Network replication is not part of this version.

The demo gear (chainmail, cloak, boots…) is skinned to the UE5 mannequin skeleton (SK_Mannequin, used by Manny and Quinn in the Third Person template). Your own items can use any skeleton (see section 7).

2. Installation

From Fab (recommended)

  1. In the Epic Games Launcher open Fab Library, find Modular Inventory & Equipment and click Install to Engine (choose your engine version).
  2. Open your project and go to Edit > Plugins. Search for “Modular Inventory” and tick Enabled.
  3. Restart the editor when asked.

Into one project only

  1. Close the editor.
  2. Copy the ModularInventory folder into <YourProject>/Plugins/ (create the Plugins folder if needed).
  3. Open the project. A Blueprint-only project opens it as it is. A C++ project compiles the plugin with the project.

To see the plugin’s assets in the Content Browser: Settings (gear icon) > Show Plugin Content. They are under Plugins > Modular Inventory & Equipment Content.

3. Quick start (2 minutes)

The plugin ships with a Quick Start that works in any project with a player character – for example a new Third Person template project:

  1. Install and enable the plugin (section 2).
  2. Press Play.
  3. Press I on the keyboard or View / Back on a gamepad. The character screen opens.

The quick start has added the three components to your player pawn and given it the 17 demo items: a helm, chainmail, a sword, arrows and boots are worn, the rest is in the bag. Try:

  • Right click (or double click) an item to equip it or take it off.
  • Drag an item onto an equipment slot, onto another bag slot, or out of the window to drop it on the ground.
  • Walk into an item on the ground to pick it up again.
  • Drag the character preview to turn it around.

When your own character gets the components (section 5), turn the quick start off: Project Settings > Plugins > Modular Inventory > Quick Start > Add Components To Player Pawn.

4. Concepts

Concept What it is
Item definition (MIItemDefinition) A data asset: one per kind of item (“Iron Sword”). Name, icon, rarity, stack size, slot, stats, meshes.
Item instance (MIItemInstance) One stack or one unique item that exists in the game: a definition + a unique id + quantity + durability + optional custom name and extra stats + the bag slot it lies in.
Inventory (MI Inventory component) A bag of item instances. Any actor can have one: the player, a chest, a corpse, a merchant.
Equipment (MI Equipment component) What a character wears: one item per slot (Head, Chest, Main Hand…).
Appearance (MI Appearance component, optional) Shows the worn items with a mesh on the character in the level.
World item (MI World Item actor) An item lying in the world: dropped from the bag or placed in a level.
Item database (MI Item Subsystem) Finds every item definition in the project by its ItemId.

An item is always in exactly one place – a bag stack, an equipment slot or a world item. It moves between them and is never copied, so nothing is duplicated or lost. Every change goes through the components, so stack limits, bag capacity and weight limits always hold.

5. Setting up your own character

  1. Open your character Blueprint.
  2. Add component > MI Inventory (or BP_MI_InventoryComponent).
  3. Add component > MI Equipment (or BP_MI_EquipmentComponent).
  4. Optional: Add component > MI Appearance (or BP_MI_AppearanceComponent), so the character in the level shows what it wears. The preview in the character screen shows the gear without it.
  5. Compile and save. Turn the quick start off (section 3).

The BP_MI_... variants are Blueprint children of the C++ components with every hook written out as nodes (the same logic as C++) – use them to change the rules in Blueprint, or the C++ classes to change them in C++ (section 11).

MI Inventory – properties

Property Default Meaning
Max Slots 36 Bag slots. 0 = unlimited. Currency takes no slot.
Max Weight 0 Weight limit (sum of Weight × quantity). 0 = none.
Starting Items empty Items given at Begin Play (item, quantity, Equip). With Equip ticked and an MI Equipment component on the same actor, the item is put on. Skipped when a saved bag was loaded first.

Event: On Inventory Changed – fires once after every change (add, remove, move, split, sort, load).

MI Equipment – properties

Property Default Meaning
Allowed Slots empty Slots this character can use. Empty = every slot.
Character Level 1 Compared with an item’s Required Level. Set it from your own level system.

Event: On Equipment Changed (Slot, Old Item, New Item) – fires for every change of a slot.

MI Appearance – properties

Property Default Meaning
Target Mesh Component Name empty The skeletal mesh component the items go on. Empty = the Character’s Mesh (else the first skeletal mesh).
Ignored Slots empty Slots this component does not draw (your game draws them itself, e.g. a weapon held by your animation system).

Event: On Appearance Changed (Slot, Visual) – a slot’s visual was made (Visual) or removed (None).

Opening the screen yourself

With Bind Toggle Keys on (default), I and Gamepad View open and close the screen for every local player whose pawn has an inventory. To use your own input, turn it off in the project settings and call Toggle Character Screen (or Open / Close) from the MI Inventory Library with your Player Controller. On Character Screen Toggled on the MI Screen Subsystem (Local Player subsystem) tells you when it opens or closes – for example to hide your HUD.

6. Creating items

Content Browser > right click > Miscellaneous > Data Asset > MIItemDefinition (or a data asset of BP_MI_ItemDefinition / your own child class). Name the asset, for example DA_Item_IronSword, and fill it in.

Item properties

Property Meaning
Item Id Required, unique. Used by saves, Add Item By Id and the console (e.g. IronSword). Changing it later breaks old saves of that item.
Display Name, Description What the player reads.
Icon Square texture, 64-256 px, shown in the slots and the tooltip. Without an icon the slot shows the item’s initials. Recommended texture settings: Texture Group: UI, Mip Gen: NoMipmaps.
Item Type Armor, Weapon, Ammo, Consumable, Material, Currency, Quest, Misc. Currency takes no bag slot; the bag shows the total as money.
Rarity Poor, Common, Uncommon, Rare, Epic, Legendary – the name, frame and glow colour.
Max Stack 1 = one item per slot; more = units stack up to this number.
Weight, Value Per unit. Weight counts against the bag’s Max Weight; value is shown in the tooltip (selling is up to your game).
Can Drop, Can Destroy Whether the player may drop it on the ground / destroy it.
Equip Slot Where it is worn. None = not wearable. A ring fits Finger 1 or 2, a trinket Trinket 1 or 2.
Stats Any named numbers: Armor, Damage, Strength, AttackSpeed… Summed over everything worn (Get Stat Total) and compared in the tooltip. Names are free: AttackSpeed is shown as “Attack Speed”.
Max Durability 0 = no durability. Apply Durability Loss wears the worn item down; at 0 it is shown greyed out.
Required Level Compared with MI Equipment’s Character Level.
Equipped Static Mesh, Attach Socket, Attach Offset A rigid mesh attached to a socket or bone of the character (helmet on head, sword on hand_r).
Equipped Skeletal Mesh A mesh skinned to the character’s skeleton; it follows the pose (armour, cloak, boots). Wins over the static mesh.
Override Materials Replaces the mesh’s materials by index (one mesh, several colour variants).
Hide Components With Tag Components of the character with these tags are hidden while the item is worn (e.g. tag your hair component Hair and put Hair here on a helmet).
World Mesh What lies on the ground when dropped. Empty = the equipped static mesh, else a small crate.

The item database finds every item definition in the project by itself. The plugin registers the type with the Asset Manager (Config/DefaultGame.ini of the plugin), so all items in /Game and in the plugin are always cooked into a packaged game, wherever they are in the Content folder.

Data validation (right click > Asset Actions > Validate) reports an empty Item Id and other mistakes.

Giving items

  • Starting Items on the MI Inventory component.
  • Blueprint: Add Item By Definition / Add Item By Id on the inventory, or Give Item / Give Item By Id from the MI Inventory Library (finds the inventory on any actor).
  • A MI World Item in the level (section 9).
  • Console (development builds): MI.Give IronSword 1.

7. Showing equipped items on the character

Two ways, per item:

Static mesh on a socket – for rigid things (helmets, weapons, shields, bows). Set Equipped Static Mesh, the Attach Socket (a socket or bone name of the character’s skeletal mesh) and Attach Offset (position, rotation and scale relative to it). Tip: add a socket to the skeleton in the Skeleton editor, attach a preview mesh, place it visually, and use the socket name with an identity offset.

Skeletal mesh following the pose – for things that bend with the body (armour, clothes, cloaks, boots, gloves). Model the mesh on your character and skin it to the same bone names; set it as Equipped Skeletal Mesh. It copies the character’s pose by bone name (Leader Pose), so it may have its own skeleton asset as long as the bone names and the reference pose match the character’s. Bones the character does not have stay in their reference pose.

Where the items are drawn:

  • In the character screen preview – always (the preview dresses its own copy of the character).
  • On the character in the level – when it has an MI Appearance component.

The demo gear is skinned to the UE5 mannequin (SK_Mannequin) and fits Manny and Quinn. For another skeleton, use the demo items as a reference and make your own meshes; or retarget/rig them in your DCC tool to your skeleton.

8. The character screen

The paper doll on the left – equipment slots around a live 3D preview of the character, weapons underneath, stat totals. The bag on the right – a scrolling grid, Sort, the destroy zone, money.

Controls

Action Mouse / keyboard Gamepad
Open / close I (and Esc to close) View / Back (and B to close)
Equip / take off Right click or double click; or drag to a slot Choose with the d-pad, A
Move an item to another bag slot Drag it there Y on the item, choose the slot, Y again (B cancels)
Merge two stacks of the same kind Drag one onto the other Y, Y
Swap two items Drag one onto the other Y, Y
Split a stack in half Shift + right click X
Drop on the ground Drag the item out of the window and let go –
Destroy Drag onto Drop here to destroy it –
Sort the bag Sort button Choose Sort, A
Turn the preview Drag the preview with the left mouse button –
Tooltip Hover an item Choose an item

Arranging the bag

Every stack remembers its bag slot. An item dropped on an empty slot goes there; dropped on a stack of the same kind it merges (up to the stack size); dropped on anything else, the two swap places. New items take the first free slot, a split puts the new stack next to the old one when there is room, and taking an item off puts it into the slot it is dragged to. Sort packs the bag from the first slot (by type, rarity – best first – and name). The arrangement is part of the save records.

Dropping on the ground

Drag an item out of the window: while it is outside, the status line reads Let go to drop … on the ground. Let go and the item lands in front of the character (Drop Distance in the settings) as an MI World Item. Worn items can be dropped the same way. Items with Can Drop off, or refused by your Can Drop Item rule, stay where they were and the reason is shown.

Tooltip

Name in the rarity colour, type and slot, every stat, and – for a wearable item in the bag – the difference to what is worn in that slot (▲ green better, ▼ red worse; stats the worn item has and this one lacks are listed as lost), required level (red when not met), durability, weight, value and the description.

9. Items in the world: dropping and picking up

MI World Item (BP_MI_WorldItem) is an item lying in the world. It simulates physics, and a player-controlled pawn with an inventory that walks into it picks it up (as much as fits; the rest stays on the ground).

Property Default Meaning
Item Definition, Quantity – For items placed in a level: what it is and how many.
Pick Up On Overlap on Walk into it to pick it up. Turn off to use your own interaction (call Pick Up with the inventory).
Pick Up Delay 1.5 s After it appears, before it can be picked up (a dropped item does not jump straight back).

Event On Picked Up (Inventory, Picked Item) – play a sound, show a message.

To place an item in a level: drag BP_MI_WorldItem into the level and set Item Definition and Quantity. The mesh is the item’s World Mesh (else its static equipped mesh, else a small crate).

To drop from code: Drop Item on the inventory (or the library), Drop From Slot on the equipment. The class that spawns is World Item Class in the settings – point it to your own child of MI World Item.

10. Saving and loading

The components turn their contents into plain records – MIItemRecord: item id, quantity, durability, custom name, extra stats, the equipment slot and the bag slot. Records refer to items by Item Id, not by asset, so you may move or rename item assets freely.

Save (e.g. in your Save Game Blueprint):

  1. Add two variables to your SaveGame class: InventoryRecords and EquipmentRecords, both Array of MIItemRecord.
  2. When saving: Inventory > Save To Records → set InventoryRecords; Equipment > Save To Records → set EquipmentRecords; then Save Game to Slot.

Load:

  1. Load Game from Slot, cast to your SaveGame class.
  2. Equipment > Load From Records (EquipmentRecords), then Inventory > Load From Records (InventoryRecords).

A loaded inventory replaces the starting items. An item whose id no longer exists in the game is skipped and logged (LogModularInventory), never replaced by something else. Saves made without bag slots load into the first free slots.

11. Customizing and extending

C++ or Blueprint – your choice

All the logic is in C++, and every decision a game typically wants to change is a hook: a function you can override. The Blueprint children in Content/Blueprints already override every hook with the same logic as the C++ default, written as nodes, each under a comment that says what it decides, what the default does and what games usually change. So you can:

  • work in Blueprint – open the child, change the nodes, done (the project settings use these children by default: character screen, world item, quick-start components);
  • work in C++ – subclass the C++ class, override the _Implementation of the hook, and select your class in the settings / on your character;
  • mix – keep the C++ defaults for some hooks and change others in a Blueprint child of your own.

A Blueprint override replaces the C++ default. To keep the default and only add to it, call the parent function (right click the function entry > Add Call to Parent Function).

C++ class Blueprint child Hooks (written out in the child) Events to bind
UMIInventoryComponent BP_MI_InventoryComponent Can Add Item, Get Max Stack Size, Get Unit Weight, Can Place In Bag Slot, Can Drop Item On Inventory Changed
UMIEquipmentComponent BP_MI_EquipmentComponent Can Equip Item, Get Item Stat On Equipment Changed
UMIAppearanceComponent BP_MI_AppearanceComponent Get Item Attachment On Appearance Changed
AMIWorldItem BP_MI_WorldItem Can Be Picked Up By; event On Picked Up
UMICharacterScreen WBP_MI_CharacterScreen events On Item Activated, On Item Dropped Outside; Get Character Name
UMIItemDefinition BP_MI_ItemDefinition – (add your own variables, e.g. an effect, then make item data assets of it)
UMIStyle BP_MI_Style – (your own style class)

The hooks

Hook Where Default Typical change
Can Add Item (Item) MI Inventory takes everything A quiver that takes only ammo; a quest bag.
Get Max Stack Size (Item) MI Inventory the item’s Max Stack A bigger quiver; a bag that stacks nothing.
Get Unit Weight (Item) MI Inventory the item’s Weight A pack animal that carries more easily; coins that weigh nothing.
Can Place In Bag Slot (Item, Bag Slot) MI Inventory every slot Keep the last row for potions; locked slots until a bigger bag. Checked when the player moves a stack (both stacks of a swap).
Can Drop Item (Item, out Reason) MI Inventory yes (after the item’s Can Drop) Quest items, no dropping indoors. Fill Reason – the screen shows it.
Can Equip Item (Item, Slot, out Reason) MI Equipment yes (after the slot and level checks) Class restrictions, a skill, a quest.
Get Item Stat (Item, Stat) MI Equipment the item’s Stats + its Extra Stats Scale by durability, 0 for a broken item, set bonuses. Used by Get Stat Total and the tooltips.
Get Item Attachment (Item, Slot, out Socket, out Offset) MI Appearance the item’s Attach Socket / Attach Offset, shown when it has an equipped mesh A socket that depends on the body: the same sword in a man’s hand and on a dog’s back; return false to hide a slot. Also used by the screen’s 3D preview.
Can Be Picked Up By (Pawn) MI World Item any player-controlled pawn Let a pet fetch; only the owner picks up a quest item.
On Item Activated (Item, Source Kind, Source Slot) Character screen equips a bag item, takes a worn item off What using an item means in your game (see below).
On Item Dropped Outside (Item, Source Kind, Source Slot) Character screen drops it on the ground Ask first, destroy it instead, or refuse.
Get Character Name Character screen empty A heading over the paper doll.

Using items (potions, food, letters)

The plugin does not decide what an item does – a flask may heal, poison or just be water. Two common ways:

  • From the screen: in WBP_MI_CharacterScreen, On Item Activated (right click / double click / gamepad A). Check the definition’s Item Type (or a variable you added to BP_MI_ItemDefinition); for a consumable apply your effect and call Consume Item (by id) or Remove Item (by instance) on the inventory; for anything else keep the default nodes (equip / take off).
  • From your own input (a hotbar, a key): call Consume Item / Remove Item and apply the effect.

Ammo: put arrows in the Ammo slot and call Take From Slot (Ammo, 1) when firing.

Stats

Get Stat Total ("Armor") on MI Equipment sums a stat over everything worn (through Get Item Stat) – feed it into your damage formula. Summary Stats in the settings chooses which totals the screen shows. Per-item random stats or enchantments go into the instance’s Extra Stats (added to the definition’s stats, saved in the records).

Look of the screens

The screens are built in C++ from one style data asset – no widget Blueprints to maintain. To restyle:

  1. Duplicate UI/DA_MI_DefaultStyle into your project.
  2. Change brushes (window, sections, slots, frames, highlight, rarity glow, buttons, tooltip, preview background), colours (text, highlight, positive/negative, money, each rarity), fonts and slot sizes, and the empty-slot silhouettes per slot.
  3. Select it in Project Settings > Plugins > Modular Inventory > Style.

Layout of the paper doll

Left Column Slots, Right Column Slots and Bottom Row Slots in the settings choose which slots appear and in what order. More slots are ready in the enum: Shirt, Tabard, Finger 1-2, Trinket 1-2, Off Hand – add them to a column.

Your own screen

Make a child of MICharacterScreen (Blueprint or C++), select it as Character Screen Class. In C++ override BuildContent for a new layout, or OnItemActivated, HandleDrop, OnSlotSplit, HandleDropZone for other behaviour. UMIItemScreenBase is the shared frame (window, title, close button, status line, tooltip, gamepad navigation) for further item screens (a chest, a merchant).

Other actors with inventories

Add MI Inventory to a chest or a corpse and move items with Transfer To (source inventory, destination, instance id, quantity). It never loses or duplicates items and tells you why when the destination is full or too heavy.

12. Project settings reference

Project Settings > Plugins > Modular Inventory

Setting Default Meaning
Input
Bind Toggle Keys on Open/close the screen with the toggle keys. Off = call Toggle Character Screen yourself.
Toggle Keys I, Gamepad Special Left (View/Back) Bound through Enhanced Input.
Screen
Style DA_MI_DefaultStyle The look of the screens.
Character Screen Class WBP_MI_CharacterScreen Your subclass for another layout or behaviour.
Pause Game While Open off Pauses the game while the screen is open (single player).
Left / Right Column Slots Head, Neck, Shoulders, Back, Chest, Wrists / Hands, Waist, Legs, Feet Paper-doll columns.
Bottom Row Slots Main Hand, Ranged, Ammo Under the preview.
Summary Stats Armor, Damage, Stamina, Strength Totals under the preview.
Bag Columns 6 Columns of the bag grid (3-12).
Bag Visible Rows 6 Rows shown at once; a bigger bag scrolls (2-12).
Quick Start
Add Components To Player Pawn on Adds the components to a local player’s pawn that has none. Turn off for your own setup.
Inventory / Equipment / Appearance Component Class the BP_MI_ children What the quick start adds. Appearance empty = none.
Quick Start Items the 17 demo items What the quick-start inventory starts with.
World
World Item Class BP_MI_WorldItem What appears when an item is dropped.
Drop Distance 120 cm How far in front of the character it lands.

13. Blueprint / C++ API reference

All functions below are Blueprint nodes (category Modular Inventory) and public C++ functions.

MI Inventory (UMIInventoryComponent)

Function Description
Get Items Every stack, currency included.
Get Slot Items The stacks in the bag grid (no currency), ordered by bag slot.
Get Bag Slot Count Slots the grid shows (Max Slots, or the highest used slot + 1 when unlimited).
Get Item In Bag Slot (Bag Slot) The stack in a slot; false when empty.
Is Bag Slot Free (Bag Slot)
Find Free Bag Slot (Preferred) The first free slot from Preferred on (wrapping); -1 when full.
Get Used Slots, Get Total Weight, Get Money
Count Item (Item Id) Units of a kind across all stacks.
Has Item / Find Item (Instance Id)
Get Acceptable Quantity / Can Accept All (Item) How much still fits (stacks, free slots, weight, Can Add Item).
Add Item (Item, out Remainder) Adds as much as fits: existing stacks first, then new stacks in the first free slots. True when all fit.
Add Item At (Item, Bag Slot, out Remainder) As Add Item, the first new stack into the given slot when free.
Add Item By Definition / Add Item By Id (…, Quantity) Several stacks when needed.
Remove Item (Instance Id, Quantity, out Removed) Quantity ≤ 0 = the whole stack.
Consume Item (Item Id, Quantity) Uses up units across stacks; all or nothing.
Split Stack (Instance Id, Quantity, out Reason)
Transfer To (Destination, Instance Id, Quantity, out Reason) Into another inventory, safely.
Destroy Item (Instance Id, Quantity, out Reason) Respects Can Destroy.
Drop Item (Instance Id, Quantity, out Reason) → World Item Onto the ground in front of the owner. Respects Can Drop and Can Drop Item.
Merge Or Swap (Source Id, Target Id) Same kind merges, anything else swaps bag slots.
Move To Bag Slot (Instance Id, Bag Slot) The player arranging the bag (empty → move, same kind → merge, else swap).
Sort Items Type, rarity (best first), name; packs from slot 0.
Clear All
Save To Records / Load From Records Section 10.
Dump A text listing for logs.
Overridable: Can Add Item, Can Place In Bag Slot, Can Drop Item Section 11.
Event: On Inventory Changed

MI Equipment (UMIEquipmentComponent)

Function Description
Is Slot Allowed, Is Slot Filled (Slot)
Get Equipped Item (Slot, out Item), Get All Equipped Items, Find Equipped Item (Instance Id, out Slot)
Can Equip (Item, out Slot, out Reason) Whether and where it would go (a ring: the free finger).
Can Equip In Slot (Item, Slot, out Reason) For one given slot.
Get Stat Total (Stat) A stat summed over everything worn.
Equip From Inventory (Inventory, Instance Id, out Reason, Slot) Bag → slot. What was worn goes into the bag slot the new item came from. Ammo of the same kind tops the slot up.
Unequip To Inventory (Slot, Inventory, out Reason) Slot → first free bag slot.
Unequip To Bag Slot (Slot, Inventory, Bag Slot, out Reason) Slot → a chosen bag slot.
Drop From Slot (Slot, out Reason) → World Item Takes it off onto the ground.
Equip Item (Item, Slot, out Displaced) Straight into a slot (NPC setup, scripts). Whatever was there comes out in Displaced.
Take From Slot (Slot, Quantity, out Item) Takes the item or units out (looting, firing ammo).
Apply Durability Loss (Slot, Amount) True when this broke it.
Clear All, Save To Records, Load From Records, Dump
Overridable: Can Equip Item Section 11.
Event: On Equipment Changed (Slot, Old Item, New Item)

MI Appearance (UMIAppearanceComponent)

Function Description
Refresh All Rebuilds every slot’s visual (e.g. after changing the target mesh).
Set Slot Visual Visible (Slot, Visible) Hide/show without taking it off (a sword sheathed while the bow is out).
Get Slot Visual (Slot) The mesh component made for a slot.
Get Target Mesh The skeletal mesh component the items go on.
Event: On Appearance Changed (Slot, Visual)

MI World Item (AMIWorldItem)

Set Item (Item), Get Item, Pick Up (Inventory), event On Picked Up (Inventory, Picked Item). C++: AMIWorldItem::SpawnDropped(Dropper, Item).

MI Inventory Library (UMIInventoryLibrary)

Get Inventory (Actor), Get Equipment (Actor), Give Item (Actor, Item, Quantity), Give Item By Id, Drop Item (Actor, Instance Id, Quantity), Open / Close / Toggle Character Screen (Player Controller), Is Character Screen Open, Get Rarity Color (Rarity), Get Slot Display Name (Slot).

MI Item Subsystem (UMIItemSubsystem, Game Instance subsystem)

Get, Find Definition (Item Id), Get All Definitions, Refresh Database, Register Definition (items made at runtime), Make Item (Definition, Quantity), Make Item By Id, To Record (Item, Slot), From Record (Record, out Item).

MI Screen Subsystem (UMIScreenSubsystem, Local Player subsystem)

Open / Close / Toggle Character Screen, Is Character Screen Open, Get Character Screen, event On Character Screen Toggled (Open).

Types

Type Fields
MIItemInstance Instance Id, Definition, Quantity, Durability (< 0 = none), Custom Name, Extra Stats, Bag Slot (-1 when not in a bag)
MIItemRecord Instance Id, Item Id, Quantity, Durability, Custom Name, Extra Stats, Slot, Bag Slot
MIStartingItem Item, Quantity, Equip
EMIEquipSlot None, Head, Neck, Shoulders, Back, Chest, Shirt, Tabard, Wrists, Hands, Waist, Legs, Feet, Finger 1, Finger 2, Trinket 1, Trinket 2, Main Hand, Off Hand, Ranged, Ammo
EMIItemType Armor, Weapon, Ammo, Consumable, Material, Currency, Quest, Misc
EMIItemRarity Poor, Common, Uncommon, Rare, Epic, Legendary

14. Console commands

Available in development builds (not in Shipping):

Command
MI.Give <ItemId> [Quantity] Adds an item to the player’s inventory.
MI.ListItems Every item definition the database knows.
MI.Dump The player’s inventory, equipment and visuals in the log.
MI.ToggleScreen Opens / closes the character screen.
MI.EquipAll Puts on everything wearable in the bag.
MI.PreviewTurn <degrees> Turns the preview.
MI.PreviewExposureBias <value> Brightens / darkens the preview (default 4).
MI.Test.Drag <bag slot> <bag slot or out> A mouse drag performed by the game itself (automated testing), screen open.
MI.Test.Activate <bag slot> What a right click on that bag slot does (On Item Activated), screen open.

Log category: LogModularInventory (Log LogModularInventory Verbose for every change).

15. Plugin content

Folder Content
Blueprints The Blueprint children (section 11).
UI DA_MI_DefaultStyle, window/slot/button textures (UI/Textures), empty-slot silhouettes (UI/SlotIcons).
Demo/Items 17 example items: Iron Helm, Silver Pendant, Leather Pauldrons, Traveler’s Cloak, Chainmail Hauberk, Leather Bracers, Leather Gloves, Studded Belt, Chain Leggings, Leather Boots, Iron Sword, Runed Blade, Hunting Bow, Arrows, Health Potion, Iron Ore, Gold Coin.
Demo/Icons Their icons.
Demo/Meshes Helm, sword and bow (static, on sockets); nine pieces of worn gear skinned to the UE5 mannequin skeleton (SKM_MI_*, skeleton SKM_MI_Wear_Skeleton) with static ground versions (SM_MI_*); simple materials.

The Demo folder is optional. To remove it: turn the quick start off (or clear Quick Start Items), then delete Demo from the plugin’s Content folder.

16. Performance notes

  • Event driven: nothing ticks in the components. The screen is built once and updated on changes.
  • The preview renders only while the screen is open and visible (one scene capture of the character’s copy, lit by three studio lights that affect only the copy).
  • Worn skeletal items cost one skinned mesh each (Leader Pose – no extra animation evaluation).
  • Demo gear: up to 9,000 vertices per piece.

17. Troubleshooting and FAQ

Pressing I does nothing. The pawn has no MI Inventory component (turn the quick start on, or add the components), Bind Toggle Keys is off, or another input context consumes I. Try MI.ToggleScreen in the console.

The quick start adds the components to my own character again. It adds them only to a pawn without them. When your character has its own components, turn Add Components To Player Pawn off.

An equipped item does not show on the character in the level. The character needs MI Appearance (the preview does not). The item needs an equipped mesh. A skeletal item must use the same bone names as the character; a static one needs an existing socket or bone name.

A skinned item is turned or offset. Its reference pose differs from the character’s. Skin it in the character’s reference pose (export the character, model on it, export with the same bone names and orientation).

My items are missing in the packaged game. They need an Item Id and must be MIItemDefinition assets; they are cooked automatically through the Asset Manager. Check the log for [Items] warnings.

Loading a save drops some items. Their Item Id no longer exists (renamed or deleted). The log names them.

The preview is too bright / too dark. MI.PreviewExposureBias (console) or the preview background in the style.

Can I use it in multiplayer? Not in this version – the components are not replicated.

Can I use it without the UI? Yes. The components work on their own; the screen is optional.

18. Known limitations

  • Single player / local only (no replication).
  • No built-in containers/merchant screen yet (the components support it: Transfer To; UMIItemScreenBase is the base for such screens).
  • Dropping on the ground and destroying are mouse actions (no gamepad shortcut).
  • The demo gear fits the UE5 mannequin skeleton only.

19. Support, license and credits

  • Support: see the Support link on the Fab listing page (also Edit > Plugins > Modular Inventory & Equipment).
  • Changelog: CHANGELOG.md in the plugin folder.
  • License: distributed under the Fab End User License Agreement (Standard License).
  • Third-party software: none. All code is original; the plugin depends only on Unreal Engine modules.
  • The demo textures and meshes were made for this plugin. The demo gear is shaped on the UE5 mannequin (Epic Games sample content) for use in Unreal Engine projects.