Rss

  • youtube

SteamCore:: Plugin

What is the SteamCore Plugin?

The SteamCore Plugin is a Steam API Plugin that enables you to utilize Steamworks for your Unreal Engine 4 Games

Official Documentation
https://partner.steamgames.com/doc/api
Overview
https://partner.steamgames.com/doc/sdk/api

EXAMPLES & LINKS

PURCHASE

VIDEO DEMONSTRATION

GETTING STARTED

Make sure the SteamCore:: plugin is enabled
Right click in any blueprint and search for “steamcore” to see the available subsystems and functions/methods
Make sure Steam is Enabled in the Project Settings > SteamCore Plugin, using AppID 480 is fine for testing, but you will have to use your own AppID for testing modules like User Stats, Achivements and other things.
You are required to run the game in “Standalone Game” mode when testing Steam Functionality.

EXAMPLE PROJECT

You can download the Example Project here:
https://github.com/huklen/SteamCore_Example/archive/master.zip

You must own the SteamCore plugin to use this example project

SETTINGS

  • ForceGameThreadExecution
    Should we force delegate exeuctions on the game thread?
    This is required if we are binding delegates in UMG widgets since they have to be called on game thread or slate thread.
  • Enabled
    Enable / Disable Steam
  • bRelaunchInSteam
    Should the game force a relaunch in Steam if the client isn’t already loaded
  • bVACEnabled
    Enable Steam VAC
  • bAllowP2PPacketRelay
    Should Steam P2P sockets all fall back to Steam servers relay if a direct connection fails
  • P2PConnectionTimeout
    Timeout (in seconds) period for any P2P session
  • SteamAppID
    AppID of your application
  • SteamDevAppID
    SteamDevAppID of your application
  • Port
    Steam Server Port
  • GameServerQueryPort
    Steam Server Query Port
  • GameVersion
    Current game version

ADDITIONAL STEAM SETTINGS

DefaultEngine.ini

Open your Projects DefaultEngine.ini located in \ProjectDir\Config\DefaultEngine.ini, paste the code (or parts of it) shown below and customize to your needs.

MAKE SURE you don’t already have these settings in your Config file before copy-pasting.

[URL]
GameName=YourGameName
Port=7777

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=True
SteamDevAppId=480
bVACEnabled=True
SteamAppId=480

[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=1000000000 
MaxInternetClientRate=1000000000
InitialConnectTimeout=120.0 

[/Script/Engine.Engine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"