Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ICoreServer

Implemented by

Index

Properties

console

console: { executor: { id: "#console"; name: "#console"; permissions: ICorePermissionHolder; send: any } }

Type declaration

  • executor: { id: "#console"; name: "#console"; permissions: ICorePermissionHolder; send: any }
    • id: "#console"
    • name: "#console"
    • permissions: ICorePermissionHolder
    • send: function
      • send(...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

log

name

name: string

permissions

players

plugins

registry

registry: ICoreRegistry

version

version: string

worlds

Methods

connectPlayer

  • Parameters

    Returns void

emit

  • emit(type: string, data: object): any
  • Parameters

    • type: string
    • data: object

    Returns any

loadConfig

  • loadConfig(namespace: string, config: string): object
  • Parameters

    • namespace: string
    • config: string

    Returns object

on

  • on<U>(event: U, listener: ICoreServerEvents[U]): this
  • Type parameters

    Parameters

    • event: U
    • listener: ICoreServerEvents[U]

    Returns this

saveConfig

  • saveConfig(namespace: string, config: string, data: object): void
  • Parameters

    • namespace: string
    • config: string
    • data: object

    Returns void

stopServer

  • stopServer(): void
  • Returns void

Generated using TypeDoc