1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-03 11:22:33 +02:00

RabbitMQ messenger support (#2874)

This commit is contained in:
ruViolence
2021-02-05 01:10:30 +08:00
committed by GitHub
parent b7ac05a0a5
commit a8dfd38fe6
18 changed files with 319 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ shadowJar {
relocate 'com.mongodb', 'me.lucko.luckperms.lib.mongodb'
relocate 'org.bson', 'me.lucko.luckperms.lib.bson'
relocate 'redis.clients.jedis', 'me.lucko.luckperms.lib.jedis'
relocate 'com.rabbitmq', 'me.lucko.luckperms.lib.rabbitmq'
relocate 'org.apache.commons.pool2', 'me.lucko.luckperms.lib.commonspool2'
relocate 'ninja.leaping.configurate', 'me.lucko.luckperms.lib.configurate'
}

View File

@@ -223,6 +223,8 @@ watch-files: true
# installed.
# => redis Uses Redis pub-sub to push changes. Your server connection info must be configured
# below.
# => rabbitmq Uses RabbitMQ pub-sub to push changes. Your server connection info must be
# configured below.
# => auto Attempts to automatically setup a messaging service using redis or sql.
messaging-service: auto
@@ -246,6 +248,14 @@ redis:
address: localhost
password: ''
# Settings for RabbitMQ.
# Port 5672 is used by default; set address to "host:port" if differs
rabbitmq:
enabled: false
address: localhost
username: 'guest'
password: 'guest'