ReaspPro - CoopKit Draft: Hero Select

Teams ban heroes, vote on bans, pick blind and swap heroes in the lobby or at match start, with seven ready modes or your own built from rules.

CoopKit Draft is for co-op and team games with a hero pick in the lobby or at the start of a match. In a blind pick, one team sees that its opponents have locked in, but not which heroes they took. The turn ends and reveals a Cleric and an Engineer. Then these two teammates swap heroes.

The server runs the draft from the first turn to the final picks, checks every request and keeps hidden picks secret. Your part is to fill the hero pool, choose a mode, add a component to your game state, build the draft screen and use the final picks to spawn heroes. The plugin changes none of your base classes.

Key features

  • Seven ready modes. Team Unique Pick, Snake Draft, Half Pool, Random Choices, Blind Pick, Reserve Draft and Team Vote Bans.

  • Swappable rules. Set the turn order, hero pool and checks, or write your own rules in C++ or Blueprint.

  • Bans and team votes. Captains ban heroes, or their teams vote. The captain or chance breaks a tie.

  • Hero limits. If set, a hero once per team or match, and a limit per role in a team.

  • Blind picks. Hidden from the other team, or from all other players, until the turn ends.

  • Time limits. You can add reserve time. At zero, the player gets a valid hero, hovered or random.

  • Hero swaps. Teammates offer, accept or decline them. Offers expire.

  • Checked by the server. Each pick, ban, vote and swap. A refusal gives the reason as a Gameplay Tag.

  • Blueprint events for your UI. Phases, turns, picks, bans, hovers, votes, swaps and refusals.

  • Data assets with their own editor. Modes and hero pools have Summary and Validation tabs.

Picks, bans and the clock

In Snake Draft, each captain bans a hero. Then the teams pick one player at a time in the order A, B, B, A. Half Pool offers everyone the same random half of the heroes, so the choice can change from draft to draft. Random Choices gives each player three random heroes.

All players get the countdown from the server clock, and your UI can gray out heroes they cannot choose. If a player does nothing in time, the draft still goes on. A missed ban is skipped.

Hidden picks and votes

The server sends each player only the hidden picks and votes that player may see. It also keeps the random seed, so clients get the result but not the seed.

In a ban vote, players see how their teammates vote. If you allow it, they can change their vote until the turn ends. The other team sees who has voted, but not the choice, and learns the banned hero when the turn ends.

Swaps after the draft

In the Blind Pick mode, teammates have 30 seconds after the last pick to swap heroes. The server checks a swap when it is offered and again when it is accepted. In your own modes, you can also allow swaps while players are still picking.

Making your own mode

You can copy a ready mode, change its rules and number of teams, and use your own hero pool. The pool stores each hero's id, name, role, icon and pawn class, and your game connects them to its own heroes.

The Summary tab describes the turns, pool and checks. Validation finds two heroes with the same id and warns about blind picks with a hero once per match.

Demo maps

Both maps and a pool of ten demo heroes ship with the plugin.

  • Demo map, ready to play. Start any mode with a button. Click to pick, ban and vote. Swaps need two teammates.

  • Overview map. On four stands, bots and players draft live in four of the modes.

Tested

Every mode on a listen server and on a dedicated server, with 150 ms packet lag and 2% packet loss on every connection. The tests cover picks, bans, refusals, timeouts, and hidden picks and votes that reach only the players who may see them.

Limitations

  • No draft screen ships with the plugin, only a demo panel.

  • Spawning heroes and giving them abilities is your game's part.

  • Votes have equal weight unless you write your own vote rule. Reserve time is per player, not per team, and vote turns use none.

  • In a blind pick with a hero once per match, a refusal reveals that someone picked that hero.

  • Tournament orders with fixed phases and sides need your own order rule.

  • Players who join during a draft are not part of it.

Links

Works well with

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

  • CoopKit Heroes: Heroes as data assets with look, skins, abilities and modules, and a hero choice the server checks.

  • CoopKit Sessions: A free plugin to host, find and join, with a lobby, ready checks, join in progress and reconnection.

Technical Information

Features:

  • Seven ready modes. Team Unique Pick, Snake Draft, Half Pool, Random Choices, Blind Pick, Reserve Draft and Team Vote Bans.

  • Swappable rules. Set the turn order, hero pool and checks, or write your own rules in C++ or Blueprint.

  • Bans and team votes. Captains ban heroes, or their teams vote. The captain or chance breaks a tie.

  • Hero limits. If set, a hero once per team or match, and a limit per role in a team.

  • Blind picks. Hidden from the other team, or from all other players, until the turn ends.

  • Time limits. You can add reserve time. At zero, the player gets a valid hero, hovered or random.

  • Hero swaps. Teammates offer, accept or decline them. Offers expire.

  • Checked by the server. Each pick, ban, vote and swap. A refusal gives the reason as a Gameplay Tag.

  • Blueprint events for your UI. Phases, turns, picks, bans, hovers, votes, swaps and refusals.

  • Data assets with their own editor. Modes and hero pools have Summary and Validation tabs.

Code Modules:

  • CoopKitDraft (Runtime)

  • CoopKitDraftEditor (Editor)

  • CoopKitDraftTests (Editor)

Number of Blueprints: 3

Number of C++ Classes: 40

Network Replicated: Yes

Supported Development Platforms: Windows: Yes, Mac: No

Supported Target Build Platforms: Windows

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

Example Project: None. The plugin includes demo maps: L_DraftDemo, L_DraftOverview.

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 draft screen ships with the plugin, only a demo panel.

  • Spawning heroes and giving them abilities is your game's part.

  • Votes have equal weight unless you write your own vote rule. Reserve time is per player, not per team, and vote turns use none.

  • In a blind pick with a hero once per match, a refusal reveals that someone picked that hero.

  • Tournament orders with fixed phases and sides need your own order rule.

  • Players who join during a draft are not part of it.

  • Network: listen server and dedicated server. The dedicated server is tested in the editor. The sample project's packaged dedicated server (Unreal Engine 5.8 built from source) includes the plugins, and two clients join it in a smoke test. On other engine versions you compile the Server target yourself.

  • Blueprint API and C++ API.