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
这个子服是不需要装的吧 我看你都没写

HaPi_r
CC_jun 发表于 2021-11-5 14:26
这个子服是不需要装的吧 我看你都没写

子服不需要装

HaPi_r
CC_jun 发表于 2021-11-5 14:25
装进去了 配置文件都生成了 但是一重启 还是没用

emm
可能要非正常重启.
正常重启的时候服务端是会踢出所有玩家的
你试试模拟一下意外崩端
那样应该可以触发
然后改一下重启
让重启的时候不踢出玩家

CC_jun
HaPi_r 发表于 2021-11-5 14:31
emm
可能要非正常重启.
正常重启的时候服务端是会踢出所有玩家的

刚试完  和楼上一哥们一模一样 1.8的子服正常使用  但是1.12.2就用不了

toretgman
請問沒有使用BC的也能用嗎?

HaPi_r
toretgman 发表于 2021-11-6 14:24
請問沒有使用BC的也能用嗎?

不能。。

黑大卫
有一个疑问,假设服务器网络波动导致玩家掉线,这个会重连吗?
还是说他仅是服务器重启才会等待重连

HaPi_r
两碗芋圆 发表于 2021-11-9 01:39
有一个疑问,假设服务器网络波动导致玩家掉线,这个会重连吗?
还是说他仅是服务器重启才会等待重连 ...

网络波动
如果是bc和玩家的连接断开就不行
但如果是bc和子服断开就可以重连

Afrojack
好东西,先嫖为敬

Toshore
这个可以的啊

mc_liekong
好像很好用 那个BC的 是不是 重启的时候会把所有玩家送回大厅 这样的话就很棒 我这有个屑天天重启服务器 一重启就全掉线

mc_liekong
这个好像是可以返回大厅  之前的旧帖有写  你好像没写还是感谢分享

顾浩
我草这个叼,支持一下

東方不敗
HaPi_r 发表于 2021-11-5 13:08
gayhub
需要魔法
或者多刷新

好的~ 谢谢~~

bilusi520

很不错的插件,正在使用中!

bilusi520

很不错的插件,正在使用中!

振梵
这个插件感觉有点卡线程

bilusi520
不错不错,下载试试看

娱乐c

感觉挺不错熬,装一下试试

3411934
不错 不错 涨见识了

Afrojack
1.18版本支持的了不

Afrojack
要是可以支持更多端就好了

Afrojack
Kei类似这种插件不多

HaPi_r
Eric_Jones 发表于 2021-12-26 22:16
1.18版本支持的了不

emm
我正准备去测试.jpg

南方大陆
插件不支持高版本,你设置错误了

HaPi_r
南方大陆 发表于 2021-12-27 00:58
插件不支持高版本,你设置错误了

实测支持高版本
谢谢

南方大陆
HaPi_r 发表于 2021-12-26 12:00
实测支持高版本
谢谢

好的,我会使用它,感谢哦

HaPi_r
南方大陆 发表于 2021-12-27 01:02
好的,我会使用它,感谢哦


1.18.1截图
1.17早在之前就测试过
发现不能用请仔细阅读配置文件下面我的注释

另外 不谢

南方大陆
HaPi_r 发表于 2021-12-26 12:04
1.18.1截图
1.17早在之前就测试过
发现不能用请仔细阅读配置文件下面我的注释

感谢,请问你用的上面那个录制是什么mod,能告诉我妈

HaPi_r
南方大陆 发表于 2021-12-27 01:05
感谢,请问你用的上面那个录制是什么mod,能告诉我妈

聊天栏最上面就是
ReplayMod
建议配合站内贴一起食用

南方大陆
HaPi_r 发表于 2021-12-26 12:06
聊天栏最上面就是
ReplayMod
建议配合站内贴一起食用

谢谢,我去试试看

送你彩虹RGB:awa




























































































































































































































































Mr.trash
挺好用的666

风清过一切
感谢作者给bug有良好的解决方案

De_TOA
cool!!!!人气安排上

Baoanony
paper 1.18.1显示无法加载这个插件

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