Setup Cross server

Step 1

Set the database type to MySQL and specify the database configuration.

database:
  # Database type: SQLITE, MYSQL
  type: MYSQL
  # MySQL connection settings
  mysql:
    host: localhost
    port: 3306
    database: minecraft
    username: root
    password: password

Step 2

Install redis for testing purpose (fast, 2 min)

  1. Go on Redis

  2. Register or log-in with Google or something

  3. Select a cloud vendor of your region

  4. Click on the database named "yourname-free-db"

  5. There is a parameter called Public Endpoint where you would find a very-long-hostname:port

  6. In the Security section you would find username and password

  7. Now you can build your redis-uri like this redis://username:password@very-long-hostname:port

  8. Done

Step 3

You need to enable the cross-server setting. Specify the server_id as the name of the server that is connected to Velocity or BungeeCord. Provide the Redis connection details.

Step 4

After configuring all the data, you need to restart the server.

Step 5

Last updated