Example Content

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 in the "Plugins" folder. If you don't see the folder 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. Follow the necessary steps in the Configuration page to configure the plugin.

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

  3. Change the default maps to KronosExampleMenu.

  4. Change the game instance class to BP_KronosExampleGameInstance.

  5. Go to Edit → Project Settings -> Plugins -> Kronos Matchmaking.

  6. 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.

Once you are done with the steps above, please take a look at the Testing & Debugging page to learn more about how you can test the plugin inside the editor.

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.

Fixing 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 ServerTravelToSession node with the map that you want to play the match on. You can create additional logic for your game that selects the map dynamically (e.g. select randomly from a list).

Last updated