SSB-SlimeWorldManager icon indicating copy to clipboard operation
SSB-SlimeWorldManager copied to clipboard

Teleporting to island OnJoin event

Open Guilherme-Agency opened this issue 1 year ago • 2 comments

Minecraft's Version

1.20.6

Plugin's Version

All versions in general seem to have it, or at least the latest few.

Describe the bug

Without the module, whenever a player joins the server, they continue where they left off, which is ideal since players could have been in an important place or doing something important before disconnecting or getting disconnected.

However, with this module, whenever a player joins the server, they are always teleported to their island automatically, and there is no way to disable this feature for a normal user.

My suggestion is to remove the OnJoin teleport to the island "feature" or make it configurable since, in most cases, that is not ideal for a server.

To Reproduce

Joining the server. OnJoin event.

Additional Information

No response

Guilherme-Agency avatar Aug 03 '24 08:08 Guilherme-Agency

+1 that’s a must have feature

homerek111 avatar Aug 07 '24 12:08 homerek111

As i tested it's a little bit different than you described @Guilherme-Agency :

  • you keep logging in at your last location IF you logged out while being on some island world (yours/someone's island)
  • but if you log out on some other world (for example spawn world) you are being teleported into your island's respawn after loggin in

these are my observations @OmerBenGera

homerek111 avatar Aug 09 '24 22:08 homerek111

@OmerBenGera is it possible to disable this instant island teleport on server join?

homerek111 avatar Aug 23 '24 16:08 homerek111

Check out latest dev build, I added the ability to disable this feature :)

OmerBenGera avatar Aug 24 '24 09:08 OmerBenGera

Check out latest dev build, I added the ability to disable this feature :)

Thanks! The last thing that makes slime module impossible to use is the issue with saving chunks :/ However I think it’s on ASP side - not ssb2 module’s - I’m fighting with it on their discord… https://discord.com/channels/741733106930810950/1275550960176861194/1276629395884347525

homerek111 avatar Aug 24 '24 13:08 homerek111

@OmerBenGera i have just updated the module and it's a little bit confusing as it is not teleporting me into location of spawn defined in config.yml

spawn:
  # The location of the island. Players will be teleported to this
  # location in many events, such as disbanding islands & getting expelled from one.
  location: world_spawn, -10.0, 67.0, -5.0, -89.544044, 3.0000148

It is teleporting me in a radius of a few blocks around this location - in different places...

also it is still not possible to log-in in the same place on your island that you logged out before (if the server got restarted / island got unloaded) - idk if that must be like that or can be changed

homerek111 avatar Aug 24 '24 16:08 homerek111

You on one hand want to get teleported to the island, on the other hand you requested this feature to be disabled. You really confuse me.

OmerBenGera avatar Aug 24 '24 20:08 OmerBenGera

If you quit and then login and the world of your island is not loaded, the server will automatically teleport you to a different location. There is nothing you can do regarding this, besides teleport the player to his island manually again, which is exactly what that feature is doing.

OmerBenGera avatar Aug 24 '24 20:08 OmerBenGera

You on one hand want to get teleported to the island, on the other hand you requested this feature to be disabled. You really confuse me.

I just wanted to enter the server and respawn on the same place that I logged out every time.

homerek111 avatar Aug 24 '24 20:08 homerek111

If you quit and then login and the world of your island is not loaded, the server will automatically teleport you to a different location. There is nothing you can do regarding this, besides teleport the player to his island manually again, which is exactly what that feature is doing.

ok but what's confusing is that in fact it is not teleporting player to configured spawn location -> it teleports him somewhere around spawn location (in random places)

homerek111 avatar Aug 24 '24 20:08 homerek111