跳到正文

Watchdog Essentials – OMS Addon

作者:c0nnor263

Server-side watchdog addon for OMS that monitors server health and automatically reacts to low TPS, low available memory, and long periods without players

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Watchdog Essentials

Watchdog Essentials (WE) is a server-side addon for Operate My Server (OMS) that adds automatic server monitoring and condition-based lifecycle actions.

Use Watchdog Essentials if you want your modded Minecraft server to react automatically to problems such as prolonged low TPS, critically low memory, or an empty server.

Each watchdog works as an independent feature and integrates directly with OMS restart and shutdown handling.

Lightweight, modular, and focused on server health monitoring.


What it does

  • Detects prolonged low TPS
  • Monitors available memory
  • Detects when the server stays empty
  • Can request restart or shutdown actions through OMS
  • Provides memory monitoring and diagnostic commands
  • Allows every watchdog feature to be configured, enabled, or disabled independently

Watchdog Essentials extends OMS with condition-based triggers while OMS remains responsible for centralized lifecycle handling.


Features

Low TPS

Monitors the server’s average TPS over a configurable period.

If TPS remains below the configured threshold long enough, Watchdog Essentials can request a server restart through OMS.

Useful for detecting prolonged server performance degradation automatically.

Low Memory

Monitors available JVM memory and detects sustained low-memory conditions.

When memory reaches a critical level, the watchdog can:

  • restart the server
  • shut it down
  • take no automatic action

It also includes optional diagnostics such as heap dumps and memory reports.

Empty Server

Tracks how long the server has been running without players.

After the configured timeout, Watchdog Essentials can automatically shut down the server or request a restart.

Useful for private servers, development servers, and other setups where keeping an unused server running is unnecessary.


Requirements

Server-side mod (client not required)


Installation

Download:

Watchdog Essentials

Operate My Server

Kotlin For Forge 4.11.0

Required files:

  • oms-x.y.z.jar
  • watchdogessentials-x.y.z.jar
  • kotlinforforge-4.11.0.jar

Place them into your server’s mods/ folder.

Start the server normally – Watchdog Essentials will register its features automatically through OMS.

For automatic restart functionality, run the server through the provided OMS restart script. OMS handles the controlled shutdown and restart request, while the script starts the Java process again.

See the Restart Script Setup


Basic usage

View available OMS features:

/oms feature

Enable or disable a Watchdog Essentials feature:

/oms feature <feature> enable
/oms feature <feature> disable

Watchdog Essentials also provides commands for memory monitoring and diagnostics.


Config

Watchdog Essentials config:

world/serverconfig/watchdogessentials-server.toml

Each watchdog has its own configuration section with thresholds, timing, actions, warnings, and other feature-specific options.


Documentation

Full configuration reference, commands, examples, and feature documentation are available on the OMS Wiki

常见问题

Watchdog Essentials – OMS Addon 支持哪些 Minecraft 版本?

Watchdog Essentials – OMS Addon 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Watchdog Essentials – OMS Addon 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

c0nnor263 的其他作品

查看全部 →