Clanbite Points Abilities

Lists configured point type keys and display names from Clanbite Points settings.

Ability
clanbite-points/point-types
Label
Point types
Category
Access
Public

Input

Type: object

JSON Schema
{
    "type": "object",
    "properties": [],
    "additionalProperties": false
}

Output

PropertyTypeDescription
types requiredarray
JSON Schema
{
    "type": "object",
    "properties": {
        "types": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "singular": {
                        "type": "string"
                    },
                    "plural": {
                        "type": "string"
                    }
                }
            }
        }
    },
    "required": [
        "types"
    ]
}

Defined in inc/Points_Abilities.php