-
-
Notifications
You must be signed in to change notification settings - Fork 2
Comprehensive Setup Guide for Clipboard Connect with Redis on Docker
This guide provides detailed steps for setting up the Clipboard Connect plugin for Minecraft with Redis. Choose from several setup options, with a preference for the automated setup process using Docker Compose.
- Docker and Docker Compose installed on your server (for Docker options). Docker Installation Guide | Docker Compose Installation Guide
- Access to a terminal and appropriate permissions to install system packages (for the system package option).
- Paper server version 1.20 or higher.
- WorldEdit plugin installed on your Minecraft server.
This option uses the Clipboard Connect setup command to automatically generate the docker-compose.yml
file and configure Redis, simplifying the setup process.
In-game, use the /clipboardconnect setup
command. Follow the on-screen instructions to automatically generate the Docker Compose file and start Redis.
For those who prefer manual configuration, create and configure a Redis instance using Docker Compose.
Create a docker-compose.yml
file with the following content:
version: '3'
services:
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- redis-data:/data
volumes:
redis-data:
Run docker-compose up -d
in the directory with your docker-compose.yml
file.
Alternatively, install Redis directly on your system using package management tools.
On Ubuntu, for example, use:
sudo apt-get update
sudo apt-get install redis-server
Ensure Redis is configured to start on boot and adjust settings as needed.
After setting up Redis, configure Clipboard Connect to use this Redis instance. Use the /clipboardconnect setup
command in-game.
Test saving and loading clipboards to ensure successful connectivity and functionality with Redis.
Your Clipboard Connect is now running with Redis, providing a robust solution for clipboard synchronization. Keep your Docker images, system packages, and Clipboard Connect plugin updated.