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.
CreateScriptBlox
Compatibility alias
CreateScriptBlox 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 CreateScriptBlox 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:CreateScriptBlox(HubConfig)
local Result = Section:CreateScriptBlox({
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
CreateRuntimeMonitor
This compatibility method behaves like AddRuntimeMonitor. Adds an automatically refreshing set of runtime metrics. It is kept so scripts written with the older CreateRuntimeMonitor name continue to work.
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.