Open ghost opened 3 years ago
This is possible, you're doing it wrong.
/authme setspawn /authme setfirstspawn
(In the lobby, or authlobby, where you want players to be when they join and need to register/login) https://github.com/Multiverse/Multiverse-Core/wiki/Destinations
config.yml SaveQuitLocation: true teleportUnAuthedToSpawn: true spawnPriority: authme,essentials,cmi,multiverse,default (This is only the spawn priority of authme., anyways you dont need it, bc everytime will tp you to lobby)
commands.yml onFirstLogin: world: command: 'mv tp %p e:{WORLD}:X,Y,Z:YAW:PITCH' executor: CONSOLE delay: 5 (In ticks) onJoin: lobby: command: 'e:{WORLD}:X,Y,Z:YAW:PITCH' executor: CONSOLE delay: 5 onLogin: {} onLogout: lobby: command: 'e:{WORLD}:X,Y,Z:YAW:PITCH' executor: CONSOLE delay: 5 onRegister: {} onSessionLogin: {} onUnregister: lobby: command: 'e:{WORLD}:X,Y,Z:YAW:PITCH' executor: CONSOLE delay: 5
This script will do this: First time a player joins the server, will be sended to "lobby" Every time a player joins the server, will be sended to "lobby"
First time a player logins/registers in the server, will be sended to the spawn of "world" Every time a player logins/registers in the server, will be sended to their logout/quit location. "world, end, nether, exact logout/quit location"
Every time a player logouts, will be sended to "lobby"
I understand now, sorry.
I have a 4 worlds. 3 - overworld, and 4 is lobby.
I need, that players, what join my server after register have been teleported to overworld, and i use multiverse command, what doing this, without bungee,
but it teleports to spawnpoint, what have been declarated with command /authme setspawn after login if setup force login after register on true, and teleports to this spawnpoint after teleporting to overworld because of tps delay. I dont know what shoud i do, and i dont find any settings of it.