Skip to content

Setting up your Proxy

cubebuilder edited this page Sep 18, 2020 · 28 revisions

Download

You can download the plugin off SpigotMC

Setup

Put the plugin jar your BungeeCord's plugins folder. Once you have done this you need to modify your BungeeCord config.yml

BungeeCord Config for a premium server

Bungee Premium Config
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  tab_list: GLOBAL_PING
  query_enabled: true
  proxy_protocol: false
  forced_hosts:
    example.com: pvp
  ping_passthrough: false
  priorities:
  - main
  bind_local_address: true
  host: 0.0.0.0:25577
  max_players: 9999
  tab_size: 60
  force_default_server: true
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
  default:
  - bungeecord.command.list
  - bungeecord.command.server
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
log_pings: true
connection_throttle_limit: 100000
server_connect_timeout: 5000
timeout: 30000
stats: fd7147ea-d904-494b-85d8-c74b3c8ea79d
player_limit: -1
ip_forward: true
groups:
  md_5:
  - admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
prevent_proxy_connections: false
online_mode: true
forge_support: true
disabled_commands:
- disabledcommandhere
servers:
  main:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25565
    restricted: true
  queue:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25566
    restricted: true

BungeeCord config for a cracked server

Bungee Cracked Config
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  tab_list: GLOBAL_PING
  query_enabled: true
  proxy_protocol: false
  forced_hosts:
    example.com: pvp
  ping_passthrough: false
  priorities:
  - auth
  bind_local_address: true
  host: 0.0.0.0:25577
  max_players: 9999
  tab_size: 60
  force_default_server: true
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
  default:
  - bungeecord.command.list
  - bungeecord.command.server
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
log_pings: true
connection_throttle_limit: 100000
server_connect_timeout: 5000
timeout: 30000
stats: fd7147ea-d904-494b-85d8-c74b3c8ea79d
player_limit: -1
ip_forward: true
groups:
  md_5:
  - admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
prevent_proxy_connections: false
online_mode: false
forge_support: true
disabled_commands:
- disabledcommandhere
servers:
  auth:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25569
    restricted: true
  main:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25560
    restricted: true
  queue:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25553
    restricted: true

Set up the config

Now your BungeeCord is successfully configured. Now we need to edit the XeraBungeeQueue Config. If your server is cracked make sure to enable the authserver from false to true

AuthFirst Feature (Experimental)

You can now have your authserver to go first. Please note that this feature is still experimental and buggy.

XeraBungeeQueue Config
# XeraBungeeQueue V1.0.0
# Make the main server the default one you login to
# READ ME: all colours are orange by default just add & and colour
# to change the colours to your liking
# Its recommended to replace every "YOURSERVER" with your servers name

# Username regex
REGEX: "[a-zA-Z0-9_]*"

# Server is full message
SERVERISFULLMESSAGE: "&6YOURSERVER is full"

# Position in queue message by default only sends in chat every 10 seconds
# you can have it on the hotbar by setting POSITIONMESSAGEHOTBAR: "false" to true
POSITIONMESSAGEHOTBAR: false
QUEUEPOSITION: "&6Position in queue: &l<position>"
ENABLEKICKMESSAGE: true
KICKMESSAGE: "&6You have lost connection to the server"
SERVERDOWNKICKMESSAGE: "&bYOURSERVER &6is down please try again later :("

# this shows the queue size when you hover over the ping on the server list
SERVERPINGINFOENABLE: true
SERVERPINGINFO:
  - "&bYOURSERVER &6Queue Size"
  - "&6Priority: &l%priority%"
  - "&6Regular: &l%regular%"

CUSTOMPROTOCOLENABLE: true
CUSTOMPROTOCOL: "&bYOURSERVER &61.8.x to 1.16.x"

# Set the queue servers name that is in the bungee config.yml
# Note that the main server is always the one you login to first
# The main server server is the one that has a queue to protect it
# make sure you set the default server in bungee config.yml correctly
QUEUESERVER: "queue"
MAINSERVER: "main"

# set this to false if your a premium server
ENABLEAUTHSERVER: false
AUTHSERVER: "auth"

# Connecting to server message use <server> if you want it
# to just use the name of the default server
JOININGMAINSERVER: "&6Connecting to YOURSERVER"

# Max players allowed onto main server
MAINSERVERSLOTS: 100

# Total people allowed to be connected to the queue network
# Make sure you set the bungeecord slots higher then the amount
# of people you get regularly i set mine to 9000 and 9000 on the queue server
QUEUESERVERSLOTS: 9000

# Queue move delay in miliseconds default is 2000ms
# please note this only guaranteed to not have issues 2000ms and higher
QUEUEMOVEDELAY: 2000

# Always add players to queue to prevent server crashing from to many joins
ALWAYSQUEUE: true

# Permissions
QUEUEBYPASSPERMISSION: "queue.override"
QUEUEPRIORITYPERMISSION: "queue.priority"
ADMINPERMISSION: "queue.admin"

# Queue server tablist configuration use <position> to show the current position of the player
# and use <wait> to show the estimated wait time of the player (not very accurate yet)
# this only shows when your in the queue waiting to join use a separate plugin for your main server
HEADER:
  - ""
  - "&bYOURSERVER"
  - ""
  - "&bYOURSERVER is full"
  - "Position in queue: &l<position>"
  - "&6Estimated time: &l<wait>"

FOOTER:
  - ""
  - "&6You can now donate to receive priority queue status, please visit donate.example.com   "
  - ""
  - "&7contact: [email protected]"
  - "discussion: http://discord.example.com"
  - "website: https://www.example.com"
  - "these are the only official YOURSERVER websites and contacts."
  - ""

# configs for priority queue tablist
HEADERPRIORITY:
  - ""
  - "&bYOURSERVER"
  - ""
  - "&bYOURSERVER is full"
  - "Position in queue: &l<position>"
  - "&6Estimated time: &l<wait>"

FOOTERPRIORITY:
  - ""
  - "&6You have priority queue status please wait for an available slot on the server   "
  - ""
  - "&7contact: [email protected]"
  - "discussion: http://discord.example.com"
  - "website: https://www.example.com"
  - "These are the only official YOURSERVER websites and contacts"
 - ""

Queue Server Setup

Congrats! You have configured XeraBungeeQueue for your Proxy. Now we need to setup your Queue server

Clone this wiki locally