# Redis Sync

###

{% hint style="danger" %}
**This project has reached end of life and is no longer maintained.**

**We recommend you transition to** [**NookureStaff**](https://builtbybit.com/resources/nookurestaff-staffmode-utils.25460/)**, it's free**
{% endhint %}

When to use the Redis Sync ?

You should use the Redis Sync when we have 2 or more BungeeCord instances

### How to setup ?

In the Redis Config section

{% hint style="danger" %}
The serverID must be unique
{% endhint %}

```yaml
Redis:
  # Enable or disable the Redis synchronization.
  enabled: false
  # The host of your Redis server.
  host: "localhost"
  # The port of your Redis server.
  port: 6379
  # The password of your Redis server.
  password: ""
  # The database of your Redis server.
  database: 0
  # The timeout of your Redis server.
  timeout: 2000
  # The pool size of your Redis server.
  poolSize: 8
  # The prefix of your Redis server.
  prefix: "MAStaff"
  # The channel of your Redis server.
  channel: "MAStaff"
  # Identify the server.
  serverID: "p1"
```

Change enable from false -> true and config the database with your credentials and restart the server! Thats all

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mastaff.nookure.com/bungeecord/redis-sync.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
