> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aliyahs.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Server Exports

> This is the server exports for the script

<div style={{height: 1, borderRadius: 10, width: '100%', backgroundColor: 'rgba(255, 255, 255, 0.3)'}} />

<h3>Send Community Service</h3>
This sends the player to the community service

```lua
exports['aliyahs-comserv']:Comserv(target, source, amount, reason)
```

<h3>Send Community Service</h3>
This ends the players community service

```lua
exports['aliyahs-comserv']:EndComserv(target, source)
```

<h3>Get Community Serviced</h3>
This returns the community serviced players (returns an array) (reason, staff (name), amount and reason)

```lua
local communityServiceActive = exports['aliyahs-comserv']:GetComserved()
```
