mrjaime1999

Untitled

Jul 27th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.75 KB | None | 0 0
  1. # LobbyBalancer Configuration (https://www.spigotmc.org/resources/10788/)
  2. # Read the comments, they are a very important part of the configuration
  3. # To get support send me a private message with a description of the problem and the config file
  4. # To easily paste the config file (and other relevant files) use the command /balancer paste
  5. # Remember to set enabled under settings to true
  6.  
  7. settings:
  8.  # The plugin will be disabled as default
  9.   enabled: true
  10.  
  11.   # Disable the messages the plugin prints out when loading
  12.   silent-startup: false
  13.  
  14.   # Pings to the servers to see if they can be accessed or not
  15.   server-check:
  16.    # If this is disabled the players will connect to the first server available
  17.     enabled: true
  18.  
  19.     # Use either CUSTOM or GENERIC, the first one generally works the best
  20.     tactic: CUSTOM
  21.  
  22.     # The attempts before giving up on getting a server for a player
  23.     attempts: 5
  24.  
  25.     # The interval between every round of checks
  26.     interval: 10000
  27.  
  28.     # This only applies for the custom tactic
  29.     timeout: 5000
  30.  
  31.     # This prints info every time the plugin checks a server and prints its results
  32.     print-info: false
  33.  
  34.     # The descriptions that mark a server as non accessible
  35.     marker-descs: ["Server is not accessible", "Gamemode has already started"]
  36.  
  37.   # This will connect the player to a server of the parent of the section the player is kicked from
  38.   reconnect-kick:
  39.    # If this is enabled the kick reasons must still match for this to work
  40.     enabled: true
  41.  
  42.     # If enabled, the reasons will work as a blacklist instead of a whitelist
  43.     inverted: true
  44.  
  45.     # The reasons that determine if a player is reconnected or not, supports regex
  46.     reasons: []
  47.  
  48.     # Sections where this feature is ignored
  49.     ignored: []
  50.  
  51.     # If enabled, players will not be able to get back to any server in a section that is parent of the principal section
  52.     restricted: false
  53.  
  54.     # This will make it so that the server the player is kicked from will be excluded
  55.     exclude-from: true
  56.  
  57.     # If enabled, players that are kicked while connecting to the proxy will be forced to reconnect to the principal section
  58.     force-principal: false
  59.  
  60.     # This prints info every time a player gets kicked telling you the reason and if it matches the reasons
  61.     print-info: false
  62.  
  63.     # You can override the behavior with rules, overriding the parent section
  64.     # This will set the section to go when you come from the section specified
  65.     # This will still require the kick reasons to match
  66.     rules:
  67.       'section-from': 'section-to'
  68.  
  69.   # This will connect the player to a server of the parent of the section the player is currently on
  70.   fallback-command:
  71.    # If this is disabled the command will not be registered
  72.     enabled: false
  73.  
  74.     # The name of the command, make sure it does not interfere with other commands
  75.     name: 'fallback'
  76.  
  77.     # The aliases of the command, make sure it does not interfere with other commands
  78.     aliases: ['lobby', 'hub', 'back']
  79.  
  80.     # Leave this empty for no permission
  81.     permission: ''
  82.  
  83.     # Sections where this command is ignored
  84.     ignored: []
  85.  
  86.     # If enabled, players will not be able to get back to any server in a section that is parent of the principal section
  87.     restricted: false
  88.  
  89.     # You can override the behavior with rules, overriding the parent section
  90.     # This will set the section to go when you come from the section specified
  91.     rules:
  92.       'section-from': 'section-to'
  93.  
  94.   # This will reload the plugin every time you execute /greload
  95.   auto-reload: true
  96.  
  97.   # Support for getting the players connected to a server with RedisBungee
  98.   redis-bungee: false
  99.  
  100.   # Assign a target to a player instead of looking every time for one
  101.   # This is reset every time the player disconnects
  102.   assign-targets: false
  103.  
  104.   # When a player is not in any section, the player will go to the principal section
  105.   # This affects both the fallback command and reconnect kick features
  106.   fallback-principal: false
  107.  
  108.   # This will update the recognized servers every minute
  109.   servers-update: false
  110.  
  111.   # Comment a message to disable it
  112.   messages:
  113.     connecting-server: '&aConnecting to {server}'
  114.     misc-failure: '&cCould not find a server to get connected'
  115.     unknown-section: '&cCould not find a section with that name'
  116.     invalid-input: '&cThis is an invalid input type for this command'
  117.     unavailable-server: '&cThis command cannot be executed on this server'
  118.     player-kicked: '&cYou have been kicked from &a{from} &cand you are being moved to &a{to}&c, reason: &a{reason}'
  119.     player-bypass: '&cYou have not been moved because you have the lobbybalancer.bypass permission'
  120.  
  121. # Here you have an example of what you can do with the sections
  122. # The plugin will print out info telling you if your config is right or not
  123. # If a section does not have a provider it will be inherit from the parent
  124. # The best way to understand this is to play around with it
  125. # You can use regex to match a set of servers instead of adding each server
  126.  
  127. # Providers of this plugin
  128. # NONE: Returns no server
  129. # DIRECT: Returns the only server in the list
  130. # LOCALIZED: Returns the server that matches a region (testing)
  131. # LOWEST: Returns the server with the least players online
  132. # RANDOM: Returns a random server
  133. # PROGRESSIVE: Returns the first server that is not full
  134. # FILLER: Returns the server with the most players online that is not full
  135.  
  136. sections:
  137.   hubs:
  138.     principal: true
  139.     provider: RANDOM
  140.     servers: ["hub01", "hub02"]
  141.     section-command:
  142.       name: 'hub'
  143.       permission: ''
  144.       aliases: ["lobby"]
  145.   bmsolo:
  146.     provider: FILLER
  147.     parent: hubs
  148.     servers: ["bmsolo01"]
  149.     section-command:
  150.       name: 'bmsolo'
  151.       permission: ''
  152.  
  153. # Do not modify this
  154. version: '2.0.9.9'
Advertisement
Add Comment
Please, Sign In to add comment