AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

Add support for teleporting players to a specific world after login/register

Open Karapax1 opened this issue 7 months ago • 1 comments

What feature do you want to see added?

I’d like AuthMeReloaded to support teleporting players to a different world after login or register.

Currently, /authme setspawn only sets the position in the current world. However, in many server setups (like using a void world login for authentication), admins want players to be teleported to another world (like lobby) once they log in.

It would be great to have a config option like:

`yaml teleportAfterLogin: enabled: true world: lobby x: 0.5 y: 65 z: 0.5

Are there any alternatives?

Some workarounds involve using plugins like MyCommand or custom scripting to manually teleport players to a different world after login. However, these methods are unreliable, conflict with AuthMe's login flow, and often break if players log in too fast or commands run out of sync.

Another approach is to set the global /setspawn in a target world using EssentialsXSpawn, but AuthMe will only teleport to that point if the player is already in the same world.

There is currently no clean or built-in way to change the player’s world after login inside AuthMe itself.

Anything else?

No response

Karapax1 avatar May 20 '25 12:05 Karapax1

For me, i use the same position for /authme setspawn and /authme setfirstspawn on the same map (lobby/hub) just Y301 above spawnpoint with instructions for /register and /login. The spawnpoint (setspawn/mvss) is on the same position just at Y65. I want the login players to have SaveQuitLocation and players after successfully register to teleport to the spawnpoint (Y65). The plugin should have more options for spawn-respawn/teleportation (locked positions/diff worlds) etc.

I dont know what setup you have, but i use Multiverse and EssentialsX and i had 2 options.

  1. Building an AuthMe-Addon Plugin
  2. Creating a Skript.

Now with a simple Skript players after register they teleport to the spawnpoint (Y65).

Also i tested AuthMe without multiverse or essentialsx and vise-versa, playing with priority (Authme/MV/EssX) just to see if after successfully register teleport to the spawnpoint. big nope.

d4rkmidian avatar Jun 03 '25 00:06 d4rkmidian