Interface: NodeOptions
Represents the configuration object for connecting to a Lavalink or Nodelink node.
These options control connection, retries, resume behavior, and priority.
Property Type Description Optional hoststring The hostname or IP address of the Lavalink node. portnumber Port used to connect to the node. passwordstring Password required to authenticate with the node. useSSLboolean If true, connects over HTTPS/WSS.identifierstring A unique identifier for this node. Helpful for logging or cluster setups. maxRetryAttemptsnumber Number of reconnection attempts before giving up. retryDelayMsnumber Milliseconds between reconnection attempts. enableSessionResumeOptionboolean Whether the node should resume existing players on reconnect. sessionTimeoutSecondsnumber Time (in seconds) the server should wait before removing a disconnected session. apiRequestTimeoutMsnumber Request timeout for REST API calls to the node. nodePrioritynumber Determines the priority of the node when selecting nodes dynamically. Higher = more preferred. isNodeLinkboolean Whether the node is a NodeLink node. isBackupboolean Whether the node is a backup node.