Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerContext

Hierarchy

Index

Properties

country: null | { emoji: string; image: string; name: string } = null

Server country

icon: string = ''

Server icon url

ip: string = ''

Server ip

motd: { clear: string; html: string } = ...

Server motd

Type declaration

  • clear: string
  • html: string
players: { max: number; online: number } = ...

Server current players stats

Type declaration

  • max: number
  • online: number
rating: number = 0

Server rating

title: string = ''

Server title

uptime: null | number = null

Server uptime

version: null | string = null

Server version

Accessors

  • get isExtended(): boolean

Methods

  • checkLike(username: string): Promise<boolean>
  • loadPayload(): Promise<void>

Generated using TypeDoc