Clanbite Points General

<!-- wp:clanbite-points/points-balance /-->

Shows a player’s balance for a configured point type (XP, reputation, etc.). Uses the profile owner on player templates.

Dynamic

Block name
clanbite-points/points-balance
Title
Player points balance
Category
clanbite-points
Uses context
clanbite/playerId

Attributes

AttributeTypeDefaultValues
pointsTypeKeystring''
pointsUserIdnumber0
showLabelbooleantrue
showIconbooleantrue

Supports

{
    "html": false,
    "spacing": {
        "margin": true,
        "padding": true
    },
    "color": {
        "text": true,
        "background": true
    },
    "typography": {
        "fontSize": true,
        "lineHeight": true
    },
    "align": true
}

Markup

<!-- wp:clanbite-points/points-balance /-->

Defined in src/blocks/points-balance/block.json