Skip to content
MCBridge
Docs

Features

Alerts & crash detection

Alerts go to the alerts channel you pick in /settings, and can ping a role you choose.

What gets an alert

  • Crashed: the server stopped answering and didn't shut down cleanly.
  • Stopped: a clean shutdown. This one doesn't ping anyone.
  • Plugin disconnected: the server still answers pings but the plugin lost its connection.
  • Lag: TPS below 15 for 3 checks in a row, with the busiest chunks and entities attached.
  • Back online: after any of the above.

How it tells a crash from a restart

The plugin sends a heartbeat every few seconds and a stop message when the server shuts down cleanly. If the heartbeats stop without a stop message, MCBridge checks whether the server still answers a status ping to decide between crashed and plugin disconnected. A quick reconnect doesn't cause a false alert.

Lag alerts

A lag alert fires when TPS stays below 15 for 3 checks in a row, and clears once TPS is back to 18 or more for 3 checks. It includes the same diagnostics as /lag. See Lag diagnostics.