[1.7 - 1.17] Automatic Reconnect (Reconnects players when a server goes down)

This is a fork of 5zig’s outdated Reconnect. now compatible with waterfall.
Updated to support 1.7 - 1.17
It comes with many improvements over the original version such as much needed stability and reliability improvements.
Most of the code has been completely rewritten now with much better stability and behavior.

Download

Setup

  1. Drop plugin in plugins folder of proxy.
  2. Restart proxy.
  3. Ensure shutdown text / regex matches your servers shutdown messages otherwise edit and reload plugin
  4. Test & Enjoy

Demonstration

Features

  • Reconnect all players when a server restarts - you don’t need an additional limbo server.

  • Move the affected players to the fallback server or kick them from the proxy, if the server doesn’t start within a specific time period again.

  • Send configurable Action Bar and Title bar messages with support for custom animation.

  • Configuration reload command.

  • Supports definition of custom kick trigger messages with regex support.

  • Add servers you wish this plugin to ignore.

  • Help prevent server overloads by configuring how quickly people should reconnect.

  • Should work with other plugins on both the proxy and the server without issue.

  • Has a basic developer API to interact with.

  • Open source

Configuration: click to open configuration

Commands & tree

  • /reconnect
    • reload

Source and Download: https://www.spigotmc.org/resources/restart-reconnect-bungeecord-reconnect-1-16-3.84395/

2 Likes

Yo this is insane at my opinion! Soo useful but pls add a config to configure all messages…

What messages would you want me to include? I thought the config already contained all user messages?

Ah lol yeah i just saw that i can scroll down in the config bruh haha but i have a Feature suggestion:

  • You can add Commands that are executed right before the Server restarts.
    You can execute them as the Player, the server Console or the Bungeecord Console.
    Also you can execute commands after an X amout of seconds after the Server restart is completed.

Not sure if it’s within the scope of this plugin.
Not only to mention it would take a fair bit of work to make it and set it up on the users end.

Would be a better idea to make it it’s own plugin(s).

Mhh yeah I think you’re right.

But i just had another idea for the plugin: the state of the restart is displayed as a Subtitle (or Placeholder)

For example:

Reconnecting
Loading Plugins

or

Reconnecting
Loading overworld

The problem with that is you’d also need a companion plugin on the server to send the servers internal state to the bungeecord plugin.

Good idea but on the backburner

1 Like

Mh yeah okay but thanks anyways, great Plugin!

Is there any way to block the message when restarting the player left the game? I have blocked such messages in essentials and the hidestream plugin, but when restarting the server with this plugin it writes this message, can it be blocked somehow?

My plugin doesn’t touch the spigot server and doesn’t write leave/join game messages.

My only thought is that the plugin you are using to hide join/leave messages is disabling it’s functionality when the server restarts.

Perhaps try JoinEventsPro or some other plugin like that.
Perhaps it’s also a bungee-cord plugin that is writing join/leave messages.

Plugin has been updated and tested against 1.17

Changes:

  • Better debug messages
  • Moar Faster

Other:

  • GitLab CI

This is why I love the paper community! Loving it!

1 Like

Can you make it work with this autorestart plugin? https://www.spigotmc.org/resources/autorestart.2538/

it does.
either set the restart message of auto restart to “server is restarting” or “server closed” or edit the kick message regex in reconnects yml config file so that it can match whatever message auto restart kicks the players for.

Keep in mind it strips color from the kick message before parsing it.