Skip to content

Unreal Engine 5 plugin for handling multiplayer game sessions

Notifications You must be signed in to change notification settings

denyskryvytskyi/MenuSystem

Repository files navigation

Multiplayer sessions plugin with menu

Plugin for handling multiplayer Unreal Engine 5 Project sessions across the Internet. Available options:

  • LAN
  • Steam

Getting started

To use the plugin in your project:

  1. Move the MultiplayerSessions folder to the Plugins folder in the root folder of your project.
  2. Enable the Online Subsystem Steam plugin for the project: in UE editor: Edit → Plugins: image
  3. Add settings to the config files in the Config folder:
    • Steam settings in DefaultEngine.ini:
    [/Script/Engine.GameEngine]
    +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
    
    [OnlineSubsystem]
    DefaultPlatformService=Steam
    
    [OnlineSubsystemSteam]
    bEnabled=true
    SteamDevAppId=480
    bInitServerOnClient=true
    
    [/Script/OnlineSubsystemSteam.SteamNetDriver]
    NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
    
    • Game session settings in DefaultGame.ini:
    [/Script/Engine.GameSession]
    MaxPlayers=100
    
  4. Regenerate project files: RMB on the .uproject → Generate Visual Studio project files.
  5. [Optional] You can use the menu widget of the plugin to host/join sessions through the UI in the following way (e.g. Level Blueprint): image

About

Unreal Engine 5 plugin for handling multiplayer game sessions

Resources

Stars

Watchers

Forks