Advertisement
Guest User

Untitled

a guest
May 27th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.90 KB | None | 0 0
  1. # PlayerBalancer 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. # If the plugin has issues loading the configuration, try putting quotes around text
  6.  
  7. general {
  8. # IMPORTANT! Set this to true after configuring the plugin!
  9. enabled=true
  10.  
  11. # When true, the plugin will reload when you execute /greload
  12. auto-reload=true
  13.  
  14. # When true, the plugin will get player counts from RedisBungee
  15. redis-bungee=false
  16.  
  17. # When true, this plugin will print less messages when loading
  18. silent=false
  19.  
  20. # When true, spigot plugins will be able to contact with this plugin
  21. # Do not disable if you are using the addon!
  22. plugin-messaging=true
  23.  
  24. # Do not modify this
  25. version="2.1.5.3"
  26. }
  27.  
  28. # Effectively remove (i.e comment) a message to disable it
  29. # Supported variables are shown in the default messages
  30. messages {
  31. connecting-server="&2[&bUnioCraft&2] &a{section} sunucusuna bağlanılıyor..."
  32. #connected-server="&2[&bUnioCraft&2] &a{server} sunucusuna bağlanıldı!"
  33. invalid-input="&cBu komut için hatalı bir girdi belirttiniz."
  34. misc-failure="&2[&bUnioCraft&2] &cBağlanılacak bir sunucu bulunamadı."
  35. player-bypass="&cYou have not been moved because you have the playerbalancer.bypass permission"
  36. player-kicked="&c{from} sunucusundan {to} sunucusuna taşındınız. &aSebep: &r{reason}"
  37. same-section="&cZaten bu bölümdeki bir sunucuya bağlandınız!"
  38. unavailable-server="&cBu sunucuda bu komutu kullanamazsınız!"
  39. unknown-section="&aBu isimle bir bölüm bulunamadı."
  40. }
  41.  
  42. features {
  43. balancer {
  44. # Here you have an example of what you can do with the sections
  45. # The best way to understand this is to play around with it
  46. # You can have as many sections as you want, there is no limit here
  47. # If a section does not have a provider it will try to inherit it from the parent
  48. # When connecting to a server on a section while not being on it already, you get distributed
  49. # You can use regex to match a set of servers instead of adding each server individually
  50.  
  51. # Providers you can use: (you can request more!)
  52. # NONE: Returns no server (no one will be able to connect to this section)
  53. # RANDOM: Returns a random server, generated by SecureRandom
  54. # RANDOM_LOWEST: Returns a random server between the ones with the least players online
  55. # RANDOM_FILLER: Returns a random server between the ones with the most players online that is not full
  56. # PROGRESSIVE: Returns the first server that is not full
  57. # PROGRESSIVE_LOWEST: Returns the first server with the least players online
  58. # PROGRESSIVE_FILLER: Returns the first server with the most players online that is not full
  59. # EXTERNAL: Returns the server calculated by a provider created by other plugin
  60.  
  61. sections {
  62. SoloSkywars {
  63. parent="Lobi"
  64. provider=RANDOM_FILLER
  65. servers=[
  66. "SoloSkywars01"
  67. "SoloSkywars02"
  68. "SoloSkywars03"
  69. "SoloSkywars04"
  70. ]
  71. }
  72.  
  73. DuoSkywars {
  74. parent="Lobi"
  75. provider=RANDOM_FILLER
  76. servers=[
  77. "DuoSkywars01"
  78. "DuoSkywars02"
  79. ]
  80. }
  81.  
  82. SoloSG {
  83. parent="Lobi"
  84. provider=PROGRESSIVE_FILLER
  85. servers=[
  86. "SoloSG1"
  87. "SoloSG2"
  88. "SoloSG3"
  89. "SoloSG4"
  90. "SoloSG5"
  91. ]
  92. }
  93.  
  94. TeamSG {
  95. parent="Lobi"
  96. provider=PROGRESSIVE_FILLER
  97. servers=[
  98. "TeamSG6"
  99. "TeamSG7"
  100. "TeamSG8"
  101. "TeamSG9"
  102. "TeamSG10"
  103. "TeamSG11"
  104. "TeamSG12"
  105. "TeamSG13"
  106. "TeamSG14"
  107. "TeamSG15"
  108. "TeamSG16"
  109. "TeamSG17"
  110. "TeamSG18"
  111. "TeamSG19"
  112. "TeamSG20"
  113. ]
  114. }
  115.  
  116. Lobi {
  117. parent="Girislobi"
  118. provider=RANDOM
  119. servers=[
  120. "Lobi1"
  121. "Lobi2"
  122. "Lobi3"
  123. "Lobi4"
  124. "Lobi5"
  125. "Lobi6"
  126. ]
  127. }
  128.  
  129. Girislobi {
  130. provider=NONE
  131. servers=[
  132. "Girislobi"
  133. ]
  134. }
  135. }
  136.  
  137. # The principal section is very important for other features
  138. # Normally set this to the section that has your main lobbies
  139. principal-section="Lobi"
  140.  
  141. # When a player is not in any section, the player will go to the principal section
  142. # This affects both the fallback command and kick handler features
  143. default-principal=true
  144.  
  145. # Dummy sections can have servers from other non-dummy sections
  146. # When a player connects to a dummy section, nothing will happen
  147. dummy-sections=[]
  148.  
  149. # Reiterative sections remember the server the player connected to previously
  150. # The plugin will keep connecting the player to that server until a change occurs
  151. reiterative-sections=[]
  152.  
  153. # When true, section servers will show the sum of the players on all servers on that section
  154. # Important: This will make some plugins think that your bungeecord has more players than it really does
  155. show-players=true
  156. }
  157.  
  158. # Pings servers to see if they are online or not and if they are accessible
  159. server-checker {
  160. enabled=true
  161.  
  162. # Use either CUSTOM or GENERIC, the first one generally works the best
  163. tactic=CUSTOM
  164.  
  165. # The attempts before giving up on getting a server for a player
  166. attempts=5
  167.  
  168. # The interval between every round of checks (in milliseconds)
  169. interval=10000
  170.  
  171. # The timeout of a ping, only applied to the CUSTOM tactic
  172. timeout=7000
  173.  
  174. # When true, the plugin will print useful info when a server gets checked
  175. debug-info=false
  176.  
  177. # When the description of a server matches these, it will be set as non accessible
  178. # Be aware of colors, it is recommended to use the "contains" rule below or some others
  179. marker-descs=[
  180. "(?i).*BAŞLADI*",
  181. "(?i).*ÖLÜM OYUNU*",
  182. "(?i).*YENİLENİYOR*",
  183. "(?i).*BAŞLADI*"
  184. ]
  185. }
  186.  
  187. # Connects a player to the parent of current section the player is connected to
  188. fallback-command {
  189. enabled=true
  190.  
  191. # Leave permission empty for no permission
  192. command {
  193. name=fallback
  194. permission=""
  195. aliases=[
  196. lobi,
  197. hub,
  198. lobby
  199. ]
  200. }
  201.  
  202. # Add sections here where you do not want this feature to work
  203. excluded-sections=[Girislobi]
  204.  
  205. # When true, players will not be able to get connected to sections that are parents of the principal section
  206. restrictive=true
  207.  
  208. # When true, players will not be able get connected within servers of the same section
  209. # This does not affect the parametized variant of the command (/command [number])
  210. # This also affects section commands
  211. prevent-same-section=false
  212.  
  213. # You can override the behavior with rules, overriding the parent section
  214. # This will set the section to go when you come from the section specified
  215. rules {
  216. section-from=section-to
  217. }
  218. }
  219.  
  220. # Connects a player to other section when kicked
  221. kick-handler {
  222. enabled=true
  223.  
  224. # When true, the reasons will work as a blacklist instead of a whitelist
  225. # Blacklist: A player must be kicked with a reason that is NOT in the reasons
  226. # Whitelist: A player must be kicked with a reason that is in the reasons
  227. inverted=true
  228.  
  229. # The reasons that determine if a player is reconnected or not, supports regex
  230. reasons=["(?i).*Hile*.*"]
  231.  
  232. # When true, players that are kicked while connecting to the proxy will be forced to reconnect to the principal section
  233. force-principal=false
  234.  
  235. # Add sections here where you do not want this feature to work
  236. excluded-sections=[Lobi, Girislobi]
  237.  
  238. # When true, players will not be able to get connected to sections that are parents of the principal section
  239. restrictive=true
  240.  
  241. # When true, the plugin will print useful info when a player gets kicked
  242. debug-info=false
  243.  
  244. # You can override the behavior with rules, overriding the parent section
  245. # This will set the section to go when you come from the section specified
  246. rules {
  247. section-from=section-to
  248. }
  249. }
  250.  
  251. # Periodically adds servers that weren't there before the plugin loaded
  252. server-refresh {
  253. enabled=false
  254.  
  255. # The delay to the first refresh (in milliseconds)
  256. delay=2000
  257.  
  258. # The interval between every refresh (in milliseconds)
  259. interval=5000
  260. }
  261.  
  262. # Redirect players when connecting to a section in case they have a permission, useful for special lobbies
  263. # Players will not get redirected if they are connected to a server where they were previously redirected to
  264. permission-router {
  265. enabled=false
  266.  
  267. rules {
  268. general-lobbies {
  269. "special.permission"=other-lobby-section
  270. }
  271. }
  272. }
  273. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement