Skip to content

@zikeji/hypixel / Housing

Class: Housing

Example

typescript
const active = await client.housing.active();

Extends

  • Method

Properties

API

houses

houses: HousingHouses

Returns public houses for a specific player.

Example
typescript
const houses = await client.housing.houses.player('20934ef9488c465180a78f861586b4cf');

Methods

API

active()

active(): Promise<FlatResultArray<$200>>

The currently active public houses.

Returns

Promise<FlatResultArray<$200>>

Example
typescript
const activeHousing = await client.housing.active();

house()

house(house): Promise<ResultObject<HousingHouseResponse, [], true>>

Returns information about a specific house.

Parameters
house

string

Returns

Promise<ResultObject<HousingHouseResponse, [], true>>

Example
typescript
const houseData = await client.housing.house('20934ef9488c465180a78f861586b4cf');

Released under the MIT License.