Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectServer APIGenerated

HousePoints

const HousePoints: object

Defined in: server/api.d.ts:3979

The server’s house standings, the same for every player: every house starts at 0, and every client’s game uses them, so the four hourglasses in the Reception Hall fill to them for everyone. A player’s own in-game award is refused by their client and raised as housePointsRequest; an ordinary award of up to 100 counts unless a handler returns false. Houses are named case-insensitively. Changes raise housePointsChanged(house, points, previous).

readonly houses: string[]

The four houses, canonically spelt.

add(house, delta): number

Adds to (or, negative, takes from) one house. The result is clamped to +-1000000 and returned.

string

number

number

all(): HouseStandings

Every house’s standing.

HouseStandings

get(house): number

One house’s standing.

string

number

set(house, points): boolean

Sets one house’s standing. False outside +-1000000.

string

number

boolean

setAll(points): boolean

Sets several houses in one change; houses left out keep theirs. False, changing nothing, when any value is outside +-1000000.

Partial<HouseStandings>

boolean