-
Notifications
You must be signed in to change notification settings - Fork 32
(9) Redis Server Messaging
UltimateChat supports Redis messaging for chat between servers using UChat.
In resume, Redis is a database used for most popular websites and apps around the web. Redis can store things like a database, or send messages between your servers.
Its an excellent replacement for BungeeCoord.
With UChat and Redis you can:
- Send messages to commom channels between servers;
- Send broadcasts to all conected servers (with /ubroadcast);
- Send private messages to any player in any server, if online;
After installation, the default configuration is enough to work with a local network and UltimateChat. If you need to know more about Redis configs, Google is your friend for this.
Download Redis for windows here: https://github.com/MicrosoftArchive/redis/releases
Just install and change the configuration on C:\Program Files\Redis
.
After installation, Redis will autorun, and run on every windows boot.
If you need to change some configuration, you need to kill the Redis process on task manager, and then, run the file redis-server.exe
after change what you need on redis config files.
You need to have SSH access to your host or machine to install redis.
Follow this steps to install redis on your Centos:
Install Redis server:
sudo yum install redis
Start Redis:
sudo systemctl start redis
Start Redis on every system boot:
sudo systemctl enable redis
Test Redis installation:
redis-cli ping
the result will be:
PONG
On UChat, you just need to enable on config file in jedis > enable
. Host, password and port is not needed for a default installation. Then, enable on channel files setting to jedis: true
to enable a channel for jedis (Redis).
Dont forget to change the server-id
for each server you will use redis. If the id is the same on more the one server, the messages will not be sent (and will be ignored).