2022-04-13 18:26:36 +00:00
|
|
|
# RedisBungee configuration file.
|
2023-08-31 09:00:19 +00:00
|
|
|
# you need Redis so get Redis from http://redis.io/ or install it from your package manager
|
2022-07-15 22:58:48 +00:00
|
|
|
|
2023-08-31 09:00:19 +00:00
|
|
|
# The Redis server you will use.
|
2023-04-15 17:29:06 +00:00
|
|
|
# these settings are ignored when cluster mode is enabled.
|
|
|
|
redis-server: 127.0.0.1
|
|
|
|
redis-port: 6379
|
|
|
|
|
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
|
|
|
|
|
2023-04-12 18:40:01 +00:00
|
|
|
# THIS FEATURE IS REDIS V6+
|
|
|
|
# OPTIONAL: if your redis uses acl usernames set the username here. leave empty for no username.
|
|
|
|
redis-username: ""
|
|
|
|
|
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: ""
|
2023-04-12 18:40:01 +00:00
|
|
|
|
2022-04-13 18:26:36 +00:00
|
|
|
# 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
|
|
|
|
|
2022-11-05 11:43:23 +00:00
|
|
|
# since redis can support ssl by version 6 you can use ssl / tls in redis bungee too!
|
2022-04-13 18:26:36 +00:00
|
|
|
# but there is more configuration needed to work see https://github.com/ProxioDev/RedisBungee/issues/18
|
2022-11-05 11:43:23 +00:00
|
|
|
# Keep note that SSL/TLS connections will decrease redis performance so use it when needed.
|
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.
|
2024-04-12 18:01:10 +00:00
|
|
|
# Tip: you can set proxy id using Environment variable REDISBUNGEE_PROXY_ID which will override this config option
|
|
|
|
# before launch
|
|
|
|
proxy-id: "proxy-1"
|
2022-07-22 08:29:39 +00:00
|
|
|
|
2022-11-05 11:43:23 +00:00
|
|
|
# since version 0.8.0 Internally now uses JedisPooled instead of Jedis, JedisPool.
|
2022-07-25 16:04:21 +00:00
|
|
|
# which will break compatibility with old plugins that uses RedisBungee JedisPool
|
2023-09-14 06:34:41 +00:00
|
|
|
# so to mitigate this issue, RedisBungee will create an JedisPool for compatibility reasons.
|
2023-08-31 09:00:19 +00:00
|
|
|
# disabled by default
|
2022-07-25 16:04:21 +00:00
|
|
|
# ignored when cluster mode is enabled
|
2023-08-31 09:00:19 +00:00
|
|
|
enable-jedis-pool-compatibility: false
|
|
|
|
|
2022-07-26 13:51:41 +00:00
|
|
|
# max connections for the compatibility pool
|
|
|
|
compatibility-max-connections: 3
|
2022-07-25 16:04:21 +00:00
|
|
|
|
2022-07-22 08:29:39 +00:00
|
|
|
# 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.
|
2023-09-19 11:04:32 +00:00
|
|
|
# ignored on velocity
|
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: []
|
|
|
|
|
2023-08-31 10:26:21 +00:00
|
|
|
# restore old login behavior before 0.9.0 update
|
|
|
|
# enabled by default
|
|
|
|
# when true: when player login and there is old player with same uuid it will get disconnected as result and new player will login
|
|
|
|
# when false: when a player login but login will fail because old player is still connected.
|
|
|
|
kick-when-online: true
|
|
|
|
|
|
|
|
# enabled by default
|
|
|
|
# this option tells redis-bungee handle motd and set online count, when motd is requested
|
|
|
|
# you can disable this when you want to handle motd yourself, use RedisBungee api to get total players when needed :)
|
|
|
|
handle-motd: true
|
|
|
|
|
|
|
|
# disabled by default
|
|
|
|
# Redis-bungee will attempt to connect player to last server that was stored.
|
|
|
|
reconnect-to-last-server: false
|
2022-11-27 08:29:13 +00:00
|
|
|
|
2022-07-22 12:12:56 +00:00
|
|
|
# Config version DO NOT CHANGE!!!!
|
2023-08-31 10:26:21 +00:00
|
|
|
config-version: 2
|