# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://conboi.gitbook.io/oms-wiki/addons/watchdog-essentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
