A node.js library for the Minecraft Hypixel Server
- Node Fetch
- Prismarine-NBT
You may want to rename the file to something else besides index.js, but navigate to the file in your require statement to properly import the Hype Class
const Hype = require('./index');
To instantiate the Hype Class you must provide an api key.
const hype = new Hype('my-api-key');
- Returns: Promise
- Arguments: N/A
- Description: Returns the player count
- Returns: Promise
- Arguments: String
- Description: Returns the guild ID if found by name
- Returns: Promise
- Arguments: String
- Description: Returns the guild ID if found by uuid
-
Returns: Promise
-
Arguments: Object
-
Description: Takes an object as an argument with this kind of format:
{ name: "", id: "", player: "" }
Will throw an error if incorrectly formatted object is passed in
- Returns: Promise
- Arguments: String
- Description: Returns the status based off uuid
- Returns: Promise
- Arguments: N/A
- Description: Returns the watch dog
- Returns: Promise
- Arguments: String
- Description: Returns the player data from mojang
- Returns: Promise
- Arguments: String
- Description: Returns the leaderboards based off the game title, if game is not provided, will return entire leaderboard
- Returns: Promise
- Arguments: String
- Description: Returns recent games based off uuid
- Returns: Promise
- Arguments: String
- Description: Returns the game counts, if no game is provided, will return all counts
- Returns: Promise
- Arguments: N/A
- Description: Returns boosters
- Returns: Promise
- Arguments: String
- Description: Returns the friends list based off the uuid
- Returns: Promise
- Arguments: String
- Description: Returns the resources
- Returns: Promise
- Arguments: String
- Description: Returns the Sky Block profiles based off the uuid
- Returns: Promise
- Arguments: N/A
- Description: Returns the Sky Block bazaar products
- Returns: Promise
- Arguments: String
- Description: Returns the product based off ID
-
Returns: Promise
-
Arguments: Object
-
Description: Takes an object as an argument with this kind of format:
{ player: "", profile: "", uuid: "" }
Will throw an error if incorrectly formatted object is passed in
- Returns: Promise
- Arguments: String
- Description: Returns the current auction based off page
- Returns: Promise
- Arguments: N/A
- Description: Returns the top 5 projects in the bazaar
-
Returns: Promise
-
Arguments: Object
-
Description: Takes an object as an argument with this kind of format:
{ uuid: "", profileName: "" }
Will throw an error if incorrectly formatted object is passed in