> For the complete documentation index, see [llms.txt](https://conboi.gitbook.io/oms-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://conboi.gitbook.io/oms-wiki/addons/watchdog-essentials.md).

# Watchdog Essentials

**Watchdog Essentials** is an optional addon for OperateMyServer that provides automatic server monitoring and restart triggers.\
It is designed to detect unsafe or undesirable server states and respond accordingly - typically by triggering a controlled restart through the OMS system.

***

### Included Features

Currently included features:

* [**Low TPS**](/oms-wiki/addons/watchdog-essentials/low-tps.md)\
  Triggers a stop if the server TPS stays below a defined threshold for a specified duration.
* [**Empty Server Shutdown**](/oms-wiki/addons/watchdog-essentials/empty-server-shutdown.md)\
  Stops the server when no players are online for a configured period.

***

### Configuration

The addon uses a single server-side config file:

```
world/serverconfig/watchdogessentials-server.toml
```

Each feature has its own sub-section with basic options like `enabled`, thresholds, and timers.

Detailed configuration instructions for each feature can be found on their respective pages.

***

### Installation

This addon is not bundled with OMS by default.\
To use it, download `watchdogessentials-x.y.z.jar` and place it into your `mods/` folder alongside OMS.

You can download Watchdog Essentials from:

* [CurseForge](https://www.curseforge.com/minecraft/mc-mods/watchdog-essentials)
* [Modrinth](https://modrinth.com/mod/watchdog-essentials)
* [OMS Maven](https://c0nnor263.github.io/OperateMyServer/maven/)

Kotlin For Forge 4.11.0:

* [CurseForge](https://www.curseforge.com/minecraft/mc-mods/kotlin-for-forge)
* [Modrinth](https://modrinth.com/mod/kotlin-for-forge)

Required files:

* `oms-x.y.z.jar` - the core OMS mod
* `kotlinforforge-4.11.0.jar` - required Kotlin runtime for OMS
