Skip to content

Minecraft server status request tool for servers running 1.7+

License

Notifications You must be signed in to change notification settings

JerwuQu/mcstatusc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcstatusc

Minecraft Server Status thingy

Build

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] [protocol version]

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 by Github Actions.

Others

Build it. See below.

Building on Linux

  • Install gcc for your distribution
  • Run make

Building on Windows

License

MIT. See LICENSE in this repository for more info.

About

Minecraft server status request tool for servers running 1.7+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published