Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. # Reconnect --- config file
  2. # In this file, you can setup some basic settings for the plugin.
  3.  
  4. # The current version of this configuration. Do NOT change this value!
  5. # If the plugin uses a more recent config version, this config gets replaced by it
  6. # while a backup of the old config will be kept as "config.old.yml".
  7. version: 2
  8.  
  9. # The text that should be displayed, when the plugin is trying to reconnect a player.
  10. # Leave empty if you don't wish any title or action bar message to be displayed.
  11. reconnecting-text:
  12. # You can add animated dots to the reconnecting texts by using the {%dots%} variable.
  13.  
  14. title: "&7Reconnecting{%dots%}"
  15. actionbar: "&a&lPlease do not leave! &7Reconnecting to server{%dots%}"
  16.  
  17. # The text that should be displayed, when the plugin managed to establish a connection to
  18. # the previous server and now connects the player to it.
  19. # Leave empty if you don't wish any title or action bar message to be displayed.
  20. connecting-text:
  21. title: "&cConnecting..."
  22. actionbar: "&7Connecting you to the server..."
  23.  
  24. # The text that should be displayed, when the plugin didn't manage to etablish
  25. # a connection to the previous server and connected the player to the fallback server.
  26. # Leave empty if you don't wish any title or action bar message to be displayed.
  27. failed-text:
  28. title: "&cReconnecting failed!"
  29. actionbar: "&eYou have been moved to the hub server!"
  30.  
  31.  
  32. # The maximum amount of reconnect tries the plugin should make, before either connecting the player
  33. # to your fallback-server or disconnecting him. This value cannot be less than 1.
  34. max-reconnect-tries: 20
  35.  
  36. # The amount of milliseconds the plugin should wait before making a new reconnect try. This value
  37. # cannot be less than zero.
  38. reconnect-time: 1000
  39.  
  40. # The amount of milliseconds the plugin should wait for a reply from the previous server, until it
  41. # decides to abort that reconnect try. This value cannot be less than 1000.
  42. reconnect-timeout: 5000
  43.  
  44. # A List containing all servers that don't allow automatic reconnecting.
  45. ignored-servers: [dummy, dummy2]
  46.  
  47. # This block is necessary for the plugin to differentiate whether a kick happened because of a shutdown or not.
  48. shutdown:
  49. # When regex is set to false, the kick message must be equal to the following text if the player should be reconnected to that server. (Formatting codes will be ignored though.)
  50. # When regex is set to true, the regex must match the kick message if the player should be reconnected to that server.
  51. # Leaving the text empty will lead the plugin to always reconnect the players, no matter what the actual kick-reason was.
  52.  
  53. # You can still use the "ServerReconnectEvent" as a plugin developer to decide on your own whether the user should be reconnected automatically
  54. # or not.
  55.  
  56. text: "Server closed"
  57. regex: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement