XLQP Gen1
ElementsCompatibility aliases

CreateGameSession

This compatibility method behaves like AddGameSession. Adds game-session controls for supported places, rejoining, server hopping, history, and queued re-execution. It is kept so scripts written with the older CreateGameSession name continue to work.

CreateGameSession

Compatibility alias

CreateGameSession is an alternate name for AddGameSession. New code can use AddGameSession.

What it does

This compatibility method behaves like AddGameSession. Adds game-session controls for supported places, rejoining, server hopping, history, and queued re-execution. It is kept so scripts written with the older CreateGameSession name continue to work.

When to use it

Use it for multi-place hubs or tools that must preserve their loader across teleports and track recent sessions. Prefer AddGameSession in new code so the method name matches the current API.

ElementFunction:CreateGameSession(SessionConfig)

local Result = Section:CreateGameSession({
    Name = "Example",
})

Behavior and return value

This alias forwards to AddGameSession, so its options, callbacks, and returned value follow the canonical method.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.