JSPrismarine
    Preparing search index...
    Index

    Constructors

    Methods

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

      Returns string

      The world's name as a string

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

    • Set the default gamemode.

      Parameters

      • gamemode: number

        the gamemode

      • commit: boolean = false

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

      Returns void

    • Set the motd.

      Parameters

      • motd: string

        the gamemode

      • commit: boolean = false

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

      Returns void

    Lifecycle