Skip to content
Minecraft Server Status for Minecraft 1.7+
C Shell Makefile Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
PKGBUILD
README.md
make.bat
mcstatusc.c

README.md

mcstatusc

Minecraft Server Status thingy

Build status

Why?

I was previously using Dinnerbone's mcstatus but it was quite slow, especially in Termux on my phone, taking multiple seconds to simply get the status... so here we are, and now it's fast.

Usage

mcstatusc <hostname> [port]

Example

$ mcstatusc 127.0.0.1 | jq
{
  "description": {
    "text": "A Minecraft Server"
  },
  "players": {
    "max": 20,
    "online": 1,
    "sample": [
      {
        "id": "REDACTED",
        "name": "REDACTED"
      }
    ]
  },
  "version": {
    "name": "1.14.3",
    "protocol": 490
  }
}

jq, incase you don't have it already.

Download

Arch

I supplied a PKGBUILD in this repo for now. If this ever gets more than 0 users, I'll try to throw it onto the AUR.

Windows

A binary is built for each commit on AppVeyor.

Others

Build it. See below.

Building on Linux

  • Install gcc for your distribution. Aliasing clang or tcc to gcc also works 🤷‍♂️
  • Run make

Building on Windows

License

MIT. See LICENSE in this repository for more info.

You can’t perform that action at this time.