> For the complete documentation index, see [llms.txt](https://fragmentdevelopment.gitbook.io/fivem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fragmentdevelopment.gitbook.io/fivem/paid-scripts/punishment/exports.md). Agents can also search and read this documentation through its [MCP server](https://fragmentdevelopment.gitbook.io/fivem/~gitbook/mcp).

# Exports

### List of available exports

```lua
@return Boolean
local result = exports["fm-punishment"]:newSanction({
    amount = number,
    reason: string,
    type: "comm" | "jail", -- One of these values

    issuer = {
        name: string,
        fwIdentifier: string,
    },

    playerData: {
        source: number,
        name: string,
        
        identifiers: {
            identifier: string, -- Framework identifier. (ESX = charid / QBCore or QBOX citizenid)
        }
    },
})
```
