<!-- 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
| Attribute | Type | Default | Values |
|---|---|---|---|
pointsTypeKey | string | '' | |
pointsUserId | number | 0 | |
showLabel | boolean | true | |
showIcon | boolean | true |
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