Skip to content

Multi Proxy Setup

Ben edited this page Aug 27, 2023 · 8 revisions

Experimental support for multi-proxy setups. Contact me (BenCodez) if you have trouble. This feature is working and actively used.

Primary server/main proxy needs to be set as primary server (by enabling option). This server will handle adding totals and such and forward the vote to the other proxies.

Each sub proxy needs a host/port and needs to be set in the primary proxy under MutliProxyServers.

Each sub proxy will be setup with pluginmessaing or sockets.

You also need to have the same secretkey.key file across all proxies (copy/paste from one server after it generates)

Check connection status with /votingpluginbungee multiproxystatus

# ----------------------------
# Redis/multi proxy setup
# Experimental
# Primary server  needs votifier and config option enabled
# Set socket host on each proxy and primary server set sub proxies
# All servers should be on pluginmessaging or sockets setup
# ----------------------------

# Support for redis
# experimental
MultiProxySupport: false

# Enable on primary proxy server with votifier
PrimaryServer: false

# If enabled, player will only get 1 reward on a server on the network
# Must be enabled on all proxies for this to work
# Must also disable sendtoallservers
MultiProxyOneGlobalReward: false

# Set this for each proxy
MultiProxySocketHost:
  Host: 0.0.0.0
  Port: 1234

# Set other sub proxies here
MultiProxyServers:
  secondproxy:
    Host: 0.0.0.0
    Port: 1235
Clone this wiki locally