Advertisement
Shoghi-Gaming

RedirectPlus' config

Apr 22nd, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.53 KB | None | 0 0
  1. # All the messages send by the plugin.
  2. messages:
  3.   redirected:
  4.    - "&f"
  5.     - "&cA kick occurred in your connection. &cReason:&r %reason%"
  6.     - "&cYou have been send back to the main lobby."
  7.     - "&f"
  8.   unable-redirect-alias:
  9.    - "&f"
  10.     - "&cUnable to send you. All servers in that category are unavailable."
  11.     - "&f"
  12.   unable-redirect-alias-same-category:
  13.    - "&f"
  14.     - "&cUnable to send you to another server in this category."
  15.     - "&f"
  16.  
  17. # The amount of time between checking if a server is online.
  18. # Players won't be connected to offline servers.
  19. check: 30
  20.  
  21. # The delay that is given to the redirect message.
  22. # When you have a lot of messages when a player joins a certain server this can help to make sure that the redirectplus messages shows as 'newest'.
  23. # The delay is in seconds.
  24. delay: 0
  25.  
  26. # Blacklist. When a kick message contains this word they will NOT get redirected.
  27. #   This will result in the player seeing the kick screen.
  28. blacklist:
  29.  - "ban"
  30.  
  31. # Detect shutdown in server kick messages
  32. #   This can be faster for when you want to shutdowns servers and using RedirectPlus to redirectplus those people.
  33. detect-shutdown:
  34.   enabled: true
  35.   messages:
  36.  - "shutdown"
  37.   - "restart"
  38.   - "closed"
  39.  
  40. # Don't show the redirect message if the message contains one of the following words.
  41. # Can be useful when redirecting people from a game lobby and stuff.
  42. no-messages:
  43.  - "[Silent]"
  44.  
  45. # unknown-group / server
  46. # This will redirect unknown servers to the group listed here:
  47. unknown-group: lobby
  48.  
  49. # Specify defaults here. You can overwrite these settings by adding them to groups them self.
  50. global:
  51.  # Spread modes:
  52.   #   PROGRESSIVE : Fill the server to the progressive-minimal amount, after that fill the next one, giving nicely populated lobbies. Uses LOWEST when the minimal is reached on all servers.
  53.   #   CYCLE       : Cycle to the server to spread the load as much as possible. This can result in players being in a server on their own.
  54.   #   LOWEST      : Send the player to the server with the lowest amount of players online.
  55.   #   HIGHEST     : Send the players to the server with the highest amount of players. (Not adviced!)
  56.   spread-mode: PROGRESSIVE
  57.  
  58.   # The minimal amount of players that are on a server before the next server gets selected.
  59.   progressive-minimal: 20
  60.  
  61. # Server groups and their settings
  62. groups:
  63.   lobby:
  64.    # If kicked from this server group, no redirects will happen.
  65.     bottom-kick: true
  66.     # Spread redirected people over the servers.
  67.     spread: true
  68.     # Spread mode, if spread is enabled, use the following spread mode (will overwrite global if used).
  69.     spread-mode: PROGRESSIVE
  70.     # The minimal amount of players that are on a server before the next server gets selected. (only used for PROGRESSIVE spread)
  71.     progressive-minimal: 20
  72.     # Parent group - If none of the servers are available, the parent group will be used.
  73.     # Set to none if none. If the parent server group is needed the player will be kicked instead.
  74.     parent-group: none
  75.     servers:
  76.      - lobby
  77.     # Servers that are connected to this group, but they won't be redirected to:
  78.     connected: {}
  79.     # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
  80.     aliases: {}
  81.   games:
  82.     bottom-kick: false
  83.     spread: true
  84.     parent-group: lobby
  85.     # These servers do not have lobbies them self so we use a parent group.
  86.     servers: {}
  87.     connected:
  88.      - survival
  89.       - pvp
  90.     # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
  91.     aliases:
  92.      - games
  93.  
  94. # Log settings, this will show your messages in console so you know what's going on.
  95. log:
  96.  # If set to true the plugin will log redirects attempts that are canceled due to blacklisted words.
  97.   blacklist: true
  98.   # If set to true the plugin will log redirects that fail because no server was found.
  99.   redirect-failed: true
  100.   # If set to true the plugin will log players that do not get redirected due to the bottom-kick setting enabled.
  101.   bottom-kick: false
  102.   # If set to true the plugin will log successful redirect attempts.
  103.   redirected: true
  104.   # If set to true the plugin will log any cancelled redirect attempts due to inactive connections.
  105.   inactive: true
  106.  
  107. # EXAMPLE SETUP
  108. #groups:
  109. #  # The main lobby. If kicked from here they should not be redirected so we enable bottom-kick.
  110. #  # There are no connected servers here.
  111. #  main-lobby:
  112. #    bottom-kick: true
  113. #    spread: true
  114. #    parent-group: none
  115. #    servers:
  116. #      - lobby1
  117. #      - lobby2
  118. #      - lobby3
  119. #    connected: {}
  120. #    # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
  121. #    aliases:
  122. #      - lobbies
  123. #      - lobby
  124. #  # This is the survival games group.
  125. #  # bottom-kick is false, since we want redirects from the connected servers.
  126. #  # The lobby servers are in the 'servers' list (so they will be redirected to) and the game servers are in the 'connected' list.
  127. #  survivalgames:
  128. #    bottom-kick: false
  129. #    spread: true
  130. #    parent-group: none
  131. #    servers:
  132. #      - sg-lobby-1
  133. #      - sg-lobby-2
  134. #    connected:
  135. #      - sg-game-1
  136. #      - sg-game-2
  137. #      - sg-game-3
  138. #      - sg-game-4
  139. #      - sg-game-5
  140. #    # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
  141. #    aliases:
  142. #      - survivalgames
  143. #      - sg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement