Hierarchy

  • Config

Constructors

  • Parameters

    • version: string

    Returns Config

Methods

  • Returns true or false depending on if the /eval is enabled.

    Returns

    true if enabled, false otherwise

    Returns boolean

  • Returns string[]

  • Returns string

  • Returns the default world's name (id).

    Remarks

    If the world doesn't exist as a part of the worlds array the worldManager will fail to initialize.

    Returns

    The world's name as a string

    Returns string

  • Returns

    The max amount of players allowed onto the server at the same time.

    Returns number

  • Returns true or false depending on if online mode is enabled.

    Returns

    The message of the day as a string

    Returns string

  • Returns true or false depending on if online mode is enabled.

    Returns

    true if enabled, false otherwise

    Returns boolean

  • Returns number

  • Returns string

  • Returns number

  • If telemetry is enabled and which urls/backends to send data to.

    Returns

    An object containing the status of telemetry and the urls which should be reported to.

    Returns { enabled: boolean; urls: string[] }

    • enabled: boolean
    • urls: string[]
  • Returns string

  • Returns string

  • Returns string

  • Returns the view distance.

    Returns

    The view distance as an integer

    Returns number

  • Returns any

  • Returns void

  • Returns void

  • Set the default gamemode.

    Parameters

    • gamemode: number

      the gamemode

    • Optional commit: boolean

      if the value should be written to the config.yml file

    Returns void

  • Set the motd.

    Parameters

    • motd: string

      the gamemode

    • Optional commit: boolean

      if the value should be written to the config.yml file

    Returns void

Generated using TypeDoc