A way to filter unwanted server data

The ID the tutorial uses is for Spacewar and many other steam devs use it for debugging networking. If you want to filter the list to just lobbies for your project, you can add the following to your game instance:

Inside CreateSession:
SessionSettings.Set(SEARCH_KEYWORDS, FString("MyUniqueKeyword"), EOnlineDataAdvertisementType::ViaOnlineServiceAndPing);

And inside Refresh Server List:
SessionSearch->QuerySettings.Set(SEARCH_KEYWORDS, FString("MyUniqueKeyword"), EOnlineComparisonOp::In);

1 Like

Thanks for sharing.