AddPlayerCard
This compatibility method behaves like AddPlayerVisualizer. Adds a visual player preview with optional overlay boxes and live coloring. It is kept so scripts written with the older AddPlayerCard name continue to work.
AddPlayerCard
Compatibility alias
AddPlayerCard is an alternate name for AddPlayerVisualizer. New code can use AddPlayerVisualizer.
What it does
This compatibility method behaves like AddPlayerVisualizer. Adds a visual player preview with optional overlay boxes and live coloring. It is kept so scripts written with the older AddPlayerCard name continue to work.
When to use it
Use it for avatar previews, player-selection tools, or visual configuration panels. Prefer AddPlayerVisualizer in new code so the method name matches the current API.
ElementFunction:AddPlayerCard(PlayerConfig)
local Result = Section:AddPlayerCard({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to AddPlayerVisualizer, 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
AddPinnedList
This compatibility method behaves like CreatePinnedList. Creates a list that separates pinned items from the rest. It is kept so scripts written with the older AddPinnedList name continue to work.
AddPluginManager
This compatibility method behaves like AddPlugins. Adds a plugin manager for local, inline, prebuilt, or approved remote plugins. It is kept so scripts written with the older AddPluginManager name continue to work.