Skip to content

Nexus Ops

Server-side Discord status card and lag tools. Server-side only; players don't need to install anything, and unmodded clients can join.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Nexus Ops is a server-side management mod for dedicated Minecraft servers. It keeps one Discord status card up to date and can sample lagging block entities and living entities when an operator asks.

The card changes color with server health: green when things are healthy, yellow for a warning, red when the server is in a critical state, and gray if it goes offline. The title shows the server name and that state (for example, My Server • Healthy). Fields use plain language for TPS (current, plus 1-minute and 5-minute averages when available), MSPT average and peak, RAM, uptime, who is online, the busiest worlds, and the last lag scan.

Compatibility

Nexus Ops is server-side only: players don't need to install anything, and unmodded clients can join.

Currently available for NeoForge 1.21.1.

Features

  • One live Discord status card, created once and then edited in place
  • Color and title follow the worst of TPS, MSPT, and RAM (thresholds are configurable)
  • TPS with 1-minute and 5-minute averages when enough data is in, MSPT average and peak, RAM, uptime, player names, and per-world chunk/entity counts
  • Optional TPS-drop alerts with a cooldown
  • On-demand lag sampler for ticking block entities, living entities, and chunks
  • Operator teleport to a lag-sample result
  • Webhook URLs are never written to the state file or logs

Setup

  1. Drop nexusops-1.0.0.jar into the dedicated server mods folder and start the server once.
  2. Create a Discord webhook for the channel where the card should live.
  3. Paste the webhook URL into config/nexusops-server.toml (webhookUrl). Some servers write this file under world/serverconfig/ instead. Leave the URL empty to disable Discord.
  4. Optionally set server_name (otherwise the MOTD is used), the update interval, and health thresholds, then run /reload followed by /nexusops reload.
  5. Do not install the jar on clients, and do not share a real webhook URL.

Commands

All commands require permission level 2 (operator):

  • /nexusops status — print current TPS, MSPT, players, RAM, chunks, and entities
  • /nexusops lag [seconds] — sample lag for 5–60 seconds and list the top results
  • /nexusops tp <index> — teleport to a result from the last finished sample
  • /nexusops reload — reset webhook message state and alert cooldown (run Minecraft /reload first if you edited the toml)

Config

Main keys in nexusops-server.toml:

  • webhookUrl — empty disables Discord
  • server_name — name on the card and alerts; empty uses the MOTD
  • cardTitle — fallback if both server_name and the MOTD are empty
  • intervalSeconds — 15–300, default 60
  • tpsWarn / tpsCrit — warning below 19 TPS, critical below 15
  • msptWarn / msptCrit — warning at 40 ms, critical at 50 ms
  • ramWarnPercent / ramCritPercent — warning at 85% heap, critical at 95%
  • tpsAlertThreshold / alertCooldownSeconds — optional TPS-drop alerts
  • lagSampleSeconds / lagTopN — lag sampler defaults

License

MIT.

Made with help from AI tools.