This class is used for managing homes for the home system.

Constructors

Properties

home_format_version: string = "0.7.0-beta.72"

The format version of the home system.

Accessors

  • get maxHomesPerPlayer(): number

    The maximum number of homes per player.

    Dynamic Property ID: homeSystemSettings:maxHomesPerPlayer

    Returns number

    Infinity
    
  • set maxHomesPerPlayer(maxHomes: number): void

    Parameters

    • maxHomes: number

    Returns void

Methods

  • Gets all home IDs.

    Returns string[]

    A list of all home IDs.

  • Gets the home IDs for the given player.

    Parameters

    Returns string[]

    A list of home IDs for the given player.

  • Gets the homes for the given home IDs.

    Parameters

    • homeIds: string[]

      The list of home IDs to get the homes for.

    Returns Globals.modules.cmds.Home[]

    The homes for the given home IDs.

  • Checks if the given player has reached the maximum number of homes.

    Parameters

    Returns boolean

    True if the player has reached the maximum number of homes, false otherwise.