Lavalink-Client
  • 😁Lavalink Client
  • Basics
    • How it works
    • Get Started
    • Example Discord Bot
  • Documentation
    • LavalinkManager
      • Manager Options
        • ManagerQueueOptions
          • QueueStoreManager
          • QueueChangesWatcher
        • ManagerPlayerOptions
          • RequestTransformer
          • AutoplayFunction
        • BotClientOptions
      • ManagerUtils
    • NodeManager
      • Types
        • LavalinkNode
        • LavalinkNodeOptions
    • Player
      • PlayerOptions
      • PlayerDestroyReasons
      • PlayerTypes
        • RepeatMode
        • PlayerJson
    • Other Types
      • EQBand
      • FilterData
        • KaraokeFilter
      • Track
        • TrackInfo
        • PluginInfo
      • UnresolvedTrack
      • UnresolvedQuery
      • LavalinkTrack
        • Base64
        • LavalinkTrackInfo
      • Payloads
        • GuildShardPayload
        • PlayerEvent
        • TrackStartEvent
        • TrackEndEvent
        • TrackStuckEvent
        • TrackExceptionEvent
        • WebSocketClosedEvent
      • SearchPlatform
        • LavalinkSearchPlatform
        • ClientSearchPlatform
      • SourceNames
        • LavalinkSourceNames
        • LavaSrc SourceNames (lavalink-plugin)
    • Other Utils and Classes
      • DefaultQueueStore
      • MiniMap
  • Requirements
  • Host a Lavalink-Server
    • application.yml Configuration
      • With Spotify, Deezer, Apple Music, etc.
    • Host via pm2
    • Host via systemd
    • Host via screen
  • ⚪Github
  • 📖Lavalink-Support Server
Powered by GitBook
On this page
  1. Documentation
  2. NodeManager
  3. Types

LavalinkNodeOptions

Manager#nodes: LavalinkNodeOptions[]

PreviousLavalinkNodeNextPlayer

Last updated 1 year ago

Type:

Parameter
Type
Required
Description

host

✓

Ip Address / Hostname / Domain for the Lavlaink Server

port

✓

On which Port the Lavalink Server is running on

authorization

✓

The Authorization for Lavalink's Server (password)

secure

?

X

If the Node is secure, and the Manager should use https instead of http for the Lavalink-REST API

sessionId

?

X

The Session Id of the Lavalink Node (for resuming)

id

?

X

Custom lavalink Node Id (Else it would be: host + port)

regions

?[]

X

Voice Regions for this Lavalink Node

poolOptions

?

X

Pool Options for Undici Http Pool for Lavalink-REST

retryAmount

?

X

How often to try to reconnect to the Node

retryDelay

?

X

How long to wait to try to reconnect to the Node

requestTimeout

?

X

Pool Undici Options

Object
string
number
string
boolean
string
string
string
Undici.Pool.Options
number
number
number