> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_report/custom-data.md).

# Custom Data

You could register your custom data to be gathered when report is created and to be shown in report detail.

Event always provide `playerId` and `identifier` and in callback data for the player should be returned

```lua
TriggerEvent('rcore_report:registerCustomPlayerValue', function(playerId, identifier, cb)
    local values = {
        {label = 'test1', value = 'test1'},
        {label = 'test2', value = 'test2'},
    }
    cb(values)
end)
```
