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.
Related reference
CreateScriptBlox
This compatibility method behaves like AddScriptHub. Adds a searchable, sortable script catalog. It is kept so scripts written with the older CreateScriptBlox name continue to work.
CreateScrollIndicator
This compatibility method behaves like CreateScrollHint. Creates a hint that can prompt or automatically perform a scroll action. It is kept so scripts written with the older CreateScrollIndicator name continue to work.