GabiJunkes / MultipleBedSpawn

A simple Minecraft plugin to allow players to choose which bed to respawn into.
GNU General Public License v3.0
9 stars 3 forks source link

Multiworld support #26

Closed mrdeniska1234 closed 7 months ago

mrdeniska1234 commented 8 months ago

If the spawn point is in a different world than the death point - when selecting "TO SPAWN" the player is teleported to the wrong location, according to the spawn coordinates, but in the world where death occurred

GabiJunkes commented 8 months ago

This is the intended behavior. But I could work on a feature to address that.

GabiJunkes commented 8 months ago

Would listing all the worlds spawns to select from solve this? Do you think of a more elegant way? Or maybe primary worlds, so only selected worlds spawns appear, or use the whitelist config option already implemented to select the worlds to choose from. I am open to suggestions.

mrdeniska1234 commented 8 months ago

I would like that when pressing the "SPAWN" button, the player would teleport to a random point, or that the player would use the /rtp command after pressing, or any other command installed in the config

GabiJunkes commented 8 months ago

Does /rtp teleport to a random world as well? Would a run command on SPAWN click work for you? I am not quite following what you want exactly.

mrdeniska1234 commented 7 months ago

I have multiworld, lobby, world, ender and nether. Static spawn point place on lobby, and i have /rtp command, this command random teleport to random point in world "world". If we take into account the idea of ​​the “spawn” button from RUST, then the player should execute the command /rtp when clicking the spawn button in your interface, or teleport to a static spawn located in the lobby. If I die in the nether world now and press the spawn button, I will end up in an incomprehensible place in hell, and not in the normal world, which is strange.

GabiJunkes commented 7 months ago

The nether one is a bug (it is not intended), I will work on fixing this and work on your idea. Thanks for the feedback, it might take some time as I am a little busy.

GabiJunkes commented 7 months ago

Done and tested, in #30.