Open app

Server Login

Save your server password once, and the bot logs in every time it joins.

Available on all plans.

Compare plans
On this page
The Server Login settings panel on the Plugins page, switched on. Server password is marked saved and shows dots, with Clear and Replace. Register on next join is off, Advanced is folded, How it works lists three steps, and the footer says Saved. Applies on the next join.

Overview

Many offline-mode servers make every player log in with a password, using a plugin such as AuthMe or nLogin. Server Login does that for your bot: you save the password once, and the bot types it every time it joins, after every reconnect too. It works the same for Microsoft and offline accounts.

What the bot does

When the server shows a login or register window, the bot fills in your password and sends it. A register window that asks for the password twice gets it in both fields.

When the server asks in chat instead, the bot sends /login with your password as soon as it spawns, before any Post-Spawn Actions. It does this once per connection: a respawn or a world change does not send it again, but every reconnect does. If the bot already filled in a login window on that connection, it skips the chat command.

The bot does not read chat for login prompts. It sends the command whether or not the server asked.

Set it up

Bots with an offline name often need it: when you pick an offline name, the Add a bot wizard notes that anyone can use one, and asks you to add the password here if the server has /register or /login.

  1. Open your bot and go to Plugins. Server Login is the first row under Essentials. Without a password, the line under its name reads "Not set up".
  2. Click the Server Login row to open its settings.
  3. Type the password you use on that server under Server password.
  4. Click Save and turn on. If the plugin was already on, the button reads Save.
  5. Turn on Register on next join if the account is new on the server. Or join once yourself and register with the same password. See Register on next join.

Once saved, the row reads "Password saved · /login" and the footer says "Saved. Applies on the next join." The switch at the top of the panel and Register on next join save the moment you flip them. The password and the commands are saved with the Save button.

If you flip the switch at the top on before a password is saved, the field says "Add the password first. Server Login needs it to turn on." Type the password, then click Save and turn on.

The Server Login settings panel right after its switch was flipped on with no password saved. The empty Server password field is outlined in red with the message Add the password first. Server Login needs it to turn on. Register on next join is off with the note Save a password first, Advanced is folded, How it works lists three steps, and the footer says Applies on the next join. next to a Save and turn on button.

Settings

Server password

The password the bot types into a login or register window, and after the login command in chat. Up to 256 characters; spaces at the start and end are dropped. The plugin can't turn on without one.

Register on next join

Use it once, for an account the server has never seen. On the bot's next start, it sends the register command (/register by default) with your password twice instead of /login; then the switch turns itself off, and every later join and reconnect logs in as usual. Off by default. It needs a saved password: until then it is greyed out with the note "Save a password first".

The register command goes out when the bot starts, so switching this on while the bot runs shows "Saved. Applies after a restart." Click Restart bot next to that message to use it now.

Login and register commands

Both sit under Advanced, for servers that use /l or another name:

  • Login command: the command the bot types before your password. Left blank, it is /login.
  • Register command: the command the bot types before your password twice. Left blank, it is /register.

Each must start with /, and the whole line, password included, fits in 256 characters. Under each command, the panel shows the line as the bot types it, with dots for the password, such as /register •••••••• ••••••••.

Your password

Each bot keeps its own password, and the bot types it only on that bot's server. It is stored encrypted, and the dashboard never shows it again: the field shows dots, with "saved" next to its title. To change or remove it:

  1. Open Plugins > Server Login.
  2. Click Replace and type the new password, or click Clear to remove it.
  3. Click Save.

Removing the password also turns off Register on next join. The login line never shows up in the bot's chat feed or in Activity.

When the login fails

A problem with a login window stops the bot. Its pill turns red and reads Failed, and a red "Needs attention" banner explains why, with buttons to open Server Login or restart the bot. Activity gets a row with the same text.

The top of Kestrel_77’s page after a failed login: the pill next to its name reads Failed, and a red banner reads Needs attention, The server did not accept the bot’s login password. The server did not accept the saved password. Check it in the Server Login plugin, then start the bot again, with Open Server Login, Restart bot and a close button.

The banner names one of three causes:

  • "The server did not accept the bot's login password": the bot filled in a login window and the same window came back, which points to a wrong password or a name that is already registered. The bot stops rather than send the same password again.
  • "The server showed a login window and the bot has no password saved": no password is saved, or Server Login is off, so the bot had nothing to type.
  • "The server showed a login window the bot cannot fill in": the window has no button the bot knows how to press.

A login window that opens after the bot is already in the game, with no password saved, does not stop the bot. It stays online, and Activity gets a warning row with the same "no password saved" text.

A wrong password typed in chat is different: the bot cannot see that it failed. The server usually kicks the bot when its login time runs out, and the bot reconnects as usual (see Auto-reconnect). If the kick message mentions logging in, /login, /register or a password, click the Kicked row in Activity: its details say "The server wants a password. Save it in Server Login and the bot logs in by itself." and offer a button to open Server Login.

FAQ

Why does the bot stop with "did not accept the bot's login password"?

Log in to the server yourself with the password you saved. If it fails there too, change it on the server, or click Replace in Server Login and save the right one. Then start the bot again.

Why does the bot keep getting kicked right after it joins?

Open Activity and read the Kicked row. If it asks for a login, check that Server Login is on and reads "Password saved"; if the server uses another command than /login, type it in Advanced > Login command. A Free bot kicked again and again stops with "Stopped after repeated disconnects" (see Auto-reconnect).

My account is new and the server says it is not registered. What do I do?

Turn on Register on next join and restart the bot. If the server's register command needs something other than the password twice, such as an email, register once yourself instead.

Why does the panel say "Server Login is on but no password is saved"?

The plugin is on, but the bot can't answer the server's password prompt. Type the password and click Save.

Why does Activity say the login command "was not sent"?

The command plus your password is longer than 256 characters. Shorten the Login command under Advanced, then start the bot again.

Updated

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