XLQP Gen1
ElementsCompatibility aliases

CreateScriptHub

This compatibility method behaves like AddScriptHub. Adds a searchable, sortable script catalog. It is kept so scripts written with the older CreateScriptHub name continue to work.

CreateScriptHub

Compatibility alias

CreateScriptHub is an alternate name for AddScriptHub. New code can use AddScriptHub.

What it does

This compatibility method behaves like AddScriptHub. Adds a searchable, sortable script catalog. It is kept so scripts written with the older CreateScriptHub name continue to work.

When to use it

Use it to present an approved set of scripts or tools with metadata and cached images. Prefer AddScriptHub in new code so the method name matches the current API.

ElementFunction:CreateScriptHub(HubConfig)

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

Behavior and return value

This alias forwards to AddScriptHub, 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.