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.
Related reference
CreateFlip
This compatibility method behaves like CreateFlipButton. Creates a two-sided button that flips between front and back content. It is kept so scripts written with the older CreateFlip name continue to work.
CreateHoverTag
This compatibility method behaves like CreateCursorTag. Creates text that follows the pointer as a contextual cursor label. It is kept so scripts written with the older CreateHoverTag name continue to work.