Bags and equipment stay with each player across respawns, teammates can give each other items, and the server checks every request.
One player finds a sword and equips it. Another walks over to a teammate and hands them some potions. CoopKit Inventory is for co-op games where every player has a bag and equipment of their own, such as RPG and survival games.
The server keeps the items and decides what each request changes. Your part is to add one component to your player state, create items and rules, place pickups, connect your input, build the inventory UI and decide what items do when used. The plugin changes none of your base classes.
Key features
Bag and equipment in one replicated list. Only changed entries are sent, in about one round trip.
Requests checked by the server. Pick up, drop, give, equip, unequip, use. Invented items, far pickups and floods are refused.
Items as data assets. Look, stack size, slot and grants. Each entry has its own count, durability or charges.
Optional Gameplay Ability System. Equipment can grant abilities, effects and tags. Without it, use slots, events and tags.
Respawn and saves. On the player state, items outlive the pawn. They are SaveGame data, and equipment grants come back.
Pickups in the world. A pickup actor shows the item's mesh. Dropped items become pickups.
Data editor. Items and rules have Properties, Summary and Validation tabs.
For your UI. A Blueprint API, events, reason codes for refusals and a debug overlay.
Picking up and giving
A player takes as many units as fit and leaves the rest on the ground. In the demo, potions stack to five, so a player with three who picks up four more has stacks of five and two. Stacks merge only when their stats, such as charges, match.
A gift goes through only if the teammate is in reach and has room for all of it. A dropped item lands in front of the player.
Changing equipment
The default slots are Weapon, Armor and Utility, and you can add your own with Gameplay Tags. If a player swaps an equipped sword for an axe, the sword goes back to the bag. The server refuses to put armor in the Weapon slot.
Equipment grants need an Ability System Component on the player state or the pawn. Unequipping takes the grants back. The plugin enables the engine's Gameplay Abilities plugin, but your actors need no Ability System Component.
What the server checks
The server checks who owns an entry, the count, bag room, slot fit and reach. It also limits how often a player can ask. Your game can use tags to block picking up, dropping, giving or equipping.
The list on a player's machine does not change before the server agrees. Your UI can show the request as pending, then show the new list or a reason, such as too far or inventory full.
Rules and saved items
A rules asset sets the bag size, starting items, equipment slots, reach and request limit. Validation shows problems as you edit, such as starting items that do not fit the bag.
A save system that stores SaveGame properties can keep the items with the player state. Starting items are given only if the inventory is empty and no save was loaded into it.
Demo maps
Overview map. On four stands, bots pick up, stack, equip and trade items.
Demo map, ready to play. Use on-screen buttons to pick up, equip, use and drop items. In two windows, you can also give items away.
Tested
A server and two clients in one editor process, with 150 ms packet lag and 2% packet loss on every connection, for listen and dedicated servers. The automation tests ship with the plugin.
They also cover a client that joins during the match, refused cheat requests, equipment with the Gameplay Ability System, pawn respawn and a save round trip.
Limitations
No grid positions, weight or shared containers such as chests. The bag is a list of entries with a size limit.
No client-side prediction. A request shows its result after one round trip.
No ready-made inventory UI ships, only the demo panel.
By default, every client receives every player's inventory. A C++ subclass can limit it to the owner.
Seamless travel creates new player states. Your project must copy the inventory or restore it from a save.
Instant Gameplay Effects granted by equipment cannot be taken back.
Links
Plugin news and discussions: Discord community, Telegram community
Works well with
Each CoopKit plugin works on its own. Connecting them takes a little work in your project.
Technical Information
Features:
Bag and equipment in one replicated list. Only changed entries are sent, in about one round trip.
Requests checked by the server. Pick up, drop, give, equip, unequip, use. Invented items, far pickups and floods are refused.
Items as data assets. Look, stack size, slot and grants. Each entry has its own count, durability or charges.
Optional Gameplay Ability System. Equipment can grant abilities, effects and tags. Without it, use slots, events and tags.
Respawn and saves. On the player state, items outlive the pawn. They are SaveGame data, and equipment grants come back.
Pickups in the world. A pickup actor shows the item's mesh. Dropped items become pickups.
Data editor. Items and rules have Properties, Summary and Validation tabs.
For your UI. A Blueprint API, events, reason codes for refusals and a debug overlay.
Code Modules:
CoopKitInventory (Runtime)
CoopKitInventoryEditor (Editor)
CoopKitInventoryTests (Editor)
Number of Blueprints: 4
Number of C++ Classes: 38
Network Replicated: Yes
Supported Development Platforms: Windows: Yes, Mac: No
Supported Target Build Platforms: Windows
Documentation Link: https://reasp.pro/projects/coopkit/inventory/ (newest version; Docs/README.md in the plugin matches yours)
Example Project: None. The plugin includes demo maps: L_InventoryDemo, L_InventoryOverview.
Important/Additional Notes:
Plugin version: 1.0.0
Unreal Engine versions: 5.4, 5.5, 5.6, 5.7, 5.8
Engine plugins required: GameplayAbilities
Stability checked against: UE 5.4, 5.5, 5.6, 5.7, 5.8
No grid positions, weight or shared containers such as chests. The bag is a list of entries with a size limit.
No client-side prediction. A request shows its result after one round trip.
No ready-made inventory UI ships, only the demo panel.
By default, every client receives every player's inventory. A C++ subclass can limit it to the owner.
Seamless travel creates new player states. Your project must copy the inventory or restore it from a save.
Instant Gameplay Effects granted by equipment cannot be taken back.
Network: listen server and dedicated server. The dedicated server is tested in the editor. The plugin also compiles into a packaged dedicated server built on Unreal Engine 5.8 from source, and two clients join it in a smoke test. On other engine versions you compile the Server target yourself.
Blueprint API and C++ API.