Loot goes out as a race, in turns, by Need or Greed, or as personal drops only their owner sees, with every roll made by the server.
A chest opens, and one rare item drops. Each player chooses Need, Greed or Pass before the time runs out, and the highest Need roll wins. CoopKit Loot is for co-op games, such as RPG and survival games, where chests and enemies drop items and the players have to share them.
The plugin decides what drops and who may pick it up. A picked-up item then goes to your own inventory. Your part is to create loot tables, start each drop on the server, connect your inventory through one interface, set up input for pickups and rolls, and build the UI. The plugin changes none of your base classes.
Key features
Personal loot. Players roll alone and see only their own drops. No client receives another player's personal drops.
Free for all. The group shares one roll. If two players grab one item together, only one gets it.
Round robin. The group shares one roll, and each item goes to the next player in turn.
Need or Greed. After one group roll, each item gets a timed vote. Need beats Greed.
The server rolls. Clients never roll. You can set the seed for tests and replays.
Pickups and choices checked. A refusal is a Gameplay Tag, such as Taken or Not Yours.
Loot tables as data assets. Weights, rarity, counts, guaranteed items or rarity, more rolls for more players, and loot for all or nearby players.
Your inventory, your UI. One interface hands over picked-up items. Drops, rolls and answers are data and events.
Loot table editor. A wizard and a card with drop chances, validation, parts and preview.
Your own drops or shared ones
With personal loot, one chest can give each player something different. A player cannot see or take a drop that belongs to a teammate. In the other three modes, the players share one set of drops.
In round robin, a player who reaches for an item meant for someone else is refused. The turn also carries over from one drop to the next, so it does not start again with the same player at each chest.
Need, Greed or Pass
Each player chooses once. The vote closes when everyone has chosen or when its time on the server clock is up, and a player who did not choose passes. The server draws a number from 1 to 100 for every Need and Greed. The highest Need wins, or the highest Greed if nobody chose Need. Ties are drawn again.
Only the winner can then pick up the item. If everyone passes, it becomes free for all. Your UI gets the choices, the numbers, the winner and the seconds left, so you can show players how the vote was decided.
From the floor to the inventory
Your inventory says how many units it took. If only part of a stack fits, the rest stays on the floor. If nothing fits, the whole stack stays there and the player is told that there is no room. Without a connected inventory, a pickup takes the whole stack and only sends events.
A drop can be for every player in the match or only for those near it. Pickups have their own range, and the server checks it.
Balancing a loot table
Each item you add can always drop or have a weight for the rolls, along with its rarity, lowest count and highest count. You can guarantee a rarity: if no item is that rare or rarer, the last roll is made again among such items. The number of rolls can grow with each extra player or follow a curve.
The card shows the chance of each item per roll and the number of rolls for 1 to 4 players. It also shows mistakes as you edit, such as a guaranteed rarity that none of the rolled items has.
Demo maps
Overview map. On four stands, one for each way of sharing, a chest opens for two bots. The signs show what dropped and what the server answered.
Demo map, ready to play. Open a chest in each of the four ways with on-screen buttons. In two windows, you can take free items as two players and see that each window lists only its own personal loot.
Tested
A listen server and a dedicated server in the editor, each with two clients, with 150 ms packet lag and 2% packet loss. The automation tests ship with the plugin.
They cover personal loot that no client holds for another player over a 30-frame check, two clients grabbing one item, the same round-robin owners on every client, Need beating Greed, a roll that closes at its deadline, and refusals for range and eligibility.
Limitations
No widget or input asset ships for your game. The demo panel is not a UI to ship.
On a listen server, the host's machine holds every player's personal drops. The host's player sees only their own.
The round-robin turn is one per world, not one per group.
No pity across drops (a guarantee after a run of bad luck), no master looter and no bonus rolls.
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:
Personal loot. Players roll alone and see only their own drops. No client receives another player's personal drops.
Free for all. The group shares one roll. If two players grab one item together, only one gets it.
Round robin. The group shares one roll, and each item goes to the next player in turn.
Need or Greed. After one group roll, each item gets a timed vote. Need beats Greed.
The server rolls. Clients never roll. You can set the seed for tests and replays.
Pickups and choices checked. A refusal is a Gameplay Tag, such as Taken or Not Yours.
Loot tables as data assets. Weights, rarity, counts, guaranteed items or rarity, more rolls for more players, and loot for all or nearby players.
Your inventory, your UI. One interface hands over picked-up items. Drops, rolls and answers are data and events.
Loot table editor. A wizard and a card with drop chances, validation, parts and preview.
Code Modules:
CoopKitLoot (Runtime)
CoopKitLootEditor (Editor)
CoopKitLootTests (Editor)
Number of Blueprints: 3
Number of C++ Classes: 28
Network Replicated: Yes
Supported Development Platforms: Windows: Yes, Mac: No
Supported Target Build Platforms: Windows
Documentation Link: https://reasp.pro/projects/coopkit/loot/ (newest version; Docs/README.md in the plugin matches yours)
Example Project: None. The plugin includes demo maps: L_LootDemo, L_LootOverview.
Important/Additional Notes:
Plugin version: 1.0.0
Unreal Engine versions: 5.4, 5.5, 5.6, 5.7, 5.8
Engine plugins required: none
Stability checked against: UE 5.4, 5.5, 5.6, 5.7, 5.8
No widget or input asset ships for your game. The demo panel is not a UI to ship.
On a listen server, the host's machine holds every player's personal drops. The host's player sees only their own.
The round-robin turn is one per world, not one per group.
No pity across drops (a guarantee after a run of bad luck), no master looter and no bonus rolls.
Network: listen server and dedicated server. The dedicated server is tested in the editor on a dedicated server world.
Blueprint API and C++ API.