Ivan Iaitckikh
EN RU

My projectsCoopKit

Plugin documentation

CoopKit Party

A party system for co-op games. Friends group up in the menu, chat and mark Ready, follow their leader into a match and come back together after it. Blueprint and C++. Tested on Null (LAN) by automation tests and live on Steam and EOS.

Unreal Engine versions
  • 5.6
  • 5.7
  • 5.8
On this page
  1. Supported engine versions
  2. Installation
  3. Quick start
  4. How it works
    1. Going into a match
    2. Friends, invites and privacy
    3. Member attributes
    4. Beacon net driver
  5. Blueprint API
    1. Ready-made menu: CKPartyMenuWidget
  6. Integration
    1. Gameplay Tags
    2. Components
    3. Interfaces (optional, implement on your actors)
    4. Events
    5. Replication
    6. Data assets
    7. CoopKit Hub
    8. Engine plugin dependencies
  7. Automation tests
  8. What is tested
  9. Limitations and known issues
  10. AI agent skills
  11. Works well with
  12. Changelog

A party for co-op games: players group up in the menu without loading a map, chat with ready phrases or short texts, and mark themselves ready. The party keeps its members through map changes. If the leader leaves or its game crashes, the next member by join order takes over and the others come back by themselves. The leader takes the whole party into a match, its own or someone else's, and the party is back together in the menu after the match.

The party runs on the engine's Online Subsystem (v1) and its online beacons, with no platform SDK calls. Null, Steam and EOS use the same code path. Steam and EOS were tested live with real accounts on Unreal Engine 5.8 (see What is tested).

Supported engine versions

Unreal Engine 5.6, 5.7 and 5.8. Platform: Windows (Win64).

Installation

Install the plugin from Fab, then enable CoopKit Party in Edit > Plugins and restart the editor. The plugin enables the engine plugins Online Subsystem and Online Subsystem Utils.

Quick start

Try it with the mouse:

  1. In the Content Browser, open Settings and turn on Show Plugin Content: the plugin's content is hidden until then. Open the map /CoopKitParty/Maps/L_PartyDemo and click Play.
  2. Click Play with 3 windows. Each window is a separate player.
  3. In the first window, click Create party. In the other two, click Find parties, then Join party 1.
  4. Click Ready in each window and send a line with the phrase buttons under Chat. In the first window (the leader), click a member's row, then Kick, Ban or Make leader.

A gamepad works too: the D-pad moves the highlight over the buttons, the A button clicks the highlighted one, B clears the selected member. The map /CoopKitParty/Maps/L_PartyOverview shows the leader's rules on stands.

In your project:

  1. In the Content Browser, click Add > CoopKit > Party Profile Data. The wizard asks for a Display Name (empty: the start profile's name, else the asset name without its DA_PartyProfile_ prefix), a profile to start from and a Session Type (empty: the start profile's, else CKParty). Set your own Session Type, so that your game finds only its own parties. The default settings suit a party of 2 to 4 players.
  2. For a ready-made menu, call Create Widget with the class CKPartyMenuWidget, then Set Profile on the widget with your profile, then Add to Viewport. The menu has the party, the chat and the friends list, and works with the mouse or a gamepad. Give it the focus (Set Input Mode UI Only or Game And UI with the widget) so that the gamepad reaches it. To build your own menu instead, follow the next steps.
  3. In your menu, get the CKPartySubsystem (a Game Instance Subsystem).
  4. The player who starts the party calls Create Party with the profile. It works in a standalone world, such as a menu, and needs a local player with an online id. On Create Complete reports the result.
  5. The other players call Find Parties with the same profile. On Search Complete lists the open parties. Call Join Party with one of them; On Join Complete reports the result.
  6. Bind On Roster Changed to show the members, the leader and the Ready marks, and On Chat Line to show the chat. Get Chat Line Text gives the text of a ready phrase or of a typed line.
  7. For friends (Steam or EOS): Read Friends, then Invite Friend or Join Friend Party with one of Get Friends; Show Invite UI opens the Steam overlay. An invite the player accepts is joined by the subsystem itself; On Invite Accepted reports it. If your game has its own Session Type, call Set Profile on the subsystem at start, so that invites match it.
  8. To try it in the editor: set Play > Net Mode to Play Standalone and Number of Players to 3. With the Null online subsystem every window is a separate player on your LAN.
  9. To go into a match, the leader calls Host Game (a map and the number of players) or Find Games, then Join Game with one of the results. The members follow by themselves. On Game Travel reports the result on every machine. To return to the menu, call Leave Game with your menu map; the party comes back together by itself.

How it works

  • The party is an online session named PartySession with the profile's session type. On Steam and EOS it is a lobby with presence, on Null a LAN session.
  • The leader's game opens a beacon: a small network connection outside the game's own traffic. Every member holds one connection to it. The leader keeps the list of members and sends it to everyone after every change, so each member always knows the whole party.
  • The leader sends a pulse every Pulse Interval Seconds (0.5 s by default). A member that misses it for Pulse Timeout Seconds (5 s) treats the leader as lost. Every member computes the same successor order from the party list: connected members first, each by join order. Place 0 leads at once. The member at place N waits N times Fallback Seconds Per Rank (12 s) for a new leader, then leads itself. The others find the new leader's session and join it again. If two leaders of one party meet, the one with more leader changes behind it stays; with an equal count, the one who joined earlier.
  • The leader keeps the place of an away member for Reconnect Window Seconds (30 s), then drops it.
  • The party list lives in the game instance, so it survives map changes. In a standalone world (a menu) the leader opens its beacon again after each map load, and the members reconnect. In a networked world (a match) the party is passive: the beacon stays closed and the list is kept until the players are back in a standalone world.

Going into a match

  • Only the leader takes the party into a match. Before anyone travels, the leader checks that the game has a place for every member of the party. If not, the call returns false, Get Last Game Failure gives Not Enough Seats, and nobody leaves the menu.
  • The leader sends every member a ticket: the leader's own game, or the session of someone else's game with its address. The leader travels once every member has confirmed the ticket, after at most 5 seconds.
  • Each member finds the same game from the ticket. On Steam and EOS it first asks the platform for the leader's session. Then it searches for the game by its attributes or its session id. On Null before UE 5.8, a search returns only one session per LAN host, so the leader's party session also carries the address of the game it hosts, and the member reads it from there. For someone else's game, the address from the ticket is the last resort. A member keeps trying for Game Follow Timeout Seconds (60 s).
  • A member that cannot get in stays in the party. On Game Travel reports Follow Failed, and the member rejoins the party when the leader is back in the menu.
  • After the match, the leader opens its beacon again and the members come back. Ready marks are cleared. A member that is back in the menu before its leader waits for it, with no time limit, for as long as the leader's party session can be found. If three searches in a row do not find that session, the leader counts as lost and the usual successor rules apply.
  • The session work is done by a game driver (ICKPartyGameDriver). The plugin's own driver uses the Online Subsystem session GameSession: a lobby with presence on Steam, a session without a lobby on EOS, a LAN session on Null. EOS lets a player be in one lobby with presence at a time, and the party is that lobby. If your game has its own lobby or matchmaking code, implement the interface in C++ and set your class in the profile (Game Driver Class) or call Set Game Driver.

Friends, invites and privacy

  • Read Friends reads the local player's friends list with presence from the platform (Steam friends, Epic account friends on EOS). Invite Friend first tells the leader to let that friend in, then the platform sends the invite. Any member may invite. Show Invite UI opens the Steam overlay; EOS has no overlay, so use the friends list there.

  • The subsystem listens for accepted invites from the start, so a game started from a Steam invite joins the party too. It takes only sessions of the profile's Session Type: an invite to a game session is left to your session code. From the menu it joins at once. From another party it leaves that party first. During a match it waits until the player is back in a standalone world. Call Set Profile at start if your game uses its own Session Type.

  • Join Friend Party asks the platform for the friend's session and joins it if it is a party of your Session Type.

  • The leader decides who gets into a Friends Only or Invite Only party, from its own records. A claim of the joining player never lets a stranger in:

    Who asks to joinOpenFriends OnlyInvite Only
    a player invited with Invite Friendyesyesyes
    a friend of the leader or of a member, without an inviteyesyesno
    such a friend who accepted an invite (the Steam overlay)yesyesyes
    anyone elseyesnono
    a banned playernonono
  • When the leader's own friends list does not have the player, the leader asks the members. Each member answers only yes or no; no friends list leaves its machine. The leader waits Friend Check Seconds (3 s). No answer counts as no friend, and the join is refused with Private. A player let in as a friend is remembered, so it comes back after a map change or a leader change without a new check.

Member attributes

A member attribute is a key and a value that one member sets for itself, for example a platform id that the leader needs for a group matchmaking ticket, a chosen hero or a preference. Party attributes are different: only the leader sets them, for the whole party.

  • Every member calls Set Member Attribute, the leader too. It works only in a party, in the menu. In a match, where the party is passive, it returns false.

  • A member sends the change to the leader. The leader checks it and sends the party list to everyone. On every machine, the value shows up in Get Member Attribute and in the member's entry of the party list (Attributes). On Member Attribute Changed fires when the new list arrives.

  • An empty value removes the attribute.

  • The attributes are part of the party list. A new leader has them, and so do all members after a map change. A member that returns after the leader dropped it sends them again when it rejoins. When a member leaves, its attributes are gone.

  • The leader checks every change:

    RuleLimitChecked on the member at once
    key1 to 64 characters: A-Z, a-z, 0-9, _, ., -; not Noneyes
    valueat most 256 characters; a longer value is refused, not cutyes
    attributes of one memberat most 16, and at most 1024 characters of keys and values togetheryes
    attributes of the whole partyat most 16384 characters of keys and values togetherno (the leader only)
    changesat most 10 per second from one memberyes

    Set Member Attribute returns false when a rule refuses the change on the member's own machine. When the leader refuses a change, the member is not told. The leader only writes a warning to its log, and the value never shows up in the party list.

Beacon net driver

The beacon needs the engine's BeaconNetDriver definition. UE 5.6, 5.7 and 5.8 define it in BaseEngine.ini, but a Steam or EOS setup usually loses it. The setup lists net drivers under [/Script/Engine.GameEngine], as the Steam and EOS setup of CoopKit Sessions does, and the game then uses only that list. If BeaconNetDriver is missing, the plugin adds it at startup with the same driver classes as GameNetDriver, so the beacon uses your game's transport (IpNetDriver on Null, SteamSockets on Steam, the EOS driver on EOS). On Steam this is what you want: the party session gives a Steam address, which the plain IP driver cannot reach. If neither is defined, the beacon cannot start and Create Party returns false. Get Beacon Driver Setup tells you what happened. To choose the driver yourself, define it in Config/DefaultEngine.ini, in the same section as your GameNetDriver:

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")

The leader's beacon listens on port 15000 by default (Beacon Port in the profile, or -BeaconPort= on the command line). If the port is busy, it takes the next free one and advertises it in the party session.

Blueprint API

All nodes are on the CKPartySubsystem.

NodeWhoWhat it does
Create Party (Profile)anyone not in a party, in a standalone worldcreates the party session and the leader's beacon
Find Parties (Profile)anyonesearches for open parties of the profile's session type
Join Party (Result)anyone not in a party, in a standalone worldjoins a party from the last search
Leave Partyanyone in a partyleaves; a leader first hands the party to the next member by join order
Set Ready (Ready)any membersets the local player's Ready mark
Send Chat Phrase (Index)any membersends one of the profile's ready phrases
Send Chat Text (Text)any membersends a short text, if the profile allows texts; the leader removes control characters and cuts it to the profile's length
Kick Member (Player Key)leaderremoves a member; it may join again
Ban Player / Unban Player (Player Key)leaderremoves a member and refuses its joins, also under the next leaders
Promote Member (Player Key)leaderpasses the leadership on; the old leader stays as a member
Set Party Attribute (Key, Value)leadera value every member receives (game mode, region, chosen map); an empty value removes it
Get Party Attribute (Key)anyonereads an attribute
Set Member Attribute (Key, Value)any member, the leader toosets one of the local player's own attributes in a party, in the menu; the leader checks it and the whole party gets it (a platform id, a chosen hero); an empty value removes it; false when refused here or while passive; see Member attributes
Get Member Attribute (Player Key, Key), Get Member Attributes (Player Key)anyonereads one attribute of a member, or all of them
Get State, Is In Party, Is Leader, Is Passiveanyonewhere the local player is
Get Roster, Get Members, Get Leader Key, Get Party Id, Get Local Player Keyanyonethe party as last known
Are All Members Readyanyoneevery connected member is ready
Get Chat History, Get Chat Line Textanyonethe chat, oldest first, and the text of a line
Get Search Resultsanyonethe results of the last Find Parties
Get Last Leave Reason, Get Last Refusal, Get Last Refusal Taganyonewhy the local player left, or why a join was refused
Get Last Leader Changeanyonethe last leader change: the reason, the new leader, how long it took
Get Party Tagsanyonethe local player's state as Gameplay Tags
Get Profileanyonethe profile in use: the one of the last Create, Find or Join, else the plugin's defaults
Get Beacon Driver Setupanyonewhether the engine defined BeaconNetDriver, the plugin added it, or it is missing
Host Game (Params)leader, in the menuhosts a game (map, players, attributes, travel options) and takes the party into it; refused at once when the game has fewer places than the party has members
Find Games (Params)anyonesearches for game sessions with the given attributes
Join Game (Game)leader, in the menujoins a game from the last Find Games and takes the party with it; refused at once when the game has fewer free places than the party has members
Leave Game (Map)anyone in a matchleaves the match for the menu map; the party comes back together by itself
Set Game Driver (Object)anyoneuses your own game driver (ICKPartyGameDriver) instead of the profile's
Get Game Phase, Get Last Game Failure, Get Last Game Ticket, Get Game Search Resultsanyonewhere the way into a game is, why it failed, the last ticket, the last Find Games results
Simulate Leader Crashleader, for testing (category CoopKit|Party|Testing, not in Shipping builds)the leader goes silent as if its game crashed
Read Friendsanyonereads the friends list with presence; On Friends Read reports it; Not Supported on Null
Get Friendsanyonethe friends of the last Read Friends: joinable first, then playing this game, then online
Invite Friend (Friend)any member, in the menuthe leader lets the friend in, then the platform sends the invite
Show Invite UIany member, in the menuopens the Steam invite overlay; Not Supported on Null and EOS
Join Friend Party (Friend)anyone not in a partyfinds the friend's party and joins it; On Join Complete reports the result
Get Last Friends Failureanyonewhy the last friends or invite call failed
Has Pending Invite, Cancel Pending Inviteanyonean accepted invite that waits (the player leaves its party first, or is in a match)
Set Profile (Profile)anyone not in a partythe profile before any Create, Find or Join: its Session Type decides which invites are party invites
Set Testing Friends (Player Keys)for testing (category CoopKit|Party|Testing)these keys stand in for the platform's friends list, so friends and private parties can be tested on Null

A member is identified by its Player Key: the unique net id of the player as a string, the same on every machine.

Ready-made menu: CKPartyMenuWidget

A UMG widget built in C++, with no Widget Blueprint and no CommonUI. Add it to your menu screen. The menu has room for 6 phrase buttons: it shows the first 6 phrases of the profile, and Validation warns when the profile has more. Send the others with Send Chat Phrase from your own menu. Out of a party it shows Create party, Find parties and one Join button per open party. In a party it shows one row per member, Ready, Invite friends and Leave party. The leader clicks a member's row for Kick, Ban and Make leader. The chat shows the last lines and one button per ready phrase. If the profile allows texts, it also shows a text box with Send; this is the only part that needs a keyboard, and it is optional. Friends shows the friends list with Invite or Join buttons. On Null it says that friends need Steam or EOS.

NodeWhat it does
Set Profile (Profile)the profile Create party and Find parties use; none uses the plugin's defaults
Set Show Player Numbers (Show)shows "Player N" by join order instead of online names (on Null the online name is the computer's name)
Navigate Focus (Direction), Confirm Focused, Backthe gamepad's moves for your own input: move the highlight, press the highlighted button, clear the selected member
Get Focused Button Namethe button with the highlight

The menu handles the gamepad itself while it has the focus: the D-pad or the left stick moves the highlight over the shown buttons, A (bottom face button) presses, B (right face button) clears the selected member.

Integration

How CoopKitParty talks to your project and to other plugins without compile-time links.

Gameplay Tags

TagKindSet byMeaning
CK.Party.State.InPartystateGet Party Tagsthe local player is in a party, also while it reconnects
CK.Party.State.LeaderstateGet Party Tagsthe local player leads its party
CK.Party.State.ReadystateGet Party Tagsthe local player is ready
CK.Party.State.ReconnectingstateGet Party Tagsthe local player is finding its leader again after a map change or a leader change
CK.Party.State.PassivestateGet Party Tagsthe players are in a networked world; the party waits without a beacon
CK.Party.Reject.PartyFull, .Banned, .WrongParty, .NotLeader, .InvalidPlayer, .PrivatereasonGet Last Refusal Tagwhy the leader refused a join

Components

The plugin adds no components. The party is a Game Instance Subsystem.

Interfaces (optional, implement on your actors)

The plugin defines one interface, for C++ classes (not actors): ICKPartyGameDriver hosts, finds, joins and leaves games for the party. Implement it to plug in your own session code; the plugin's own UCKPartyOnlineGameDriver is the default.

Events

All events fire on the local machine, on the CKPartySubsystem.

DelegateFiresPayload
On State Changedthe state changedthe new state
On Roster Changedmembers, Ready marks, the leader, bans, party attributes or member attributes changedthe roster
On Member Attribute Changeda new party list set, changed or removed a member's attribute; also the local player's own once the leader took it, and every attribute of a member that is new to the list; it fires after On Roster Changedthe member's Player Key, the key and the value (empty when removed)
On Chat Linea chat line arrived, also the local player's own once the leader relayed itthe line
On Leftthe local player is no longer in the partythe reason: Left, Kicked, Banned, Refused, Leader Lost, Connection Failed
On Leader Changeda new leader leads the partythe report: reason, old and new leader, times in milliseconds
On Search CompleteFind Parties finishedsuccess and the open parties
On Create Complete, On Join CompleteCreate Party or Join Party finishedsuccess
On Game Search CompleteFind Games finishedsuccess and the games found
On Game Travelthe local player's way into a game ended: in the game, or failedsuccess and the reason: Host Failed, Join Failed, Follow Failed
On Friends ReadRead Friends finishedsuccess, the reason (Not Supported, Friends Failed, Busy) and the friends
On Invite Acceptedthe local player accepted an invite to a party of this gamethe party and whether the subsystem joins at once

Replication

The party does not use the game's replication. Its messages travel on the leader's beacon, as calls of the beacon link ACKPartyBeaconClient:

CallDirectionReliable
Server Request Join, Server Set Ready, Server Send Chat, Server Leavemember to leaderyes
Server Pulsemember to leaderno
Server Game Ticket Ackmember to leaderyes
Server Note Invite, Server Friend Check Answermember to leaderyes
Server Set Member Attributemember to leaderyes
Client Check Friendleader to memberyes
Client Join Accepted, Client Join Refused, Client Roster Changed, Client Chat, Client Removed, Client Hand Over, Client Game Ticketleader to memberyes
Client Pulse, Client Leader Travellingleader to memberno

Data assets

Create them in the Content Browser: Add > CoopKit. Double-click opens the CoopKitParty data editor (Properties, Summary and Validation tabs).

Data typeWhat it setsValidation
UCKPartyProfileData (Party Profile)session type, size (2 to 64), privacy (Open, Friends Only, Invite Only), beacon port, when Ready marks are cleared, ready phrases, texts and their length, chat cooldown and history, pulse interval and timeout, reconnect window, successor fallback time, how long the leader waits for the members' friend answers, game driver class, how long members look for the leader's gamename and session type required; size 2 to 64; port 0 or 1024 to 65535; no empty phrase, at most 32 (a warning beyond 6, the number of phrase buttons of the ready-made menu); phrases or texts allowed; text length 1 to 500; history 1 to 500; pulse timeout at least twice the interval; reconnect window at least the pulse timeout; fallback more than 0; friend check 0.5 to 8 s; the game driver class implements ICKPartyGameDriver; follow timeout at least 5 s

Privacy. Every party session is advertised, so the members can find the next leader after a leader change. Find Parties shows only Open parties. The leader's beacon decides who gets into a Friends Only or Invite Only party (see Friends, invites and privacy).

CoopKit Hub

Data types of CoopKitParty with the CoopKitEntity class metadata appear in the CoopKit Hub (Tools > CoopKit Hub), next to the types of other installed CoopKit plugins. The hub opens on categories, one per entity type. Click one to list its entities, and click < Back to return.

From the hub you can:

  • open an entity card: the data editor with Summary and Validation tabs;
  • create a Party Profile with its wizard, starting from the plugin's defaults or from another profile;
  • check the project: IsDataValid of every entity.

New entities are created in the folder from EntityPathTemplate in the [CoopKit.Workspace] section of Config/DefaultEditor.ini. The default is /Game/CoopKit/{Folder}/{Name}.

Engine plugin dependencies

PluginRequired / OptionalStability (Beta / Experimental)
Online Subsystemrequiredstable
Online Subsystem Utilsrequiredstable

Automation tests

Run them in Tools > Session Frontend > Automation with the filter CoopKit.Party:

  • Protocol.*: who may join (also the privacy rules against claimed invites), the successor order, the next leader's party list, the session attributes, the choice between two leaders, text cleaning, the member attribute rules and limits, the BeaconNetDriver definition.
  • Net.BeaconGate: the plugin's beacons alone, between three Play In Editor windows with 150 ms lag and 2% packet loss.
  • Net.Membership: create, join by a search, Ready, chat, attributes, kick and rejoin, ban and the banned player's refused join, leave.
  • Net.LeaderLeaves: the leader leaves and the next member by join order leads; then a promotion.
  • Net.LeaderCrash: the leader goes silent; the members notice the missing pulse and the next member by join order leads.
  • Net.MapChange: all members change maps and come back; then only the leader changes maps.
  • Net.MemberAttributes: a member and the leader set their own attributes, and every member reads them and gets the event. The member refuses bad keys and long values at once. It also refuses more than 10 changes in a second. The attributes stay after a promotion and a map change. A member that leaves takes its attributes with it.
  • Net.GameHost: the leader hosts a game and both members get in; in the match the party is passive.
  • Net.GameJoin: two other players host games; the leader picks the small one and is refused before anyone travels, then joins the big one and the member follows.
  • Net.GameReturn: after the match the party is back together with the same leader, the beacon up and Ready marks cleared; a member back first waits for its leader.
  • Net.GameFollowFailure: a member that cannot follow stays in the party and rejoins it after the match.
  • Invites.Accept: friends and invites on Null refuse without errors; an invite to a game session is ignored; a forged invite to an Invite Only party is refused; Invite Friend lets the player in; an invite accepted in another party leaves it and joins the new one.
  • Invites.Privacy: a Friends Only party takes a friend of the leader and a friend of a member and refuses a stranger; an Invite Only party takes a friend with an accepted invite and refuses one without.
  • Demo.Party: three demo windows form a party with mouse clicks only: create, find and join, Ready, a chat phrase, Friends, kick, leave.
  • Demo.Gamepad: two demo windows do the same with the gamepad only.
  • Demo.RestartPlay, Demo.MapsLoad, Showcase.Boards: Play with 3 windows, the demo and overview maps, the boards' texts and tiles.
  • Data.ProfileEditor, Hub.*, Workspace.*, Skills.*, Tags.*: the profile, its editor window, the wizard and the hub.

The Net.* tests start three or four Play In Editor instances in one editor process and also run without a window.

What is tested

Tested:

  • On the Null online subsystem (LAN), by the plugin's automation tests: three or four Play In Editor instances in one editor process. The tests cover the party, leader changes after a leave and after a crash, map changes, going into a match and back, member attributes, and invites and privacy with stand-in friends (see Automation tests). The beacon test adds 150 ms lag and 2% packet loss on every connection.

  • The demo with mouse clicks only and with the gamepad only, by the automation tests (Demo.*).

  • On Steam, by hand: a packaged Development build of the sample project (the party goes into the game through CoopKit Sessions), Unreal Engine 5.8, Valve's test app 480, two Windows PCs on one network with two Steam accounts. The leader and the member swapped machines between runs. Times are from the game logs:

StepResult
Find Parties0.35 s, the party found
Join Party until the member is in the party1.6 to 1.8 s; the beacon runs on SteamSockets
The leader takes the party into the game until the member is in it7.7 to 8.1 s in 3 of 3 runs, with the 5-second Steam search timeout the plugin sets (see below); 15.6 to 17.6 s with the engine's 15-second timeout
The leader leaves the game until the member is back in the party1.4 to 1.5 s after the first and the second game (one Steam run on two PCs, with a CoopKit Sessions version that is not released yet)
A second game from the same leader on the same machineworks
The party lobby and the game lobby at the same timeboth Steam lobbies exist on the leader and on the member during the game

With the plugin's own game driver (no CoopKit Sessions), on the same two PCs: the member was in the leader's game 2.9 s after the leader started it, in 2 of 2 games, and back in the party 3.7 s after the first game and 9.7 s after the second. Both Steam lobbies existed during the game.

  • On EOS, by hand: a packaged Development build of the sample project (the party goes into the game through the plugin's own driver), Unreal Engine 5.8, one Windows PC with two game instances and two Epic accounts that are Epic friends. Times are from the game logs:
StepResult
Find Parties0.65 s, the party found
Join Party until the member is in the party2.4 s; the beacon runs on EOS peer-to-peer sockets
The leader takes the party into the game until the member is in it3.7 to 4.3 s in 4 of 4 runs
The leader leaves the game until the member is back in the party1.9 to 2.0 s after the first and the second game
A second game from the same leader on the same machineworks
Read Friendsthe other account is listed
Join Friend Party into a Friends Only partyjoined in 8.3 s (one run)
Join Friend Party into an Invite Only party, without an inviterefused with Private after 8.2 s
Invite Friend, then Join Friend Party into an Invite Only partyjoined in 2.7 s

EOS setup. Three things to know:

  • The plugin does not log the player in. Log the player in to EOS with an Epic account before Create Party or Find Parties. The first login to your product opens Epic's consent page in the browser.
  • Read Friends lists an Epic friend only after that friend has logged in to your game once.
  • EOS lets a player be in one lobby with presence at a time. A game driver that creates its own lobby with presence fails there with EOS_Lobby_PresenceLobbyExists. CoopKit Sessions creates such a lobby, so on EOS the sample project keeps the plugin's own driver.

Not tested live yet:

  • On Steam: invites, the Steam overlay, joining a friend and starting the game from an invite (the friends list was read, but the two test accounts were not Steam friends). With Valve's test app 480, Steam starts its Spacewar sample from an invite, not your game, so starting from an invite needs your own app id.
  • On EOS: accepting an invite (EOS has no invite overlay; the invited player used Join Friend Party), more than two players, two PCs, and engine versions other than 5.8.

Steam search timeout. The member searches for the leader's game while the party lobby changes. The engine's Steam search then never finishes on its own: it waits for its timeout and fails, on every supported engine version. The engine's timeout is 15 seconds. On Steam, the subsystem sets it to 5 seconds at start, so the member's next search, a second later, finds the game. The value is set in memory only and is not saved. If your project sets the key, its value is kept. To choose another value, add this to Config/DefaultEngine.ini:

[OnlineSubsystemSteam]
OnlineAsyncTaskSteamFindLobbiesBaseTimeout=5

No automated test covers:

  • an invite accepted during a match;
  • a member whose ticket confirmation arrives late.

See Limitations and known issues.

Limitations and known issues

  • Friends, invites, the Steam overlay and "join a friend" use the engine's Online Subsystem calls. They are tested on Null with stand-in friends, and on EOS with two Epic accounts: the friends list, Invite Friend, Join Friend Party and privacy. On Steam the friends list was read, but invites, the overlay and joining a friend were not tried, because the two test accounts were not friends.
  • With the sample's CoopKit Sessions bridge and CoopKit Sessions 1.1.0, the member's CoopKit Sessions takes the leader's return to the menu for a lost host. It tries to reconnect. In our test the member returned to the party 3.2 to 4.6 s after the first game and about 10 s after the second. A fix is planned in CoopKit Sessions: a leaving host will tell its clients.
  • A friend of a member who claims an invite gets into an Invite Only party, because the Steam overlay does not tell the game whom it invited.
  • An invite accepted during a match is joined after the match. No automated test covers this case.
  • The leader waits at most 5 seconds for members to confirm the ticket. A member whose confirmation does not arrive in time (a very slow connection) is not waited for: if the ticket reached it, it still follows the leader; if not, it stays in the menu and, after Reconnect Window Seconds, counts the leader as lost and the usual successor rules apply. No automated test covers this case. If the leader cannot travel after sending the tickets, the members may already be in the game without it.
  • EOS was tested with two Epic accounts on one PC and Unreal Engine 5.8 only (see What is tested). The plugin does not log the player in, and EOS has no invite overlay.
  • With the plugin's own driver, a member keeps its GameSession on its machine after the host closes the game. The driver destroys it before the next party game. If your own code creates a GameSession in between, destroy the old one first.
  • Starting the game from a Steam invite was not tested. With Valve's test app 480, Steam starts its Spacewar sample instead of your game. Test it with your own app id.
  • On Steam with the sample's CoopKit Sessions driver, following the leader takes about 8 s, because the engine's first search for the leader's game fails after the timeout (see Steam search timeout under What is tested). With the plugin's own driver it took 2.9 s in our test.

AI agent skills

The plugin includes a skill for AI coding agents. It is called coopkit-party. It works with Claude Code, and with Antigravity, Codex and other agents that read .agents/skills.

The skill needs a C++ project to build. If your project is Blueprint-only, the skill tells you how to add a C++ class first.

Ask your agent for a change around the party, for example "show a Reconnecting message while the party finds its new leader". In Claude Code you can also type /coopkit-party. The skill adds the change from your own C++ module and does not edit the plugin. If it has to edit the plugin as a last resort, it records the change in CHANGES-LOCAL.md. It also adds an automation test. Then it builds the Editor target with the engine's own build tool and runs the tests.

If the build cannot run, the skill tells you what to do:

  • On Windows, install Visual Studio 2022 with the "Game development with C++" workload, including MSVC and the Windows SDK.
  • If the editor is open with the project, close it, or use Live Coding in the editor to compile the change.

The skill can also edit CoopKitParty data in the open editor, without clicks. The editor module has UCKPartyAgentLibrary, a function library for Python and Editor Utility Blueprints (unreal.CKPartyAgentLibrary in Python). With it the agent lists, creates, describes, validates, exports and imports the data assets and gets the answers as JSON. You can ask your agent, for example: "make a new one, set its values and check it". The editor needs the Python Editor Script Plugin enabled in Edit > Plugins.

In Unreal Engine 5.8, an agent can also call the same functions through the engine's Unreal MCP server, with no Python script. The plugin contains the file Content/Python/init_unreal.py. The editor runs it at start and it registers the toolset init_unreal.CoopKitPartyToolset, so you install nothing in your project. To turn it on, open Edit > Plugins, search for Unreal MCP, tick it and restart the editor. It also enables the Toolset Registry and Python plugins that it needs.

Please note:

  • Unreal MCP and the Toolset Registry are experimental engine features. They may change in a later engine version.
  • When the server starts, the engine shows a notice that your data is sent to an LLM (an AI language model). Read it before you accept.
  • The server listens on 127.0.0.1 and has no authentication of its own, so any program running on your computer can call it. Turn it on only on a computer you trust, and only while you need it.
  • In engine versions without the Toolset Registry, or with Unreal MCP off, the file does nothing and the plugin works as before. The Python route above and the agent skill stay available on every supported version.

Install the skill into your project in one of two ways:

  • In the editor, use Tools > CoopKit > Install AI Agent Skills or the Install AI Agent Skills button in the CoopKit Hub window. This copies the skills of every enabled CoopKit plugin into .claude/skills/ and .agents/skills/ of your project. It asks before replacing skills that are already there. Replacing removes any edits you made to those skill files.
  • By hand, copy the plugin's folder Extras/AgentSkills/coopkit_party to <YourProject>/.claude/skills/coopkit-party and to <YourProject>/.agents/skills/coopkit-party. The new folder name has a hyphen. The plugin's folder has an underscore because Fab file names allow only letters, digits and underscores.

Then open your agent in the project folder and ask for the change.

Works well with

Each CoopKit plugin works on its own, and none of them needs another. They share Gameplay Tags, interfaces and the Gameplay Ability System, so you can connect them in your project. That takes a little work.

These plugins go with CoopKit Party:

  • CoopKit Sessions (Fab): A free plugin to host, find and join, with a lobby, ready checks, join in progress and reconnection.
  • CoopKit Matchmaking (Fab): A queue in one Blueprint node, a match of 2-4 players, the same host picked on every machine.

Changelog

See CHANGELOG.md next to CoopKitParty.uplugin and the Changelog section of the Fab listing.

More about CoopKit

Copyright 2026 Ivan Iaitckikh. Page updated