2022-04-13 18:26:36 +00:00
|
|
|
# RedisBungee configuration file.
|
2022-07-15 22:58:48 +00:00
|
|
|
|
2022-07-16 12:32:10 +00:00
|
|
|
# Cluster Mode
|
|
|
|
# enabling this option will enable cluster mode.
|
2022-07-15 23:00:51 +00:00
|
|
|
cluster-mode-enabled: false
|
2022-04-13 18:26:36 +00:00
|
|
|
|
2022-07-22 08:29:39 +00:00
|
|
|
# FORMAT:
|
|
|
|
# redis-cluster-servers:
|
|
|
|
# - host: 127.0.0.1
|
|
|
|
# port: 2020
|
|
|
|
# - host: 127.0.0.1
|
|
|
|
# port: 2021
|
|
|
|
# - host: 127.0.0.1
|
|
|
|
# port: 2021
|
|
|
|
|
|
|
|
# you can set single server and Jedis will automatically discover cluster nodes,
|
|
|
|
# but might fail if this single redis node is down when Proxy startup, its recommended put the all the nodes
|
|
|
|
redis-cluster-servers:
|
|
|
|
- host: 127.0.0.1
|
|
|
|
port: 6379
|
|
|
|
|
2022-04-13 18:26:36 +00:00
|
|
|
# Get Redis from http://redis.io/
|
2022-07-22 08:29:39 +00:00
|
|
|
# The Redis server you use.
|
|
|
|
# these settings are ignored when cluster mode is enabled.
|
2022-04-13 18:26:36 +00:00
|
|
|
redis-server: 127.0.0.1
|
|
|
|
redis-port: 6379
|
2022-07-22 08:29:39 +00:00
|
|
|
|
2022-06-29 14:16:16 +00:00
|
|
|
# OPTIONAL but recommended: If your Redis server uses AUTH, set the password required.
|
2022-04-13 18:26:36 +00:00
|
|
|
redis-password: ""
|
|
|
|
# Maximum connections that will be maintained to the Redis server.
|
|
|
|
# The default is 10. This setting should be left as-is unless you have some wildly
|
|
|
|
# inefficient plugins or a lot of players.
|
|
|
|
max-redis-connections: 10
|
|
|
|
|
|
|
|
# since redis can support ssl by version 6 you can use ssl in redis bungee too!
|
|
|
|
# but there is more configuration needed to work see https://github.com/ProxioDev/RedisBungee/issues/18
|
2022-07-17 05:51:24 +00:00
|
|
|
# in cluster mode using ssl without password is ignored due fact is not supported in Jedis lib
|
2022-04-13 18:26:36 +00:00
|
|
|
useSSL: false
|
|
|
|
|
2022-07-22 08:29:39 +00:00
|
|
|
# An identifier for this BungeeCord / Velocity instance. Will randomly generate if leaving it blank.
|
|
|
|
proxy-id: "test-1"
|
|
|
|
|
|
|
|
# Register redis bungee legacy commands
|
|
|
|
# if this disabled override-bungee-commands will be ignored
|
|
|
|
register-legacy-commands: false
|
2022-04-13 18:26:36 +00:00
|
|
|
|
|
|
|
# Whether or not RedisBungee should install its version of regular BungeeCord commands.
|
|
|
|
# Often, the RedisBungee commands are desired, but in some cases someone may wish to
|
|
|
|
# override the commands using another plugin.
|
|
|
|
#
|
|
|
|
# If you are just denying access to the commands, RedisBungee uses the default BungeeCord
|
|
|
|
# permissions - just deny them and access will be denied.
|
|
|
|
#
|
|
|
|
# Please note that with build 787+, most commands overridden by RedisBungee were moved to
|
|
|
|
# modules, and these must be disabled or overridden yourself.
|
2022-07-22 08:29:39 +00:00
|
|
|
override-bungee-commands: false
|
2022-04-13 18:26:36 +00:00
|
|
|
|
|
|
|
# A list of IP addresses for which RedisBungee will not modify the response for, useful for automatic
|
|
|
|
# restart scripts.
|
2022-07-22 12:12:56 +00:00
|
|
|
exempt-ip-addresses: []
|
|
|
|
|
|
|
|
# Config version DO NOT CHANGE!!!!
|
|
|
|
config-version: 1
|