game-common / / PartyPlugin / initializeParty /

initializeParty #

abstract suspend fun initializeParty(party: Party, requestExt: ExtCreateRequest, partyConfig: PartyConfig)

Called when a new party is created before any players have been added. Use to initialize any party state. Perform any state mutations directly on the party object.

Used by:

  • PartyService.createV1

Parameters #


The newly created party. Does not yet have players added to it.


Customer-defined ext data providing information about initialization request.


The current service-level PartyConfig.