> For the complete documentation index, see [llms.txt](https://docs.elyxir.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elyxir.dev/commands/restarts/setup.md).

# /restarts setup

### Description

This command will allow you to easily setup the [Restarts Module](/features/restarts.md) which can send a message when your server restarts!

### Cheat Sheet

{% hint style="info" %}
`/restarts setup !channel: !connect-link: !ping:`

<mark style="color:red;">**Note:**</mark>**&#x20;Any parameter prefixed with&#x20;**<mark style="color:red;">**!**</mark>**&#x20;is required, the others are optional.**
{% endhint %}

**Permissions**

* Administrator

### Parameters

Parameters are the options you can pass if you want extra input or custom behaviour.

<table data-view="cards"><thead><tr><th>Parameter</th><th>Purpose</th><th>Options</th></tr></thead><tbody><tr><td><mark style="color:green;background-color:green;"><code>Channel</code></mark></td><td>The channel to announce restarts in</td><td><code>&#x3C;any></code></td></tr><tr><td><mark style="color:green;background-color:green;"><code>Connect Link</code></mark></td><td>The link to connect to your FiveM server with </td><td><code>&#x3C;any></code></td></tr><tr><td><mark style="color:green;background-color:green;"><code>Ping</code></mark></td><td>Whether or not to ping when the server restarts</td><td><code>YES</code> , <code>NO</code></td></tr></tbody></table>
