Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
/ labynode Public archive

(Deprecated) nodejs package for several labymod services

Notifications You must be signed in to change notification settings

6lyxt/labynode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: this repo is deprecated, and will not be maintained anymore.

Use this instead: https://github.com/masterjanic/node-labymod

labynode

labymod nodejs wrapper

Installation

You can simply install it via npm i labynode --save.

Documentation

  • getStatus(callback) - gets the labymod server status
  • getCosmetics(uuid, callback) - gets the cosmetics of a player
  • getEmotes(uuid, callback) - gets the emotes of a player
  • getDailyEmotes(callback) - gets the emotes which are in the shop right now
  • getShopEmotes(type, callback) - gets the emotes out of the shop. (Type can be user, plus or all)
  • getRoles(uuid, callback) - gets the players roles (e.a developer, moderator)
  • getStickers(uuid, callback) - gets the stickerpacks of a player

Credits

  • lyxt
  • CA_CrazyS1TV

Examples

This example would get the Server status of LabyMod.

labynode.getStatus(function(status){
   console.log(status);
})

This one would get you the cosmetics of an user.

labynode.getCosmetics("03094341-36dd-4093-9889-a7a4cc02f108", function(cosmetics){
    console.log(cosmetics);
 })

About

(Deprecated) nodejs package for several labymod services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published