-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
353 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
########################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
########################################################################################################### | ||
# # | ||
# /███████ /██ # | ||
# | ██__ ██ | ██ # | ||
# | ██ \ ██ /██ /██ /███████ /██████ /██ /██ # | ||
# | ███████/ | ██ | ██ /██_____/ |_ ██_/ | ██ | ██ # | ||
# | ██__ ██ | ██ | ██ | ██████ | ██ | ██ | ██ # | ||
# | ██ \ ██ | ██ | ██ \____ ██ | ██ /██ | ██ | ██ # | ||
# | ██ | ██ | ██████/ /███████/ | ████/ | ███████ # | ||
# |__/ |__/ \______/ |_______/ \___/ \____ ██ # | ||
# /██ | ██ # | ||
# | ██████/ # | ||
# /██████ \______/ /██ # | ||
# /██__ ██ | ██ # | ||
# | ██ \__/ /██████ /███████ /███████ /██████ /███████ /██████ /██████ /██████ # | ||
# | ██ /██__ ██ | ██__ ██ | ██__ ██ /██__ ██ /██_____/ |_ ██_/ /██__ ██ /██__ ██ # | ||
# | ██ | ██ \ ██ | ██ \ ██ | ██ \ ██ | ████████ | ██ | ██ | ██ \ ██ | ██ \__/ # | ||
# | ██ ██ | ██ | ██ | ██ | ██ | ██ | ██ | ██_____/ | ██ | ██ /██ | ██ | ██ | ██ # | ||
# | ██████/ | ██████/ | ██ | ██ | ██ | ██ | ███████ | ███████ | ████/ | ██████/ | ██ # | ||
# \______/ \______/ |__/ |__/ |__/ |__/ \_______/ \_______/ \___/ \______/ |__/ # | ||
# # | ||
# # | ||
# Welcome to RustyConnector! # | ||
# https://github.com/Aelysium-Group/rusty-connector # | ||
# # | ||
# ------------------------------------------------- # | ||
# # | ||
# | RustyConnector is your go-to load-balancer and | Built for usage on high-traffic networks; # | ||
# | player manager for Minecraft networks! | RustyConnector is meant to be scalable and easy # | ||
# | to maintain! # | ||
# # | ||
# | If you ever need assistance setting up your # | ||
# | plugin come join us in our discord server: # | ||
# | https://join.aelysium.group/ # | ||
# # | ||
# ------------------------------------------------- # | ||
# # | ||
# Produced by: Aelysium | Nathan M. # | ||
# # | ||
# ------------------------------------------------- # | ||
# # | ||
########################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
########################################################################################################### | ||
# | ||
# If you need help updating your configs from an older version; | ||
# take a look at our config migration docs: | ||
# | ||
# https://github.com/Aelysium-Group/rusty-connector/wiki/Config-Migration | ||
# | ||
version: 5 | ||
|
||
############################################################ | ||
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
# Whitelist # | ||
# # | ||
# --------------------------- # | ||
# | RustyConnector attempts to be as flexible as possible # | ||
# | when configuring whitelists! # | ||
# | To setup a whitelist, you'll need to navigate to the # | ||
# | "whitelists" folder and follow the directions in the # | ||
# | provided whitelist-template. # | ||
# # | ||
# | More often than not, you will have multiple whitelist # | ||
# | configurations that you may want to switch between # | ||
# | during various points in your network's lifetime. # | ||
# | This system allows you to set up as many pre-defined # | ||
# | whitelists as you'd like, and enable or switch between # | ||
# | then whenever you want! # | ||
# --------------------------- # | ||
# # | ||
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
############################################################ | ||
whitelist: | ||
# | ||
# If you set this to be on. You will be turning on a whitelist which will **effect your entire proxy**! | ||
# If you only want to effect certain families or individual servers. Look into the appropriate configuration locations! | ||
# | ||
enabled: false | ||
|
||
# | ||
# The name of the whitelist configuration file in your "whitelists" folder. | ||
# You can include the ".yml" at the end of the name below if you'd like. It doesn't matter either way. | ||
# | ||
name: "whitelist-template" | ||
|
||
############################################################ | ||
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
# Services # | ||
# # | ||
# --------------------------- # | ||
# | Services are small, in-built applications that # | ||
# | carry out specific duties within RustyConnector # | ||
# --------------------------- # | ||
# # | ||
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
############################################################ | ||
services: | ||
# | ||
# Manages the lifecycles of servers. | ||
# | ||
# Also manages the lifecycle of a player's home server if you are using Static Families. | ||
# | ||
server-lifecycle: | ||
# | ||
# Amount of time, in seconds, that a server can go without pinging the proxy. | ||
# If a server doesn't ping the proxy in this time, it will be declared stale | ||
# and be unregistered from the proxy. | ||
# | ||
server-timeout: 15 | ||
|
||
# | ||
# Amount of time, in seconds, that a server should wait to ping the proxy. | ||
# This setting cannot be higher than "server-timeout". | ||
# | ||
server-ping-interval: 10 | ||
|
||
# | ||
# Manages the load balancing of the proxy's families. | ||
# | ||
load-balancing: | ||
enabled: true | ||
# | ||
# Time, in seconds, between when the families sort their servers. This interval will cause your proxy to sort ALL of the servers registered to it! | ||
# The higher this value the higher accuracy your load balancing will operate at. | ||
# If you have larger sets of servers on a family, setting the interval to be larger can help save resources. | ||
# | ||
# If you disable this heart, you are effectively setting load balancing for your entire network to be ROUND_ROBIN | ||
# | ||
interval: 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
##################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
##################################################################################################### | ||
# # | ||
# ______ ______ __ __ __ __ ______ ______ ______ ______ ______ ______ # | ||
# /\ ___\ /\ __ \ /\ "-.\ \ /\ "-.\ \ /\ ___\ /\ ___\ /\__ _\/\ __ \ /\ == \ /\ ___\ # | ||
# \ \ \____\ \ \/\ \\ \ \-. \\ \ \-. \\ \ __\ \ \ \____\/_/\ \/\ \ \/\ \\ \ __< \ \___ \ # | ||
# \ \_____\\ \_____\\ \_\\"\_\\ \_\\"\_\\ \_____\\ \_____\ \ \_\ \ \_____\\ \_\ \_\\/\_____\ # | ||
# \/_____/ \/_____/ \/_/ \/_/ \/_/ \/_/ \/_____/ \/_____/ \/_/ \/_____/ \/_/ /_/ \/_____/ # | ||
# # | ||
# # | ||
# --------------------------- # | ||
# # | ||
# | Connectors allow you to define multiple different messaging and storage connections which # | ||
# | can then be referenced in various points in your configs. # | ||
# # | ||
# | To update any connection settings you don't have to search through your configs, instead # | ||
# | just update them here! # | ||
# # | ||
# --------------------------- # | ||
# # | ||
##################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
##################################################################################################### | ||
|
||
redis: | ||
host: "0.0.0.0" | ||
port: 3306 | ||
user: "default" | ||
password: "password" | ||
data-channel: "rustyConnector-sync" | ||
|
||
mariadb: | ||
host: "0.0.0.0" | ||
port: 3306 | ||
user: "default" | ||
password: "password" | ||
database: "RustyConnector" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
########################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
########################################################################################################### | ||
# # | ||
# _____ ______ ______ ______ # | ||
# /\ __-. /\ __ \ /\__ _\ /\ __ \ # | ||
# \ \ \/\ \ \ \ __ \ \/_/\ \/ \ \ __ \ # | ||
# \ \____- \ \_\ \_\ \ \_\ \ \_\ \_\ # | ||
# \/____/ \/_/\/_/ \/_/ \/_/\/_/ # | ||
# ______ ______ ______ __ __ ______ __ ______ # | ||
# /\__ _\ /\ == \ /\ __ \ /\ "-.\ \ /\ ___\ /\ \ /\__ _\ # | ||
# \/_/\ \/ \ \ __< \ \ __ \ \ \ \-. \ \ \___ \ \ \ \ \/_/\ \/ # | ||
# \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_\\"\_\ \/\_____\ \ \_\ \ \_\ # | ||
# \/_/ \/_/ /_/ \/_/\/_/ \/_/ \/_/ \/_____/ \/_/ \/_/ # | ||
# # | ||
# # | ||
# Welcome to Data Transit! # | ||
# # | ||
# ------------------------------------------------- # | ||
# # | ||
# | Manage which messages you want to allow to speak to RustyConnector! # | ||
# | Setup your message cache to control what data packets will be cached # | ||
# | and how many to cache before old packets get thrown away! # | ||
# # | ||
# ------------------------------------------------- # | ||
# # | ||
########################################################################################################### | ||
#|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||# | ||
########################################################################################################### | ||
|
||
# | ||
# Should Data Transit operate via an AES SecureTransit protocol? | ||
# | ||
secure-transit: true | ||
|
||
# | ||
# The max length that packets are allowed to be. | ||
# If a packet is over this value it will be thrown away. | ||
# The size below should work for just about everything that is sent by RustyConnector. | ||
# If you are defining larger addresses or names on your paper servers, you might want to increase this. | ||
# | ||
max-packet-length: 512 | ||
|
||
|
||
# | ||
# The cache allows you to view messages after they've been received. | ||
# This is helpful for debugging issues and seeing what's happening under the hood. | ||
# | ||
cache: | ||
# | ||
# The number of packets that will be saved into memory at any time. | ||
# As new packets are received, old packets will get pushed out of the cache. | ||
# | ||
# You can view cached messages using the `/rc message` command. | ||
# | ||
size: 100 | ||
|
||
# | ||
# The packet types that should be ignored. | ||
# If a packet is of a type that is contained below, it will not be cached. | ||
# | ||
ignored-types: [] | ||
|
||
# | ||
# The packet statuses to ignore. | ||
# If a packet matches a status listed below, it will not be cached. | ||
# | ||
ignored-statuses: [] | ||
|
||
|
||
# | ||
# By listing IP addresses here. The plugin will NEVER accept packets if they don't contain one of these IP Addresses! | ||
# If you know exactly which IP Addresses you want to allow packets from. You can whitelist them here! | ||
# | ||
# VERY IMPORTANT: If you are getting packets over your redis network that you don't recognize: | ||
# YOU SHOULD RESET YOUR REDIS CREDENTIALS IMMEDIATELY! | ||
# This feature only exists to give you a bit more flexibility in how strict your plugin can be. | ||
# | ||
whitelist: | ||
enabled: false | ||
addresses: | ||
- "127.0.0.1" | ||
|
||
# | ||
# By listing IP addresses here. The plugin will NEVER accept packets containing one of these IP Addresses! | ||
# | ||
# NOTE: The denylist has precedence over the whitelist. If an IP is defined in both the whitelist AND the denylist | ||
# it will not be accepted. | ||
# | ||
# VERY IMPORTANT: If you are getting packets over your redis network that you don't recognize: | ||
# YOU SHOULD RESET YOUR REDIS CREDENTIALS IMMEDIATELY! | ||
# This feature only exists to give you a bit more flexibility in how strict your plugin can be. | ||
# | ||
denylist: | ||
enabled: false | ||
addresses: | ||
- "127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# The language to use for RustyConnector. | ||
# Language translations are provided by volunteering community members. | ||
# In order to install a different language you'll need to download the appropriate lang file. | ||
# | ||
# Language codes are not case-sensitive, also you can use a dash "-" or underscore "_". | ||
# A general good practice is to just copy the name, exactly, of the lang package you wanna load. | ||
# | ||
# For a list of supported languages, please reference: | ||
# | ||
# LINK HERE | ||
# | ||
language: "en_us" |
Oops, something went wrong.