h1z1-server
    Preparing search index...

    Function zoneShutdown

    • Shuts down the zone server with a countdown timer and performs necessary cleanup operations.

      Parameters

      • server: ZoneServer2016 | ZoneServer2015

        The zone server instance (ZoneServer2016 or ZoneServer2015).

      • startedTime: number

        The timestamp when the server shutdown started.

      • timeLeft: number

        The duration of the shutdown timer in seconds.

      • message: string

        The message to display during the shutdown process.

      Returns Promise<void>

      A promise that resolves after the shutdown process is completed.