HaPi_r
本帖最后由 HaPi_r 于 2022-5-3 22:06 编辑

Bungee-Reconnect
重启服务器时让玩家不掉线重连

站内老贴

16年的一个老插件了
一直没有更新
今天无意间发现了原帖下面有人在去年年初更新的版本


已在我自己的服务器(最新BC)上测试可用




无 命令/权限



配置文件
  1. #
  2. # Bungee-Reconnect
  3. # https://github.com/maythiwat/Bungee-Reconnect
  4. #

  5. # Reconnect --- config file
  6. # In this file, you can setup some basic settings for the plugin.

  7. # The current version of this configuration. Do NOT change this value!
  8. # If the plugin uses a more recent config version, this config gets replaced by it
  9. # while a backup of the old config will be kept as "config.old.yml".
  10. version: 4

  11. # You can add animated dots to the reconnecting texts by using the {%dots%} variable.

  12. # The text that should be displayed, when the plugin is trying to reconnect a player.
  13. # Leave empty if you don't wish any title or action bar message to be displayed.
  14. reconnecting-text:
  15.   title: "&6&l正在尝试重连服务器中..."
  16.   subtitle: "&e请不要离开! &7Reconnecting to server..."
  17.   actionbar: "&7正在尝试重连服务器, 请稍等{%dots%}"

  18. # The text that should be displayed, when the plugin managed to establish a connection to
  19. # the previous server and now connects the player to it.
  20. # Leave empty if you don't wish any title or action bar message to be displayed.
  21. connecting-text:
  22.   title: "&a&l已成功重连到服务器!"
  23.   subtitle: ""
  24.   actionbar: ""

  25. # The text that should be displayed, when the plugin didn't manage to etablish
  26. # a connection to the previous server and connected the player to the fallback server.
  27. # Leave empty if you don't wish any title or action bar message to be displayed.
  28. failed-text:
  29.   title: "&c&l连接服务器失败"
  30.   subtitle: "&7You have been moved to the &efallback server"
  31.   actionbar: ""


  32. # The amount of milliseconds the plugin should wait before attempting to check if the server is alive.
  33. delay-before-trying: 60000

  34. # The maximum amount of reconnect tries the plugin should make, before either connecting the player
  35. # to your fallback-server or disconnecting him. This value cannot be less than 1.
  36. max-reconnect-tries: 100

  37. # The amount of milliseconds the plugin should wait before making a new reconnect try. This value
  38. # cannot be less than zero.
  39. reconnect-time: 30000

  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: 30000

  43. # A List containing all servers that don't allow automatic reconnecting.
  44. ignored-servers: [dummy, dummy2]

  45. # This block is necessary for the plugin to differentiate whether a kick happened because of a shutdown or not.
  46. shutdown:
  47.   # 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.)
  48.   # When regex is set to true, the regex must match the kick message if the player should be reconnected to that server.
  49.   # Leaving the text empty will lead the plugin to always reconnect the players, no matter what the actual kick-reason was.

  50.   # You can still use the "ServerReconnectEvent" as a plugin developer to decide on your own whether the user should be reconnected automatically
  51.   # or not.

  52.   text: "服务器关闭" #这里写你服务器关闭时显示的文字 一般来说都不是我这个(
复制代码


食用方法
  • 下载此插件
  • 打开BC文件夹/plugins
  • 放入
  • 重启BC(无需重启子服)


下载




胡闹0519
很好,进收藏吃灰

曲奇先生
我草这个好用

東方不敗
下载打不开...

805732270
卧槽这个插件牛逼  值得收藏

碳烤锅包肉
新手腐竹必备,收藏备用好了

小晴M
无法在1.12.2服务器上运行

HaPi_r
小晴M 发表于 2021-11-5 13:00
无法在1.12.2服务器上运行

BC插件
非spigot

HaPi_r

gayhub
需要魔法
或者多刷新

小晴M

是装BC,对于1.12.2服务器无效,1.8服务器可以,但是配置文件改成中文同样失效,不知道为什么

HaPi_r
小晴M 发表于 2021-11-5 13:34
是装BC,对于1.12.2服务器无效,1.8服务器可以,但是配置文件改成中文同样失效,不知道为什么 ...

啊这,,,
这我就不知道了...
但是我1.17.1是可以的..

CC_jun
装进去了 配置文件都生成了 但是一重启 还是没用

CC_jun
这个子服是不需要装的吧 我看你都没写

第一页 上一页 下一页 最后一页