Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PlayerBalancer Configuration (https://www.spigotmc.org/resources/10788/)
- # Read the comments, they are a very important part of the configuration
- # To get support send me a private message with a description of the problem and the config file
- # To easily paste the config file (and other relevant files) use the command /balancer paste
- # If the plugin has issues loading the configuration, try putting quotes around text
- general {
- # IMPORTANT! Set this to true after configuring the plugin!
- enabled=true
- # When true, the plugin will reload when you execute /greload
- auto-reload=true
- # When true, the plugin will get player counts from RedisBungee
- redis-bungee=false
- # When true, this plugin will print less messages when loading
- silent=false
- # When true, spigot plugins will be able to contact with this plugin
- # Do not disable if you are using the addon!
- plugin-messaging=true
- # Do not modify this
- version="2.1.5.3"
- }
- # Effectively remove (i.e comment) a message to disable it
- # Supported variables are shown in the default messages
- messages {
- connecting-server="&2[&bUnioCraft&2] &a{section} sunucusuna bağlanılıyor..."
- #connected-server="&2[&bUnioCraft&2] &a{server} sunucusuna bağlanıldı!"
- invalid-input="&cBu komut için hatalı bir girdi belirttiniz."
- misc-failure="&2[&bUnioCraft&2] &cBağlanılacak bir sunucu bulunamadı."
- player-bypass="&cYou have not been moved because you have the playerbalancer.bypass permission"
- player-kicked="&c{from} sunucusundan {to} sunucusuna taşındınız. &aSebep: &r{reason}"
- same-section="&cZaten bu bölümdeki bir sunucuya bağlandınız!"
- unavailable-server="&cBu sunucuda bu komutu kullanamazsınız!"
- unknown-section="&aBu isimle bir bölüm bulunamadı."
- }
- features {
- balancer {
- # Here you have an example of what you can do with the sections
- # The best way to understand this is to play around with it
- # You can have as many sections as you want, there is no limit here
- # If a section does not have a provider it will try to inherit it from the parent
- # When connecting to a server on a section while not being on it already, you get distributed
- # You can use regex to match a set of servers instead of adding each server individually
- # Providers you can use: (you can request more!)
- # NONE: Returns no server (no one will be able to connect to this section)
- # RANDOM: Returns a random server, generated by SecureRandom
- # RANDOM_LOWEST: Returns a random server between the ones with the least players online
- # RANDOM_FILLER: Returns a random server between the ones with the most players online that is not full
- # PROGRESSIVE: Returns the first server that is not full
- # PROGRESSIVE_LOWEST: Returns the first server with the least players online
- # PROGRESSIVE_FILLER: Returns the first server with the most players online that is not full
- # EXTERNAL: Returns the server calculated by a provider created by other plugin
- sections {
- SoloSkywars {
- parent="Lobi"
- provider=RANDOM_FILLER
- servers=[
- "SoloSkywars01"
- "SoloSkywars02"
- "SoloSkywars03"
- "SoloSkywars04"
- ]
- }
- DuoSkywars {
- parent="Lobi"
- provider=RANDOM_FILLER
- servers=[
- "DuoSkywars01"
- "DuoSkywars02"
- ]
- }
- SoloSG {
- parent="Lobi"
- provider=PROGRESSIVE_FILLER
- servers=[
- "SoloSG1"
- "SoloSG2"
- "SoloSG3"
- "SoloSG4"
- "SoloSG5"
- ]
- }
- TeamSG {
- parent="Lobi"
- provider=PROGRESSIVE_FILLER
- servers=[
- "TeamSG6"
- "TeamSG7"
- "TeamSG8"
- "TeamSG9"
- "TeamSG10"
- "TeamSG11"
- "TeamSG12"
- "TeamSG13"
- "TeamSG14"
- "TeamSG15"
- "TeamSG16"
- "TeamSG17"
- "TeamSG18"
- "TeamSG19"
- "TeamSG20"
- ]
- }
- Lobi {
- parent="Girislobi"
- provider=RANDOM
- servers=[
- "Lobi1"
- "Lobi2"
- "Lobi3"
- "Lobi4"
- "Lobi5"
- "Lobi6"
- ]
- }
- Girislobi {
- provider=NONE
- servers=[
- "Girislobi"
- ]
- }
- }
- # The principal section is very important for other features
- # Normally set this to the section that has your main lobbies
- principal-section="Lobi"
- # When a player is not in any section, the player will go to the principal section
- # This affects both the fallback command and kick handler features
- default-principal=true
- # Dummy sections can have servers from other non-dummy sections
- # When a player connects to a dummy section, nothing will happen
- dummy-sections=[]
- # Reiterative sections remember the server the player connected to previously
- # The plugin will keep connecting the player to that server until a change occurs
- reiterative-sections=[]
- # When true, section servers will show the sum of the players on all servers on that section
- # Important: This will make some plugins think that your bungeecord has more players than it really does
- show-players=true
- }
- # Pings servers to see if they are online or not and if they are accessible
- server-checker {
- enabled=true
- # Use either CUSTOM or GENERIC, the first one generally works the best
- tactic=CUSTOM
- # The attempts before giving up on getting a server for a player
- attempts=5
- # The interval between every round of checks (in milliseconds)
- interval=10000
- # The timeout of a ping, only applied to the CUSTOM tactic
- timeout=7000
- # When true, the plugin will print useful info when a server gets checked
- debug-info=false
- # When the description of a server matches these, it will be set as non accessible
- # Be aware of colors, it is recommended to use the "contains" rule below or some others
- marker-descs=[
- "(?i).*BAŞLADI*",
- "(?i).*ÖLÜM OYUNU*",
- "(?i).*YENİLENİYOR*",
- "(?i).*BAŞLADI*"
- ]
- }
- # Connects a player to the parent of current section the player is connected to
- fallback-command {
- enabled=true
- # Leave permission empty for no permission
- command {
- name=fallback
- permission=""
- aliases=[
- lobi,
- hub,
- lobby
- ]
- }
- # Add sections here where you do not want this feature to work
- excluded-sections=[Girislobi]
- # When true, players will not be able to get connected to sections that are parents of the principal section
- restrictive=true
- # When true, players will not be able get connected within servers of the same section
- # This does not affect the parametized variant of the command (/command [number])
- # This also affects section commands
- prevent-same-section=false
- # You can override the behavior with rules, overriding the parent section
- # This will set the section to go when you come from the section specified
- rules {
- section-from=section-to
- }
- }
- # Connects a player to other section when kicked
- kick-handler {
- enabled=true
- # When true, the reasons will work as a blacklist instead of a whitelist
- # Blacklist: A player must be kicked with a reason that is NOT in the reasons
- # Whitelist: A player must be kicked with a reason that is in the reasons
- inverted=true
- # The reasons that determine if a player is reconnected or not, supports regex
- reasons=["(?i).*Hile*.*"]
- # When true, players that are kicked while connecting to the proxy will be forced to reconnect to the principal section
- force-principal=false
- # Add sections here where you do not want this feature to work
- excluded-sections=[Lobi, Girislobi]
- # When true, players will not be able to get connected to sections that are parents of the principal section
- restrictive=true
- # When true, the plugin will print useful info when a player gets kicked
- debug-info=false
- # You can override the behavior with rules, overriding the parent section
- # This will set the section to go when you come from the section specified
- rules {
- section-from=section-to
- }
- }
- # Periodically adds servers that weren't there before the plugin loaded
- server-refresh {
- enabled=false
- # The delay to the first refresh (in milliseconds)
- delay=2000
- # The interval between every refresh (in milliseconds)
- interval=5000
- }
- # Redirect players when connecting to a section in case they have a permission, useful for special lobbies
- # Players will not get redirected if they are connected to a server where they were previously redirected to
- permission-router {
- enabled=false
- rules {
- general-lobbies {
- "special.permission"=other-lobby-section
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement