pterodactyl.ts
    Preparing search index...

    Class Database

    Implements

    • ServerDatabaseAttributes
    Index

    Constructors

    Properties

    connections_from: string
    host: { address: string; port: string | 3306 }
    id: string
    max_connections: number
    name: string
    parentServer: Server
    password?: string
    username: string

    Methods

    • Rotates the password for this database

      Returns Promise<string | undefined>

      The new generated password or undefined if the user doesn't have the permission to view the password