Kronos Matchmaking
Buy NowContact
  • About
    • Kronos LTS
    • Support
    • Accolades
  • Examples
    • Playable Demo
    • Sample Project
    • Example Content
  • Configuration
  • Testing & Debugging
  • Usage
    • Getting Started
    • Authentication
      • Authenticating Users
      • Customizing The Auth Widget
      • Creating Custom Auth Tasks
    • Matchmaking
      • Overview
      • Creating Matches
      • Starting Matchmaking
      • Canceling Matchmaking
      • Using Skill Ratings
      • Sending Match Invites
      • Joining Matches
      • Leaving Matches
    • Party
      • Overview
      • Creating Parties
      • Sending Party Invites
      • Joining Parties
      • Managing Party Players
      • Party Player Actors
      • Leaving Parties
    • Reservations
      • Overview
      • Using Reservations
      • The Host Reservation
      • Completing Reservations
    • Lobby
      • Overview
      • Lobby Setup
      • Set Players Ready
      • Lobby Player Data
      • Starting The Match
      • Updating Lobby Session
      • Leaving The Lobby
    • Widgets
  • Guides
    • Creating a Level Selector
    • Integrating with Lyra Game
    • Integrating with EIK
  • Advanced
    • Steam Sockets
    • Reconnect Parties
    • Custom Party Variables
    • Player Groups
  • Changelog
    • API Upgrades
    • Legacy
Powered by GitBook
On this page
  • Using the Examples In Your Own Project
  • Changing the Match Map of the Lobby
  1. Examples

Example Content

PreviousSample ProjectNextConfiguration

Last updated 9 months ago

The plugin ships with a set of example blueprints, maps, and widgets that are meant to serve as an example on how to use some of the more important features of the plugin. Feel free to customize and use these blueprints in your own project!

The examples can be found in the Content Browser inside the "Plugins" folder. If you do not see this folder then please make sure that the "Show Engine Content" and "Show Plugin Content" settings are enabled in the view options of the content browser.

IMPORTANT: Do not modify these assets directly! Since they reside in the plugin's content folder, you'll lose all changes in them once you update the plugin in the future. Always copy the blueprints into your own project's Content folder before modifying them.

Using the Examples In Your Own Project

Two example maps are included (main menu + lobby) with preconfigured game modes, widgets, and other blueprints that you can use to quickly implement the plugin into your project.

To have a fully functioning experience out of the box, please follow the steps below:

  1. Go to Edit → Project Settings -> Maps & Modes.

  2. Change the default maps to KronosExampleMenu.

  3. Change the game instance class to BP_KronosExampleGameInstance.

  4. Go to Edit → Project Settings -> Kronos Matchmaking.

  5. Change all Kronos classes to the example classes (where possible) such as the online session class, party classes, reservation classes and the user manager class.

If you try playing now you'll see that you have a main menu, where you can join or create parties and matches alike. Afterwards you'll end up in a lobby where you can ready up, wait for other players, and travel to a match.

Changing the Match Map of the Lobby

Since there is no example match map provided, by default the lobby will transition into the default template map with an empty game mode.

To fix this, open the BP_KronosExampleLobbyGameMode blueprint and simply replace the map name given in the ServerTravelToLevel node with the map that you want to play the match on. The map name can be given in the following formats (without the quotes):

  • Short package name: "MyMap"

  • Long package name: "/Game/Maps/MyMap" (recommended)

In packaged projects you can only travel to maps that were included for packaging. You can do this by going to Project Settings -> Packaging and in the advanced options look for the "List of maps to include in a packaged build".

Follow the necessary steps in the page to configure the plugin.

Configuration