# ShooterGame Matchmaking where to start?

**URL:** <https://forums.unrealengine.com/t/shootergame-matchmaking-where-to-start/378724>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, CPP, Blueprint, question\
**Created:** [December 8, 2016, 5:18pm UTC](https://forums.unrealengine.com/t/shootergame-matchmaking-where-to-start/378724 "2016-12-08T17:18:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![poke1103](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poke1103](https://forums.unrealengine.com/u/poke1103)\
**Post date:** [December 8, 2016, 5:18pm UTC](https://forums.unrealengine.com/t/shootergame-matchmaking-where-to-start/378724/1 "2016-12-08T17:18:28Z")

</div>

So I recently begun work on a project which is going to need Matchmaking. I was wondering where I should start looking in the ShooterGame example for the functions which are used for connecting to a match, finding a match, and hosting a match. The best class in the project that I found was the ShooterGameSession.cpp file. However, I thought that GameSession extends from GameMode. The reason why I bring this up is because I read this “The session interface is created and owned by the OnlineSubsystem. This means it only exists on the server.” So does this mean that if I put my HostGame and JoinGame functions into the GameSession file it will not be accessible to players?

I have been able to implement the matchmaking perfectly fine inside of Blueprints but I wanted to do it within UE4++.

Am I in the right file? Or should I be looking elsewhere, besides the ShooterGameSession file?

[https://docs.unrealengine.com/latest/INT/Programming/Online/Interfaces/Session/](https://docs.unrealengine.com/latest/INT/Programming/Online/Interfaces/Session/)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9aa7bc0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9aa7bc0](https://forums.unrealengine.com/u/anonymous_user_d9aa7bc0)\
**Post date:** [December 8, 2016, 5:30pm UTC](https://forums.unrealengine.com/t/shootergame-matchmaking-where-to-start/378724/2 "2016-12-08T17:30:34Z")

</div>

If you want a start point for sessions in C++ take a look at this tutorial

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

It did wonders for me

Edit: Yeah I don’t think you should put the host and join functions inside the game session class. Put them in the game instance instead
