ReaspPro - CoopKit Party: Co-op Party

Friends group up in the menu and stay together into a match and back, and the party carries on if its leader leaves or crashes.

CoopKit Party is for co-op games that friends start as a group. Two players join the leader's party in the main menu. One sends "Wait for me", and soon all three are marked Ready. The leader hosts a match and the other two follow. After it, all three are back in the same party.

The plugin forms the party, keeps its member list up to date on every machine and takes it into the game. Your part is to create a party profile, set up Steam or EOS if you use them, add the ready-made menu or build your own, and provide the match. You inherit from no plugin class.

Key features

  • Party in the menu. Create, find and join, Ready marks, chat with ready phrases or short texts, kick, ban and make leader.

  • Leader changes. If the leader leaves or crashes, the next member takes over and the others come back by themselves.

  • Into a match and back. The leader hosts or joins a game with room for the whole party, and the members follow.

  • Friends, invites and privacy. Open, Friends Only and Invite Only parties. Friends and invites need Steam or EOS.

  • Shared attributes. The leader sets party values, and each member its own, such as a chosen hero.

  • Ready-made menu. Party, chat and friends for the mouse or a gamepad, built in C++.

  • Editor tools. A party profile data asset with a wizard, a Summary and a Validation tab.

  • Your own session code. It connects through one C++ interface. The included driver uses the Online Subsystem.

When the leader drops out

After a crash, members notice the silent leader after 5 s by default. The next leader is the first connected member by join order. The party keeps its attributes and bans, and a member that drops out keeps its place for 30 s by default.

No map loads to form a party. Each member has a small connection to the leader, outside your game's own traffic. The member list survives map changes, and back in the menu the members reconnect.

A place for everyone

A party of three that picks a game with two free places is refused before anyone travels, so the leader can look for a bigger game. A member that cannot follow stays in the party and rejoins when the leader is back in the menu.

After the match, the leader is the same and the Ready marks are cleared.

Who gets in

A Friends Only party also takes friends of its members. When the leader does not know a player, it asks the members. Each member's game answers only yes or no, so no friends list leaves its machine.

Demo maps

Both maps ship with the plugin.

  • Demo map, ready to play. Form a party in three windows with the mouse or a gamepad.

  • Overview map. Stands show the leader's rules. No real party forms there.

Tested

Automation tests run on Null (LAN), with three or four Play In Editor instances in one editor process. Friends are stand-ins there. The beacon test adds 150 ms packet lag and 2% packet loss on every connection.

Live, with a packaged build on Unreal Engine 5.8 and two accounts:

  • Steam (two PCs, Valve's test app 480): party found in 0.35 s, joined in 1.6 to 1.8 s. Member in the leader's game 2.9 s after the start, back in the party 3.7 s after the first game and 9.7 s after the second (the plugin's own driver).

  • Steam, through CoopKit Sessions (a bridge from the sample project, not in the plugin): in the game in 7.7 to 8.1 s. With Sessions 1.1.0, back in 3.2 to 4.6 s after the first game and about 10 s after the second.

  • EOS (one PC, two Epic accounts, the plugin's own driver): found in 0.65 s, joined in 2.4 s, in the leader's game 3.7 to 4.3 s after the start, back in the party 1.9 to 2.0 s after the game. The friends list, inviting a friend, joining a friend's party and privacy were tried too.

Limitations

  • Steam and EOS were tested live with two players on Unreal Engine 5.8 only. Not tried live: Steam invites, the Steam overlay, joining a Steam friend, accepting an EOS invite, three or more players, EOS on two PCs.

  • On EOS your game logs the player in with an Epic account, and there is no invite overlay.

  • On EOS, session code that creates its own lobby with presence, as CoopKit Sessions does, fails while the player is in a party.

  • On Steam, a friend of a member can get into an Invite Only party by claiming an invite.

  • An invite accepted during a match is joined after it. No automated test covers this.

  • Typed chat needs a keyboard.

Links

Works well with

Each CoopKit plugin works on its own. Connecting them takes a little work in your project.

Technical Information

Features:

  • Party in the menu. Create, find and join, Ready marks, chat with ready phrases or short texts, kick, ban and make leader.

  • Leader changes. If the leader leaves or crashes, the next member takes over and the others come back by themselves.

  • Into a match and back. The leader hosts or joins a game with room for the whole party, and the members follow.

  • Friends, invites and privacy. Open, Friends Only and Invite Only parties. Friends and invites need Steam or EOS.

  • Shared attributes. The leader sets party values, and each member its own, such as a chosen hero.

  • Ready-made menu. Party, chat and friends for the mouse or a gamepad, built in C++.

  • Editor tools. A party profile data asset with a wizard, a Summary and a Validation tab.

  • Your own session code. It connects through one C++ interface. The included driver uses the Online Subsystem.

Code Modules:

  • CoopKitParty (Runtime)

  • CoopKitPartyEditor (Editor)

  • CoopKitPartyTests (Editor)

Number of Blueprints: 3

Number of C++ Classes: 33

Network Replicated: Yes

Supported Development Platforms: Windows: Yes, Mac: No

Supported Target Build Platforms: Windows

Documentation Link: https://reasp.pro/projects/coopkit/party/ (newest version; Docs/README.md in the plugin matches yours)

Example Project: None. The plugin includes demo maps: L_PartyDemo, L_PartyOverview.

Important/Additional Notes:

  • Plugin version: 1.0.0

  • Unreal Engine versions: 5.6, 5.7, 5.8

  • Engine plugins required: OnlineSubsystem, OnlineSubsystemUtils

  • Stability checked against: UE 5.6, 5.7, 5.8

  • Steam and EOS were tested live with two players on Unreal Engine 5.8 only. Not tried live: Steam invites, the Steam overlay, joining a Steam friend, accepting an EOS invite, three or more players, EOS on two PCs.

  • On EOS your game logs the player in with an Epic account, and there is no invite overlay.

  • On EOS, session code that creates its own lobby with presence, as CoopKit Sessions does, fails while the player is in a party.

  • On Steam, a friend of a member can get into an Invite Only party by claiming an invite.

  • An invite accepted during a match is joined after it. No automated test covers this.

  • Typed chat needs a keyboard.

  • Network: the party travels on online beacons, outside your game's replication. In a match the party waits and your game's own networking runs the match.

  • Online services: Online Subsystem Null (LAN, automation tests), Steam and EOS through the same Online Subsystem calls (tested live on Unreal Engine 5.8).

  • Blueprint API and C++ API.