> For the complete documentation index, see [llms.txt](https://tg-dev.gitbook.io/tg-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tg-dev.gitbook.io/tg-dev-docs/tg-bmphone/exports/server.md).

# Server

#### Add Reputation

```lua
exports['tg-bmphone']:addrep(target, amount)
```

Examples:

```lua
exports['tg-bmphone']:addrep(source, 50)
exports['tg-bmphone']:addrep('tgtest', 50)
```

#### Remove Reputation

```lua
exports['tg-bmphone']:removerep(target, amount)
```

Examples:

```lua
exports['tg-bmphone']:removerep(source, 25)
exports['tg-bmphone']:removerep('tgtest', 25)
```

Notes:

* `target` can be a player server ID or a BM handle.
* If a server ID is used, the player must have an active BM handle.
* Use the handle directly when the player is offline or not logged into the phone.
* Reputation is clamped by `Config.Reputation.max`.
