Operate My Server
Operate My Server (OMS) 是一款面向 Forge 的服务端实用工具模组,用于处理自动重启和服务生命周期控制。
如果你运行的是整合包 Minecraft 服务器,并希望实现计划内重启、玩家警告、更安全的关机处理以及可扩展的服务器自动化功能,且不想安装大量无关的实用工具模组,那么请使用 OMS。
轻量级、模块化设计,并支持通过附加组件进行扩展。
功能介绍
- 带有玩家警告的计划内服务器重启
- 集中化的重启与关机处理
- 模块化系统 - 功能可独立启用或禁用
- 支持附加组件以提供额外的服务器自动化和监控功能
基于条件的触发器(如低 TPS 检测、空服检测和健康检查)可通过 Watchdog Essentials 等附加组件提供。
为什么选择 OMS
大多数模组只解决一个问题。
OMS 提供了一个基础系统,让你可以:
- 仅运行你需要的功能
- 后续通过附加组件添加新行为
- 在不卸载整个模组的情况下禁用功能
设置简单,控制灵活,设计上支持扩展。
要求
服务端模组(客户端不需要)
- Minecraft 1.20.1
- Forge 47.4.0+
- KotlinForForge 4.11.0
计划支持更高版本的 Minecraft 和 Forge。
安装
下载:
OMS
Kotlin For Forge 4.11.0
所需文件:
oms-x.y.z.jar
kotlinforforge-4.11.0.jar
将它们放入你的 mods/ 文件夹中。
正常启动服务器即可——OMS 将自动初始化。
如需使用自动重启功能,请通过提供的 OMS 重启脚本 运行服务器。OMS 负责处理受控关机和重启请求,而脚本则重新启动 Java 进程。
请参阅 Restart Script Setup
基本用法
手动重启服务器:
/oms restart
查看可用的 OMS 功能:
/oms feature
启用或禁用某项功能:
/oms feature <feature> enable
/oms feature <feature> disable
使用 /oms feature 来控制功能,而无需从服务器中移除模组。
配置
主 OMS 配置文件:
world/serverconfig/oms-server.toml
每个附加组件可能会创建自己的配置文件。
附加组件
OMS 支持附加组件——即添加新功能的其他独立模组。
像安装其他模组一样安装它们:将 .jar 文件放入 mods/ 目录即可。
推荐从以下开始:
- Watchdog Essentials - 服务器监控和自动重启触发器。
更多附加组件即将推出……
文档
完整文档和指南可在 OMS Wiki 上找到。
想开发自己的附加组件?请查阅同一维基上的 Development Guide。
Operate My Server
Operate My Server (OMS) is a server-side utility mod for Forge that handles automated restarts and server lifecycle control.
Use OMS if you run a modded Minecraft server and want scheduled restarts, player warnings, safer shutdown handling, and expandable server automation without installing a bunch of unrelated utility mods.
Lightweight, modular, and built to be extended through addons.
What it does
- Scheduled server restarts with player warnings
- Centralized restart & shutdown handling
- Modular system - features can be enabled or disabled independently
- Addon support for extra server automation and monitoring features
Condition-based triggers such as low TPS detection, empty server detection, and health checks are provided through addons like Watchdog Essentials.
Why OMS
Most mods solve one problem.
OMS gives you a base system where you can:
- run only what you need
- add new behavior later via addons
- disable features without removing the whole mod
Simple setup, flexible control, and extensible by design.
Requirements
Server-side mod (client not required)
- Minecraft 1.20.1
- Forge 47.4.0+
- KotlinForForge 4.11.0
Support for newer Minecraft and Forge versions is planned.
Installation
Download:
OMS
Kotlin For Forge 4.11.0
Required files:
oms-x.y.z.jar
kotlinforforge-4.11.0.jar
Place them into your mods/ folder.
Start the server normally - OMS will initialize automatically.
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
Restart the server manually:
/oms restart
View available OMS features:
/oms feature
Enable or disable a feature:
/oms feature <feature> enable
/oms feature <feature> disable
Use /oms feature to control features without removing the mod from your server.
Config
Main OMS config:
world/serverconfig/oms-server.toml
Each addon may create its own config file.
Addons
OMS supports addons - separate mods that add new features.
Install them like any other mod: drop the .jar into mods/.
Start with:
- Watchdog Essentials - server monitoring and automatic restart triggers.
More addons coming soon…
Documentation
Full documentation and guides are available on the OMS Wiki
Want to build your own addons? Check the Development Guide on the same wiki
评论 0
登录后参与评分
还没有评论,来抢沙发吧