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

# Services

> Discord bot hosting, Lavalink nodes, and databases — everything NexioHost offers.

# Services

Everything you need to run your Discord bot — hosting, music nodes, and databases. All on enterprise DDR5 hardware with NVMe SSD storage.

***

## Hosting Plans

NexioHost offers Discord bot hosting plans for every scale — from a free tier to enterprise-grade infrastructure.

<Card title="View All Plans" icon="server" href="https://billing.nexiohost.in">
  Browse and order hosting plans at billing.nexiohost.in
</Card>

### All Plans Include

<CardGroup cols={3}>
  <Card title="DDR5 Hardware" icon="microchip">
    All plans run on DDR5 RAM and NVMe SSD storage — no slow spinning disks.
  </Card>

  <Card title="Auto Crash Restart" icon="rotate">
    If your bot crashes, it restarts automatically — no manual intervention needed.
  </Card>

  <Card title="DDoS Protection" icon="shield">
    Enterprise-grade network protection on every plan, including the free tier.
  </Card>

  <Card title="One-Click Deploy" icon="wand-magic-sparkles">
    Get your bot running in seconds from the service panel.
  </Card>

  <Card title="Real-Time Console" icon="terminal">
    Monitor your bot's logs and output in real time.
  </Card>

  <Card title="Environment Variables" icon="key">
    Securely store your bot token and config as environment variables.
  </Card>
</CardGroup>

### Upgrading Your Plan

You can upgrade at any time with zero downtime:

1. Log in to the [Client Area](https://billing.nexiohost.in).
2. Click on your service.
3. Select **Upgrade/Downgrade**.
4. Choose your new plan and confirm.

<Tip>
  Upgrades are applied instantly — your bot keeps running while the resources are allocated.
</Tip>

***

## Lavalink Hosting

Dedicated Lavalink node hosting for Discord music bots. Low latency, high availability, easy setup.

### What is Lavalink?

[Lavalink](https://github.com/lavalink-devs/Lavalink) offloads audio processing from your bot to a separate server, giving you:

* Lower CPU usage on your bot's server
* Better audio quality and lower latency
* Support for multiple bots from one node

### Connecting Your Bot

Order a Lavalink service from the [Client Area](https://billing.nexiohost.in), then connect using your panel's connection details:

<CodeGroup>
  ```js Shoukaku (Node.js) theme={null}
  const { Shoukaku, Connectors } = require('shoukaku');

  const nodes = [{
    name: 'NexioHost',
    url: 'your-host:2333',
    auth: 'your-password'
  }];

  const shoukaku = new Shoukaku(new Connectors.DiscordJS(client), nodes);
  ```

  ```js Erela.js (Node.js) theme={null}
  const { Manager } = require('erela.js');

  const manager = new Manager({
    nodes: [{
      host: 'your-host',
      port: 2333,
      password: 'your-password'
    }]
  });
  ```

  ```python wavelink (Python) theme={null}
  import wavelink

  node = wavelink.Node(
      uri='http://your-host:2333',
      password='your-password'
  )
  await wavelink.Pool.connect(nodes=[node], client=bot)
  ```
</CodeGroup>

### Supported Clients

| Language                | Libraries                             |
| ----------------------- | ------------------------------------- |
| JavaScript / TypeScript | Shoukaku, Erela.js, Magmastream, Poru |
| Python                  | wavelink, Pomice, Slate               |
| Java / Kotlin           | LavaClient, Koe                       |
| Go                      | disgolink                             |

### Supported Sources

YouTube, SoundCloud, Bandcamp, Twitch streams, Vimeo, HTTP audio streams.

<Note>
  NexioHost runs **Lavalink v4**. If you need a specific version, open a support ticket.
</Note>

***

## Databases

Managed Redis, MongoDB, and PostgreSQL — connect to your bot in minutes.

<CardGroup cols={3}>
  <Card title="Redis" icon="database">
    Caching, rate limiting, session data.
  </Card>

  <Card title="MongoDB" icon="leaf">
    User data, guild settings, bot configs.
  </Card>

  <Card title="PostgreSQL" icon="server">
    Economy systems, leaderboards, structured data.
  </Card>
</CardGroup>

Order a database from the [Client Area](https://billing.nexiohost.in) and use the connection details from your service panel.

### Code Examples

<CodeGroup>
  ```js Redis (Node.js) theme={null}
  const Redis = require('ioredis');
  const redis = new Redis({
    host: 'your-redis-host',
    port: 6379,
    password: 'your-redis-password'
  });
  await redis.set('user:123', JSON.stringify({ coins: 500 }));
  ```

  ```js MongoDB (Node.js) theme={null}
  const mongoose = require('mongoose');
  await mongoose.connect('mongodb://user:password@your-mongo-host:27017/mydb');
  ```

  ```js PostgreSQL (Node.js) theme={null}
  const { Pool } = require('pg');
  const pool = new Pool({
    host: 'your-pg-host', port: 5432,
    database: 'mydb', user: 'myuser', password: 'mypassword'
  });
  ```
</CodeGroup>

### Which Database Should I Use?

| Use Case                               | Recommended |
| -------------------------------------- | ----------- |
| Caching, cooldowns, rate limits        | Redis       |
| Guild settings, user profiles          | MongoDB     |
| Economy, leaderboards, complex queries | PostgreSQL  |

<Warning>
  Always store credentials as environment variables in your service panel — never hardcode them in your code.
</Warning>
