Nocturnally Psychologizing Millipede

    minestat

    1.0.4 • Public • Published

    MineStat

    MineStat is a Minecraft server status checker.

    JavaScript example

    var ms = require('minestat');
    ms.init('minecraft.frag.land', 25565, function(result)
    {
      console.log("Minecraft server status of " + ms.address + " on port " + ms.port + ":");
      if(ms.online)
      {
        console.log("Server is online running version " + ms.version + " with " + ms.current_players + " out of " + ms.max_players + " players.");
        console.log("Message of the day: " + ms.motd);
        console.log("Latency: " + ms.latency + "ms");
      }
      else
      {
        console.log("Server is offline!");
      }
    });

    Install

    npm i minestat

    DownloadsWeekly Downloads

    12

    Version

    1.0.4

    License

    GPL-3.0

    Unpacked Size

    5.17 kB

    Total Files

    4

    Last publish

    Collaborators

    • ldilley