mrjaime1999

Untitled

Apr 24th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # The version this was generated on.
  2. version: ${project.version}
  3.  
  4. # Settings for the plugin, modify this to your liking
  5. settings:
  6.  # If it is false the plugin will not work except the plugin main command.
  7.   enabled: false
  8.  
  9.   # Mode for the plugin to work.
  10.   # LOWEST: The server chosen is the first one found with the lowest player count.
  11.   # HIGHEST: The server chosen is the first one found with the highest player count.
  12.   # RANDOM: The server chosen is completely random. Using http://goo.gl/eo9oJL (java.security.SecureRandom)
  13.   # MIXED: The server chosen is randomly, but only the servers with the lowest player count (In case more than one found). Generally slower. Using http://goo.gl/vA6EFp (java.util.Random)
  14.   # PROGRESSIVE: The server chosen is the first one that is not full (in order).
  15.  
  16.   # This is the global mode, you can specify a mode for a group
  17.   mode: RANDOM
  18.  
  19.   # Checking if the player is able to connect to a server by pinging it
  20.   server_check:
  21.    # Retry intents trying to find a valid server
  22.     intents: 5
  23.  
  24.     # The amount of milliseconds between every server check
  25.     interval: 10000
  26.  
  27.     # Determine if we should use the utility of BungeeCord for pinging servers or our custom one
  28.     generic: true
  29.  
  30.     # If it is true, it will print information about the servers that have been checked
  31.     info: false
  32.  
  33.     # Servers are marked as inaccessible when they are offline, but you can set them as non accessible when they have a specific
  34.     # The description has to contain one string, you can use regex
  35.     inaccessible_motds:
  36.      - 'Game already started'
  37.  
  38.   # Connect the player to a frontend server when the player gets kicked of a server
  39.   reconnect_kick:
  40.    # If it is false it will kick the player out of the network
  41.     enabled: true
  42.  
  43.     # When the plugin should reconnect the players, the message of kick should contain the reasons. You are able to use regex here
  44.     reasons: ["Kicked from server", "Server is Restarting"]
  45.  
  46.     # Sent when the player gets moved to other server because of a kick
  47.     # Placeholders: {kickedfrom} (The server the player was kicked from), {target} (The server the player is going to be connected), {reason} (The reason of the kick)
  48.     message:
  49.       enabled: true
  50.       text: '&cYou have been kicked from {kickedfrom}'
  51.  
  52.     # Groups where players should be kicked to another frontend server when they are kicked on a frontend server
  53.     recursive_groups: []
  54.   # Delay when executing commands.
  55.   delay:
  56.    # If it is true, the connection will be delayed for X seconds, if not the player will connect immediately.
  57.     enabled: false
  58.  
  59.     # The amount of time before connecting the player.
  60.     seconds: 5
  61.  
  62.     # Placeholders: {server} (The target name), {time} (The amount of time before connecting).
  63.     message: '&cYou will be connected to {server} in {time} seconds'
  64.  
  65.   # Servers where the commands of this plugin are disabled on.
  66.   server_deny:
  67.    # If it is true, the players inside any of the servers specified will not be able to execute commands.
  68.     enabled: false
  69.  
  70.     # The servers where the commands will not work.
  71.     servers:
  72.      - 'DeniedServer'
  73.  
  74.     # The message when the player executes a command inside any of the denied servers.
  75.     message: '&cThis command is disabled here.'
  76.  
  77.   # This commands takes care of connecting the player to a server inside the backend of the group of the player.
  78.   join_command:
  79.    # If it is false, the command will not exist.
  80.     enabled: false
  81.  
  82.     # The name for the command, without slash.
  83.     command: join
  84.  
  85.     # The permission for the command, leave blank for none.
  86.     permission: ''
  87.  
  88.     # Aliases for the command.
  89.     aliases: ["match"]
  90.  
  91.   # This commands takes care of connecting the player to a server inside the backend of the group of the player.
  92.   # In case an extra argument is provided, it will connect the player to a server inside the backend of the group that the player provided.
  93.   lobby_command:
  94.    # If it is false, the command will not exist.
  95.     enabled: true
  96.  
  97.     # The name for the command, without slash.
  98.     command: lobby
  99.  
  100.     # The permission for the command, leave blank for none.
  101.     permission: ''
  102.  
  103.     # Aliases for the command.
  104.     aliases: ["hub", "leave", "back"]
  105.  
  106.   # This feature allows you to use a group-specific server that the plugin adds to connect a player to the frontend of that group
  107.   # The server name is '@' and the name of the group
  108.   # When somone connects to that server made by the plugin the server the player will end up is one in the frontend.
  109.   group_server: true
  110.  
  111.   # This plugin supports redisbungee for multiple proxy instances. Get a look on redisbungee at
  112.   # https://www.spigotmc.org/resources/13494/
  113.   # More info at https://minecraft.minimum.io/wiki/RedisBungee/FAQ
  114.   redisbungee: false
  115.  
  116.   # Enable this if you want the plugin to reload when bungeecord is reloaded
  117.   autoreload: true
  118.  
  119.   # Enable this if you want players to have assigned a server so they join the same frontend server
  120.   # It gets reset when they disconnect of the proxy
  121.   assign_target: false
  122.  
  123.   # Messages, you can use color codes and specific placeholders for each message. Colors at http://minecraft.gamepedia.com/Formatting_codes
  124.   messages:
  125.    # Sent when the player is not inside a group.
  126.     command_unavailable: '&cThis command cannot be used in this server'
  127.  
  128.     # Sent when no server has been found for connecting.
  129.     connect_failure: '&cNo server has been found! Try it later!'
  130.  
  131.     # Sent when no group has been found with a name.
  132.     # Placeholders: {group} (The group name).
  133.     undefined_group: '&cThere is no set of servers named {group}'
  134.  
  135.     # Sent when the player is connecting to a server.
  136.     # Placeholders: {server} (The target name).
  137.     connecting_message:
  138.       enabled: true
  139.       text: '&aConnecting to {server}...'
  140.  
  141.     # Sent when the player has connected to a server.
  142.     # Placeholders: {server} (The target name).
  143.     connected_message:
  144.       enabled: false
  145.       text: '&aYou have entered {server}'
  146. groups:
  147.  # Wildcards:
  148.   # @: Adds all the frontend servers to the backend of a group. Usage: @group
  149.   # *: Adds all the servers that start with it. Usage: Hub*
  150.   # Notes:
  151.   # It is not recommended to remove the main group
  152.   # You can set a specific mode for a group
  153.   1718:
  154.     enabled: true
  155.     servers:
  156.      # This is the list of the servers that are "public" for the player, mainly the hubs.
  157.       frontend:
  158.        - 'hub1'
  159.       # This is the list of the server that are "protected" for the player, like the minigames servers or more hubs.
  160.       backend:
  161.        - 'server1'
  162.   1819:
  163.     enabled: true
  164.     servers:
  165.       frontend:
  166.        - 'hub2'
  167.       backend:
  168.        - 'server2'
Advertisement
Add Comment
Please, Sign In to add comment