LavalinkNodeOptions
Defined in: src/structures/Types/Node.ts:25
Node Options for creating a lavalink node
Properties
Section titled “Properties”| Property (defined in) | Type | Description |
|---|---|---|
authorization (src/structures/Types/Node.ts:33) | string | The Lavalink Password / Authorization-Key |
autoChecks? (src/structures/Types/Node.ts:57) | object | Per Node Options |
autoChecks.pluginValidations? (src/structures/Types/Node.ts:59) | boolean | Wether to check for every node to check for plugin validations or not. (ignored for NodeType NodeLink) |
autoChecks.sourcesValidations? (src/structures/Types/Node.ts:61) | boolean | Wether to check for every node to check for source validations or not. |
closeOnError? (src/structures/Types/Node.ts:51) | boolean | Close on error |
enablePingOnStatsCheck? (src/structures/Types/Node.ts:55) | boolean | Recommended, to check whether the client is still connected or not on the stats endpoint |
heartBeatInterval? (src/structures/Types/Node.ts:53) | number | Heartbeat interval , set to <= 0 to disable heartbeat system |
host (src/structures/Types/Node.ts:29) | string | The Lavalink Server-Ip / Domain-URL |
id? (src/structures/Types/Node.ts:39) | string | Add a Custom ID to the node, for later use |
nodeType? (src/structures/Types/Node.ts:27) | NodeTypes | Specify the Node-Type of this node. Default: Lavalink |
port (src/structures/Types/Node.ts:31) | number | The Lavalink Connection Port |
regions? (src/structures/Types/Node.ts:41) | string[] | Voice Regions of this Node |
requestSignalTimeoutMS? | number | signal for cancelling requests - default: AbortSignal.timeout(options.requestSignalTimeoutMS |
retryAmount? (src/structures/Types/Node.ts:43) | number | The max amount of retries for this node. |
retryDelay? (src/structures/Types/Node.ts:45) | number | The delay of how often to retry a reconnection. |
retryTimespan? (src/structures/Types/Node.ts:47) | number | How long a retry is a valid retry, it should be at least retryAmount*retryDelay. if <= 0 (default) then this won’t be accounted. |
secure? (src/structures/Types/Node.ts:35) | boolean | Does the Server use ssl (https) |
sessionId? (src/structures/Types/Node.ts:37) | string | RESUME THE PLAYER? by providing a sessionid on the node-creation |