h1z1-server
    Preparing search index...

    Function initMongo

    • Initializes the MongoDB database.

      Parameters

      • mongoClient: MongoClient

        The MongoDB client.

      • serverName: string

        The name of the server.

      Returns Promise<void>

      A promise that resolves once the database is initialized.