1. Home
  2. Docs
  3. GameLift
  4. Server
  5. Accepting Sessions

Accepting Sessions

ACCEPTING PLAYER SESSIONS (OPTIONAL)

The AwsCore::GameLiftServer plugin comes with a GameMode that you can use to make it easier to Accept player sessions, it has a overridable blueprint event called “PreLogin” that you can use to grab PlayerIds from.

REPARENT YOUR GAMEMODE BLUEPRINT TO GAMELIFTSERVERGAMEMODE

HOW TO ACCEPT PLAYER SESSIONS USING THE PRELOGINEVENT

HOW TO INCLUDE PLAYERID WHEN CONNECTING

You can send your PlayerId to the server by appending it to your Options string, this will make it available to the server when connecting and using it in the example above.

How can we help?