# Knowledge Base: How can I restrict sessions or lobbies to PC players only? 

**URL:** <https://forums.unrealengine.com/t/knowledge-base-how-can-i-restrict-sessions-or-lobbies-to-pc-players-only/2858045>\
**Category:** Tutorial & Course Discussions\
**Tags:** epic-online-services\
**Created:** [November 18, 2026, 6:25am UTC](https://forums.unrealengine.com/t/knowledge-base-how-can-i-restrict-sessions-or-lobbies-to-pc-players-only/2858045 "2026-11-18T06:25:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [November 18, 2026, 6:25am UTC](https://forums.unrealengine.com/t/knowledge-base-how-can-i-restrict-sessions-or-lobbies-to-pc-players-only/2858045/1 "2026-11-18T06:25:52Z")

</div>

For games that are not available on mobile, you can set the AllowedPlatformIds to EOS\_OPT\_Steam and EOS\_OPT\_Unknown when creating a session or lobby. This will prevent console players from joining the session or lobby. Note that EOS\_OPT\_Unknown include all platforms that are NOT: SwitchSonyXbox…  
  
[https://dev.epicgames.com/community/learning/knowledge-base/Eb2E4/epic-online-services-how-can-i-restrict-sessions-or-lobbies-to-pc-players-only](https://dev.epicgames.com/community/learning/knowledge-base/Eb2E4/epic-online-services-how-can-i-restrict-sessions-or-lobbies-to-pc-players-only)
