Skip to content

DinacoStudio/mine-info-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineInfo New

Kind: global class

new MineInfo(logging, api_log, ping_log)

Param Type Default Description
logging Boolean false Сохранение логов в файл log.txt
api_log Boolean false Логи от api
ping_log Boolean false Логи от ping

Example

const Mine = new MineInfo(true, true, true);

mineInfo.getInfo(address, port) ⇒ Promise

Получение формированного объекта состоящего из самых важных данных о сервере

Kind: instance method of MineInfo

Param Type Description
address string Ip адрес сервера
port number Порт сервера

Example

const Mine = new MineInfo(true, true, true);
Mine.getInfo("MC.Hypixel.net").then(e => console.dir(e));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published