Skip to content

Setting up your Proxy

cubebuilder edited this page Sep 4, 2020 · 28 revisions

Download

You can download the plugin off SpigotMC

Setup

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

Recommended plugins for your Queue Server.

A permission plugin like PermissionsEx or LuckPerms This is so you can give players priority queue permissions.

BungeeCord Config for a premium server

Make sure to remove cubebuilder_ on the admin group and replace it with your username!

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: main
  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: queue
    address: 127.0.0.1:25566
    restricted: true

BungeeCord config for a cracked server

Make sure to remove cubebuilder_ on the admin group and replace it with your username!

Bungee Cracked Config
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  tab_list: GLOBAL_PING
  query_enabled: true
  proxy_protocol: false
  forced_hosts:
    pvp.5b5t.ga: pvp
    5b5tpvp.cf: 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:
  cubebuilder_:
  - 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: d
    address: 127.0.0.1:25569
    restricted: true
  5b5t:
    motd: '&1Just another Waterfall - Forced Host'
    address: 127.0.0.1:25560
    restricted: true
  queue:
    motd: queuue
    address: 127.0.0.1:25553
    restricted: true

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

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 server. Now we need to setup your Queue server

Clone this wiki locally