Open app

Auto-Rejoin

When the server moves your bot to the lobby, Auto-Rejoin sends the commands that take it back.

Available on all plans.

Compare plans
On this page
The Auto-Rejoin settings panel on the Plugins page, switched on. Commands to get back holds /server survival, Wait first 10 s and Tries 3. It reacts to these messages lists the five built-in ones with a lock: connected to lobby, sent to lobby, server is restarting, teleporting to hub and exception connecting. Your own messages holds you were moved to the hub, then Reset to defaults, and the footer says Saved. Applies on the next join.

Overview

On servers with a hub, a restart of one game mode often sends players to the lobby instead of kicking them, and since the bot is still connected, Auto-reconnect has nothing to do. Auto-Rejoin watches chat for a message that says you were moved, and then sends the commands that take you back, such as /server survival. It is off until you add a command.

Set it up

  1. Open your bot and go to Plugins. Auto-Rejoin is the last row under Essentials.
  2. Click the Auto-Rejoin row to open its settings.
  3. Type the command that takes you to your game mode under Commands to get back, one per line. The server's own menu or /help usually names it.
  4. Set Wait first: how many seconds to wait before sending the commands.
  5. Set Tries: how many times to send them.
  6. Add text your server sends when it moves you under Your own messages (optional), such as You were moved to Hub-2.
  7. Click Save, then flip the switch at the top of the panel on.

The switch needs a saved command: without one, the panel says "Add a rejoin command first. Auto-Rejoin needs one to turn on." Changes apply the next time the bot joins the server; the footer says "Saved. Applies on the next join."

Settings

Commands to get back

Sent in order, half a second apart. A line that starts with / is a command. Up to 20 lines, 256 characters each.

Wait first

The time from the lobby message to the first try, and between tries. 5 to 30 seconds. Default: 10.

Tries

How many times the commands are sent for one lobby message. 1 to 10. Default: 3.

It reacts to these messages

The built-in patterns: connected to lobby, sent to lobby, server is restarting, teleporting to hub, exception connecting. They are always on and can't be removed. server is restarting also matches a plain restart warning, so the bot may send your commands while it is still on the right server.

Your own messages

Extra chat text that starts a rejoin. Optional, up to 10 lines, 256 characters each.

How messages match

Patterns match anywhere in a chat line, upper or lower case, with colour codes ignored. Private messages never start a rejoin.

FAQ

Why does my bot land in the lobby and stay there?

The bot did reconnect, but the server put it in its hub. Set up Auto-Rejoin with the command that takes you back. If your server's lobby message is not one of the built-in patterns, copy a line of it from chat into Your own messages.

Why won't the switch turn on?

The switch needs a saved command, so the panel says "Add a rejoin command first. Auto-Rejoin needs one to turn on." Type one under Commands to get back, click Save, then flip the switch on.

Why did the bot send my command three times?

Auto-Rejoin sends your commands as many times as Tries says, without checking whether a try worked, and each matching chat line starts a new run. Three is the default; set Tries to 1 if a repeat causes trouble.

Can a private message send my bot back?

No. Private messages never start a rejoin, even when they contain a lobby message.

Does Auto-Rejoin bring the bot back after a kick?

No. A kick or a lost connection takes the bot off the server, and Activity shows a Kicked or Disconnected row for it; Auto-reconnect joins it again.

Updated

Still stuck?Ask in our Discord or check the FAQ.