<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MineOps</title>
    <description>The latest articles on DEV Community by MineOps (mineops).</description>
    <link>https://dev.to/mineops</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F15945%2F3df14e9e-075e-435e-8386-0464328df520.png</url>
      <title>DEV Community: MineOps</title>
      <link>https://dev.to/mineops</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mineops"/>
    <language>en</language>
    <item>
      <title>Letting strangers ping any Minecraft server without turning our backend into an SSRF tool</title>
      <dc:creator>Ridh Grg</dc:creator>
      <pubDate>Fri, 13 Nov 2026 17:26:37 +0000</pubDate>
      <link>https://dev.to/mineops/letting-strangers-ping-any-minecraft-server-without-turning-our-backend-into-an-ssrf-tool-1pf7</link>
      <guid>https://dev.to/mineops/letting-strangers-ping-any-minecraft-server-without-turning-our-backend-into-an-ssrf-tool-1pf7</guid>
      <description>&lt;p&gt;We added a free page to MineOps where anyone can type a Minecraft server address and see what the multiplayer list would show: online or not, version, players and response time. No account.&lt;/p&gt;

&lt;p&gt;The feature is a few lines. The risk is the interesting part: our server now opens a TCP or UDP connection to whatever address a stranger types. Done naively, that's a server-side request forgery (SSRF) tool pointed at our own network, our cloud provider's metadata service and everyone's databases.&lt;/p&gt;

&lt;p&gt;Here's what the check does before it connects to anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Every DNS answer must be public
&lt;/h2&gt;

&lt;p&gt;A name can resolve to several addresses. If even one is private, we refuse the whole name, so a record can't mix a real server with an internal one.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;resolve_public&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;answers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;loop&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getaddrinfo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;socket&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;SOCK_STREAM&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;addresses&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromkeys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;answers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;public&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;addresses&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;Refused&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"That name leads to a private network, so it can't be checked from here."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;addresses&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;public()&lt;/code&gt; leans on Python's &lt;code&gt;ipaddress&lt;/code&gt; module, plus one trap it doesn't cover for you: IPv4 hidden inside IPv6.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;public&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;address&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ipaddress&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ip_address&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"%"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ipaddress&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;IPv6Address&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;inner&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ipv4_mapped&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sixtofour&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;teredo&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;inner&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="nf"&gt;public&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;inner&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_global&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_multicast&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_reserved&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;address&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;is_global&lt;/code&gt; already rules out private ranges, loopback, link-local (including 169.254.169.254, the metadata address) and the shared &lt;code&gt;100.64.0.0/10&lt;/code&gt; carrier-grade NAT range. Without the IPv6 unwrapping, &lt;code&gt;::ffff:10.0.0.5&lt;/code&gt; would slip past.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Connect to the address you checked, not the name
&lt;/h2&gt;

&lt;p&gt;If you check a name and then hand the name to your socket library, it resolves again. A DNS server with a short TTL can answer "public" the first time and "internal" the second. That's DNS rebinding. So the check resolves once and connects to that exact IP. The name only goes into the Minecraft handshake, where the game itself puts it.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Follow SRV records, under the same rules
&lt;/h2&gt;

&lt;p&gt;Java players often type a bare domain, and the game looks up a &lt;code&gt;_minecraft._tcp&lt;/code&gt; SRV record to find the real host and port. We do the same, and the record's target and port go through the same checks as a typed address. Otherwise an SRV record becomes a way around them.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Only ports a game server would use
&lt;/h2&gt;

&lt;p&gt;Ports below 1024 are refused, and so are well-known database, cache, queue, container and admin ports. Names that only mean something on a home network (&lt;code&gt;.local&lt;/code&gt;, &lt;code&gt;.lan&lt;/code&gt;, &lt;code&gt;.internal&lt;/code&gt;, &lt;code&gt;.home.arpa&lt;/code&gt; and friends) are refused before any lookup.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Say only a client's first words
&lt;/h2&gt;

&lt;p&gt;The check sends what a Minecraft client sends to list a server, and nothing else: Java's status request or Bedrock's unconnected ping. It reads at most 128 KiB, with 4-second timeouts.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Count before connecting
&lt;/h2&gt;

&lt;p&gt;Limits are checked before any socket opens: 10 checks a minute and 60 an hour per visitor, 12 a minute per target, and 600 a minute for everyone together. That's plenty for a person and useless for a scan.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's left
&lt;/h2&gt;

&lt;p&gt;A public game server will see our address in its connection log, and a server that hides its status shows as reachable with its status hidden. Both are fine for a status checker.&lt;/p&gt;

&lt;p&gt;If you build anything that connects to user-supplied addresses, a webhook tester, a link previewer or an uptime checker, the same list applies: check every answer, connect to what you checked, apply the rules to redirects and SRV records too, and rate limit before the socket.&lt;/p&gt;

&lt;p&gt;The checker is at &lt;a href="https://mineopsdash.com/minecraft-server-status?ref=devto" rel="noopener noreferrer"&gt;mineopsdash.com/minecraft-server-status&lt;/a&gt;. It's part of &lt;a href="https://mineopsdash.com/?ref=devto" rel="noopener noreferrer"&gt;MineOps&lt;/a&gt;, which watches Minecraft servers you host on your own Linux or Mac machine and alerts your Discord when one crashes, lags or fills its disk.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>python</category>
      <category>minecraft</category>
      <category>webdev</category>
    </item>
    <item>
      <title>MCStatusBot is gone. Here's a 40-line script that keeps your Minecraft server's status in Discord</title>
      <dc:creator>Ridh Grg</dc:creator>
      <pubDate>Fri, 13 Nov 2026 03:35:01 +0000</pubDate>
      <link>https://dev.to/mineops/mcstatusbot-is-gone-heres-a-40-line-script-that-keeps-your-minecraft-servers-status-in-discord-3o8f</link>
      <guid>https://dev.to/mineops/mcstatusbot-is-gone-heres-a-40-line-script-that-keeps-your-minecraft-servers-status-in-discord-3o8f</guid>
      <description>&lt;p&gt;MCStatusBot, the bot a lot of Discord communities used to show whether their Minecraft server was online, went offline on 1 September 2026. If your &lt;code&gt;#server-status&lt;/code&gt; channel has been frozen since then, this post gets it working again with a short Python script and a Discord webhook. No bot account, no open ports.&lt;/p&gt;

&lt;p&gt;The script keeps &lt;strong&gt;one&lt;/strong&gt; message in the channel and edits it every minute, so the channel never fills up with status posts:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🟢 &lt;strong&gt;play.example.com&lt;/strong&gt; is online: 3/20 players&lt;br&gt;
checked 14:02 UTC&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.9 or newer on any machine that's always on (it doesn't have to be the server).&lt;/li&gt;
&lt;li&gt;The &lt;a href="https://pypi.org/project/mcstatus/" rel="noopener noreferrer"&gt;mcstatus&lt;/a&gt; library: &lt;code&gt;pip install mcstatus&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;A Discord webhook: &lt;strong&gt;Server Settings → Integrations → Webhooks → New Webhook&lt;/strong&gt;, pick the channel, &lt;strong&gt;Copy Webhook URL&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The script
&lt;/h2&gt;

&lt;p&gt;Save this as &lt;code&gt;mc_discord_status.py&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#!/usr/bin/env python3&lt;/span&gt;
&lt;span class="s2"&gt;"""Keep one Discord message showing whether a Minecraft server is up."""&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timezone&lt;/span&gt;

&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;mcstatus&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;JavaServer&lt;/span&gt;

&lt;span class="no"&gt;SERVER&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"MC_ADDRESS"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;           &lt;span class="c1"&gt;# e.g. play.example.com or 1.2.3.4:25565&lt;/span&gt;
&lt;span class="no"&gt;WEBHOOK&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"DISCORD_WEBHOOK"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;     &lt;span class="c1"&gt;# the URL you copied from Discord&lt;/span&gt;
&lt;span class="no"&gt;STATE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"STATE_FILE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"~/.mc-status-message"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;expanduser&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;check&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;JavaServer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lookup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;SERVER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"🟢 **{SERVER}** is online: {status.players.online}/{status.players.max} players"&lt;/span&gt;
    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nc"&gt;Exception&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"🔴 **{SERVER}** is offline"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;req&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Content-Type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"User-Agent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"mc-status/1.0"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;stamp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;timezone&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;utc&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strftime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"%H:%M UTC"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{check()}\n-# checked {stamp}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;message_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;STATE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;STATE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exists&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;message_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"PATCH"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{WEBHOOK}/messages/{message_id}"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt;
        &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;HTTPError&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="mi"&gt;404&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;      &lt;span class="c1"&gt;# 404: someone deleted the message, post a new one&lt;/span&gt;
                &lt;span class="k"&gt;raise&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{WEBHOOK}?wait=true"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="no"&gt;STATE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;write_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"__main__"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;How it works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;JavaServer.lookup(...).status()&lt;/code&gt; does the same "server list ping" your Minecraft client does when it shows a server in the multiplayer list. It follows SRV records, so a domain without a port works.&lt;/li&gt;
&lt;li&gt;The first run posts a message with &lt;code&gt;?wait=true&lt;/code&gt;, which makes Discord return the message, and saves its id to a small state file.&lt;/li&gt;
&lt;li&gt;Every later run edits that message (&lt;code&gt;PATCH .../messages/&amp;lt;id&amp;gt;&lt;/code&gt;). If someone deletes it, Discord answers 404 and the script posts a fresh one.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-#&lt;/code&gt; is Discord's small grey "subtext" formatting, used here for the time of the last check.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Run it every minute
&lt;/h2&gt;

&lt;p&gt;Try it once by hand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;MC_ADDRESS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"play.example.com"&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;DISCORD_WEBHOOK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://discord.com/api/webhooks/..."&lt;/span&gt;
python3 mc_discord_status.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then add it to cron with &lt;code&gt;crontab -e&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* * * * * MC_ADDRESS=play.example.com DISCORD_WEBHOOK=https://discord.com/api/webhooks/... /usr/bin/python3 /home/you/mc_discord_status.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Treat the webhook URL like a password: anyone who has it can post in that channel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where a ping falls short
&lt;/h2&gt;

&lt;p&gt;A ping only sees what the server answers from outside. It can't tell a crash from a restart you did on purpose, it won't notice a server that's up but lagging, and a run that fails silently looks the same as "online" until someone checks.&lt;/p&gt;

&lt;p&gt;That's the gap I built &lt;a href="https://mineopsdash.com/?ref=devto" rel="noopener noreferrer"&gt;MineOps&lt;/a&gt; to fill for servers you run on your own Linux or Mac machine. A small agent next to the server (it only connects out, so no ports to open) keeps a live status message in Discord, marks planned stops and maintenance as planned, and sends separate alerts to your staff channel for crash loops, low TPS, a full disk or a failed backup. Two servers are free.&lt;/p&gt;

&lt;p&gt;If you only need the green dot back in &lt;code&gt;#server-status&lt;/code&gt;, the script above is all you need.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>minecraft</category>
      <category>discord</category>
      <category>python</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>How to get a Discord alert when your Minecraft server goes down</title>
      <dc:creator>Ridh Grg</dc:creator>
      <pubDate>Tue, 10 Nov 2026 05:56:56 +0000</pubDate>
      <link>https://dev.to/mineops/how-to-get-a-discord-alert-when-your-minecraft-server-goes-down-29m</link>
      <guid>https://dev.to/mineops/how-to-get-a-discord-alert-when-your-minecraft-server-goes-down-29m</guid>
      <description>&lt;p&gt;If you run a Minecraft server at home, the first sign it's down is usually a message from a player. Here's a free way to hear about it first, with a short script, a cron job and a Discord webhook. It takes about ten minutes on any Linux box.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Make a Discord webhook
&lt;/h2&gt;

&lt;p&gt;In your Discord server, open the channel you want alerts in, then Edit Channel, Integrations, Webhooks, New Webhook. Copy the webhook URL and keep it private, since anyone with it can post to that channel.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Install netcat
&lt;/h2&gt;

&lt;p&gt;On Debian or Ubuntu:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo apt install netcat-openbsd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Save the script
&lt;/h2&gt;

&lt;p&gt;Save this as &lt;code&gt;~/mc-check.sh&lt;/code&gt;, put your webhook URL in, and make it runnable with &lt;code&gt;chmod +x ~/mc-check.sh&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/usr/bin/env bash&lt;/span&gt;
&lt;span class="c"&gt;# Posts to Discord when the Minecraft server stops answering, and again when it's back.&lt;/span&gt;
&lt;span class="nv"&gt;HOST&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;127.0.0.1
&lt;span class="nv"&gt;PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;25565
&lt;span class="nv"&gt;WEBHOOK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://discord.com/api/webhooks/your-id/your-token"&lt;/span&gt;
&lt;span class="nv"&gt;STATE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$HOME/.mc-check-down"&lt;/span&gt;

send&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  curl -s -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; -d &lt;span class="s2"&gt;"{\"content\":\"$1\"}"&lt;/span&gt; &lt;span class="s2"&gt;"$WEBHOOK"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; nc -z -w 5 &lt;span class="s2"&gt;"$HOST"&lt;/span&gt; &lt;span class="s2"&gt;"$PORT"&lt;/span&gt; 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; -f &lt;span class="s2"&gt;"$STATE"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; rm -f &lt;span class="s2"&gt;"$STATE"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; send &lt;span class="s2"&gt;"Minecraft server is back up"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;fi&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; ! -f &lt;span class="s2"&gt;"$STATE"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; touch &lt;span class="s2"&gt;"$STATE"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; send &lt;span class="s2"&gt;"Minecraft server is down"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;fi&lt;/span&gt;
&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The state file is what stops it from posting every minute while the server stays down: you get one message when it goes down and one when it comes back.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Run it every minute
&lt;/h2&gt;

&lt;p&gt;Open &lt;code&gt;crontab -e&lt;/code&gt; and add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;* * * * * &lt;span class="nv"&gt;$HOME&lt;/span&gt;/mc-check.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Test it
&lt;/h2&gt;

&lt;p&gt;Stop your server, wait a minute, and the alert should land in Discord. Start it again and you'll get the all-clear.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this doesn't catch
&lt;/h2&gt;

&lt;p&gt;A port check only tells you the server accepts connections. It won't notice a server that's frozen but still holding the port, heavy lag, a full disk, or a crash loop that restarts faster than a minute. For those you need something that looks at the server process and its TPS.&lt;/p&gt;

&lt;h2&gt;
  
  
  The done-for-you version
&lt;/h2&gt;

&lt;p&gt;I build &lt;a href="https://mineopsdash.com/?ref=devto" rel="noopener noreferrer"&gt;MineOps&lt;/a&gt;, which does all of this without the script: it watches TPS, players, disk and crashes, posts to Discord or Slack, and on paid plans restarts a crashed server for you. The agent only connects outward, so there are no ports to open. It's free for 2 servers.&lt;/p&gt;

</description>
      <category>minecraft</category>
      <category>discord</category>
      <category>linux</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Run and Monitor Minecraft Servers on Your Own Hardware</title>
      <dc:creator>Ridh Grg</dc:creator>
      <pubDate>Sun, 08 Nov 2026 03:45:58 +0000</pubDate>
      <link>https://dev.to/mineops/how-to-run-and-monitor-minecraft-servers-on-your-own-hardware-h7a</link>
      <guid>https://dev.to/mineops/how-to-run-and-monitor-minecraft-servers-on-your-own-hardware-h7a</guid>
      <description>&lt;p&gt;The short answer: put MineOps on the Linux or macOS machine you already own, and it creates and monitors your Minecraft servers from one dashboard. You don't need new hardware or a separate hosting contract to get live status, alerts, and backups in one place.&lt;/p&gt;

&lt;h2&gt;
  
  
  What MineOps actually does
&lt;/h2&gt;

&lt;p&gt;MineOps creates new servers on your own hardware, ready to join, with plugins and mods from Modrinth. It also gives you live status, Discord and Slack alerts, world backups, and new servers in a few clicks, on the Linux or Mac machines you already own. Everything you run shows up in a single dashboard, so you're not tabbing between consoles.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting started on hardware you already have
&lt;/h2&gt;

&lt;p&gt;MineOps works with Minecraft servers on Linux or macOS machines. If you keep Crafty Controller in Docker, MineOps finds the servers it runs, so existing setups don't need to be rebuilt from scratch.&lt;/p&gt;

&lt;p&gt;Paper, Purpur, and Pufferfish get every MineOps feature. If you run a different server type, check what applies to your setup before you plan around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How monitoring reaches the dashboard
&lt;/h2&gt;

&lt;p&gt;A small agent on each machine connects out to MineOps, so the agent needs no open ports. This matters for anyone behind a home router or a locked-down firewall: the monitoring side doesn't require you to expose a new service.&lt;/p&gt;

&lt;p&gt;One thing people get wrong here: players still need their own way to reach the Minecraft server. The agent's outbound connection is about monitoring, not about making the game reachable. Plan your player access separately, whether that's a public address, a tunnel, or a VPN.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the alerts cover
&lt;/h2&gt;

&lt;p&gt;MineOps alerts cover machines offline, crash loops, low memory or disk, TPS drops, and failed backups. Those are the failures that usually go unnoticed until players complain, so wiring them to Discord or Slack means you hear about trouble before your community does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Backups and player insight
&lt;/h2&gt;

&lt;p&gt;MineOps runs scheduled world backups with checksums. A checksum tells you the backup file matches what was written, which is the difference between having a backup and believing you have one.&lt;/p&gt;

&lt;p&gt;MineOps shows who played, for how long, and your quietest hour for maintenance. That last one is practical: schedule restarts and updates when nobody is online instead of guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Control without giving up the keys
&lt;/h2&gt;

&lt;p&gt;Start, stop, moderation, and console stay off until you allow them, and every command lands in the audit log. If you run a server with other admins, that means you can hand out access without handing out a blank cheque.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits, plans, and what happens when you grow
&lt;/h2&gt;

&lt;p&gt;If you go over a plan limit on MineOps, nothing is deleted and nothing stops. That's worth knowing if you're sizing a plan for a community that spikes on weekends.&lt;/p&gt;

&lt;p&gt;The Free plan is $0 forever, with 2 Minecraft servers, 1 machine, 2 members, and 5 alert rules. Put simply, two Minecraft servers on one machine are free for good, which covers a lot of small communities and test setups.&lt;/p&gt;

&lt;p&gt;Above that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Plus plan is $4 per month, with 10 Minecraft servers, 2 machines, 3 members, and 25 alert rules.&lt;/li&gt;
&lt;li&gt;The Network plan is $7 per month, with 40 Minecraft servers, 5 machines, 10 members, and 100 alert rules.&lt;/li&gt;
&lt;li&gt;The Business plan is $25 per month, with 200 Minecraft servers, 20 machines, 50 members, and 500 alert rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On MineOps, a year costs the same as ten months, so annual billing is the cheaper way to commit. MineOps prices are in US dollars, before any sales tax.&lt;/p&gt;

&lt;p&gt;Everyone gets 14 days of Network, once, with no card needed. When the trial ends you keep everything on the free plan, and you can subscribe whenever you like. If you're unsure which tier fits, start on the trial, watch your alert volume and server count, then pick the plan that matches reality rather than the one that matches your hopes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who this fits
&lt;/h2&gt;

&lt;p&gt;This setup suits people who already run Linux or macOS boxes and want monitoring and management without adding another layer of vendor lock-in. It's less useful if your servers live somewhere you can't run the agent, or if you need a host to manage the underlying hardware for you. In those cases, this isn't the tool for the job.&lt;/p&gt;

&lt;p&gt;If self-hosting monitoring for your Minecraft servers is the goal, you can read more at &lt;a href="https://mineopsdash.com" rel="noopener noreferrer"&gt;https://mineopsdash.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>devops</category>
      <category>linux</category>
      <category>monitoring</category>
    </item>
  </channel>
</rss>
