> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arjex.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Lavalink nodes for Arjex Music 1.0.0

> Configure Arjex Music 1.0.0 Lavalink connections and Shoukaku options, including required fields, defaults, and restart timing.

You are reading the docs for Arjex Music 1.0.0. The latest version is 1.1.0. [Read the 1.1.0 docs](https://docs.arjex.team/music.md).

Lavalink is optional. Configure nodes in the top-level `nodes` array. Put advanced Shoukaku options separately in top-level `node_options`.

## Node fields

| Key | Type and constraints | Default / required | Applies |
| - | - | - | - |
| `name` | Non-empty string, unique display name | Optional for one node; required when there are two or more | Needs restart. |
| `url` | String in `host:port` form, without a protocol | Required | Needs restart. |
| `auth` | Non-empty string | Required | Needs restart. Keep it secret. |
| `secure` | Boolean | `false`; use `true` for TLS, such as port 443 | Needs restart. |

Node changes apply after a restart. Nodes share load; if one fails, another can take over. Local playback starts only when all nodes are unavailable.

## Advanced `node_options`

This object supplies advanced Shoukaku options. Its `structures` object carries custom Shoukaku structure mappings.

| Key | Type | Schema default | Applies |
| - | - | - | - |
| `moveOnDisconnect` | boolean | `true` | Needs restart. |
| `resume` | boolean | `true` | Needs restart. Keep enabled for the project's recovery flow. |
| `resumeTimeout` | number, seconds | `90` | Needs restart. |
| `resumeByLibrary` | boolean | `true` | Needs restart. |
| `reconnectTries` | number | `15` | Needs restart. |
| `reconnectInterval` | number | `10`; schema gives no unit | Needs restart. |
| `restTimeout` | number, milliseconds | `60000` | Needs restart. |
| `voiceConnectionTimeout` | number, milliseconds | `30000` | Needs restart. |
| `userAgent` | string | No default specified | Needs restart. |
| `structures` | object | Empty by default | Needs restart. |

The README lists different defaults for `reconnectTries` and `reconnectInterval`. This reference uses the schema values. The README says 5000 for the interval, but the schema's value of 10 has no declared unit.

## One-node configuration fragment

Merge this fragment into the minimal config on the [setup page](https://docs.arjex.team/music/v1/setup.md). Replace the password placeholder with the password configured on your node.

```json theme={null}
{
  "nodes": [
    {
      "name": "primary",
      "url": "lavalink.example.net:443",
      "auth": "YOUR_LAVALINK_PASSWORD",
      "secure": true
    }
  ],
  "node_options": {
    "moveOnDisconnect": true,
    "resume": true,
    "resumeTimeout": 90,
    "reconnectTries": 15,
    "reconnectInterval": 10
  }
}
```

> [card] [Playback behavior](https://docs.arjex.team/music/v1/concepts/playback.md)
>
> Compare node playback and local fallback.

> [card] [Troubleshooting](https://docs.arjex.team/music/v1/ops/troubleshooting.md)
>
> Review node connection symptoms.


## Related topics

- [Playback in Arjex Music 1.0.0](https://docs.arjex.team/music/v1/concepts/playback.md)
- [Arjex Music 1.0.0 overview](https://docs.arjex.team/music/v1/index.md)
- [Arjex Music 1.0.0 requirements](https://docs.arjex.team/music/v1/requirements.md)
- [Troubleshooting Arjex Music 1.0.0](https://docs.arjex.team/music/v1/ops/troubleshooting.md)
- [Set up Arjex Music 1.0.0](https://docs.arjex.team/music/v1/setup.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.