mrjaime1999

PlayerBalancer Configuration Reference

Oct 19th, 2015
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.09 KB | None | 0 0
  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.      - 'main'
  55.  
  56.   # Delay when executing commands.
  57.   delay:
  58.    # If it is true, the connection will be delayed for X seconds, if not the player will connect immediately.
  59.     enabled: false
  60.  
  61.     # The amount of time before connecting the player.
  62.     seconds: 5
  63.  
  64.     # Placeholders: {server} (The target name), {time} (The amount of time before connecting).
  65.     message: '&cYou will be connected to {server} in {time} seconds'
  66.  
  67.   # Servers where the commands of this plugin are disabled on.
  68.   server_deny:
  69.    # If it is true, the players inside any of the servers specified will not be able to execute commands.
  70.     enabled: false
  71.  
  72.     # The servers where the commands will not work.
  73.     servers:
  74.      - 'DeniedServer'
  75.  
  76.     # The message when the player executes a command inside any of the denied servers.
  77.     message: '&cThis command is disabled here.'
  78.  
  79.   # This commands takes care of connecting the player to a server inside the backend of the group of the player.
  80.   join_command:
  81.    # If it is false, the command will not exist.
  82.     enabled: false
  83.  
  84.     # The name for the command, without slash.
  85.     command: join
  86.  
  87.     # The permission for the command, leave blank for none.
  88.     permission: ''
  89.  
  90.     # Aliases for the command.
  91.     aliases: ["match"]
  92.  
  93.   # This commands takes care of connecting the player to a server inside the backend of the group of the player.
  94.   # 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.
  95.   lobby_command:
  96.    # If it is false, the command will not exist.
  97.     enabled: true
  98.  
  99.     # The name for the command, without slash.
  100.     command: lobby
  101.  
  102.     # The permission for the command, leave blank for none.
  103.     permission: ''
  104.  
  105.     # Aliases for the command.
  106.     aliases: ["hub", "leave", "back"]
  107.  
  108.   # This feature allows you to use a group-specific server that the plugin adds to connect a player to the frontend of that group
  109.   # The server name is '@' and the name of the group
  110.   # When somone connects to that server made by the plugin the server the player will end up is one in the frontend.
  111.   group_server: true
  112.  
  113.   # This plugin supports redisbungee for multiple proxy instances. Get a look on redisbungee at
  114.   # https://www.spigotmc.org/resources/13494/
  115.   # More info at https://minecraft.minimum.io/wiki/RedisBungee/FAQ
  116.   redisbungee: false
  117.  
  118.   # Enable this if you want the plugin to reload when bungeecord is reloaded
  119.   autoreload: true
  120.  
  121.   # Enable this if you want players to have assigned a server so they join the same frontend server
  122.   # It gets reset when they disconnect of the proxy
  123.   assign_target: false
  124.  
  125.   # Messages, you can use color codes and specific placeholders for each message. Colors at http://minecraft.gamepedia.com/Formatting_codes
  126.   messages:
  127.    # Sent when the player is not inside a group.
  128.     command_unavailable: '&cThis command cannot be used in this server'
  129.  
  130.     # Sent when no server has been found for connecting.
  131.     connect_failure: '&cNo server has been found! Try it later!'
  132.  
  133.     # Sent when no group has been found with a name.
  134.     # Placeholders: {group} (The group name).
  135.     undefined_group: '&cThere is no set of servers named {group}'
  136.  
  137.     # Sent when the player is connecting to a server.
  138.     # Placeholders: {server} (The target name).
  139.     connecting_message:
  140.       enabled: true
  141.       text: '&aConnecting to {server}...'
  142.  
  143.     # Sent when the player has connected to a server.
  144.     # Placeholders: {server} (The target name).
  145.     connected_message:
  146.       enabled: false
  147.       text: '&aYou have entered {server}'
  148. groups:
  149.  # Wildcards:
  150.   # @: Adds all the frontend servers to the backend of a group. Usage: @group
  151.   # *: Adds all the servers that start with it. Usage: Hub*
  152.   # Notes:
  153.   # It is not recommended to remove the main group
  154.   # You can set a specific mode for a group
  155.   main:
  156.     enabled: true
  157.     servers:
  158.      # This is the list of the servers that are "public" for the player, mainly the hubs.
  159.       frontend:
  160.        - 'Hub*'
  161.  
  162.       # This is the list of the server that are "protected" for the player, like the minigames servers or more hubs.
  163.       backend:
  164.        - '@skywars'
  165.         - '@survivalgames'
  166.   skywars:
  167.     enabled: true
  168.     servers:
  169.       frontend:
  170.        - 'SkywarsHub1'
  171.         - 'SkywarsHub2'
  172.         - 'SkywarsHub3'
  173.       backend:
  174.        - 'Skywars1'
  175.         - 'Skywars2'
  176.         - 'Skywars3'
  177.   survivalgames:
  178.     enabled: true
  179.     servers:
  180.       frontend:
  181.        - 'SurvivalGamesHub1'
  182.         - 'SurvivalGamesHub2'
  183.         - 'SurvivalGamesHub3'
  184.       backend:
  185.        - 'SurvivalGames1'
  186.         - 'SurvivalGames2'
  187.         - 'SurvivalGames3'
Advertisement
Add Comment
Please, Sign In to add comment