Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (29 loc) · 530 Bytes

README.en.md

File metadata and controls

36 lines (29 loc) · 530 Bytes

#dynmapinfo

日本語

Asynchronous Dynmap client

Installation

% npm install dynmapinfo

Initialization

var DynmapInfo = require('dynmapinfo');  
var di = new DynmapInfo('dynmap.URL:port/path'); // <= set Dynmap URL(without "http://")

Usage

di.getPlayers(function(err, data){
  if(!err){
    console.log(data);
  }else{
    console.error(err);
  }
});

Methods

  • getWorlds
  • getPlayers
  • getMarkers
  • getTime
  • getWeather

Uho, good module...