XLQP Gen1
ElementsAdvanced integrations

AddScriptHub

Adds a searchable, sortable script catalog.

AddScriptHub

What it does

Adds a searchable, sortable script catalog.

When to use it

Use it to present an approved set of scripts or tools with metadata and cached images.

TabFunction:AddScriptHub(HubConfig)

ScriptBloxTab:AddScriptHub({
    Name = "ScriptBlox Hub",
    Description = "Search, inspect, copy, and run ScriptBlox scripts.",
	Icon = "rbxassetid://7733920644",
    MaxResults = 8,
	SortBy = "updatedAt",
	Order = "desc",
	Strict = true,
	ImageCacheFolder = "VerbalHubExample/ScriptBloxImages",
    Collapsed = false
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

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