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

# Installation

### <mark style="color:$primary;">**Step 1**</mark>

Place the script in: <mark style="color:yellow;">`resources/tefox_restartalert`</mark>

### <mark style="color:$primary;">Step 2</mark>

Add to <mark style="color:$info;">`server.cfg`</mark>:

```lua
ensure tefox_restartalert
```

### <mark style="color:$primary;">Step 3</mark>

Open <mark style="color:$info;">`config.lua`</mark> and set:

* Your framework
* The disaster used for scheduled restarts
* How many minutes before the restart it should start
* Your allowed admins

### <mark style="color:$primary;">Step 4</mark>

Restart your server.
