Open 100petr opened 1 year ago
Yes, that's right. Currently, we have for a "lobby" the configurable points "spawn_point", "after_game_spawn" and "arena: Pos1" + "arena: Pos2". For everything, however, the world "world" is currently taken in the lobby config, so that we always talk about the same world.
We would have to change a little more to fix that.
---
[...]
world: "world"
[...]
spawn_point:
x: 176.0
"y": 73.0
z: -384.0
yaw: 0.0
pitch: 0.0
after_game_spawn:
x: 176.0
"y": 73.0
z: -384.0
yaw: 0.0
pitch: 0.0
area:
min_x: 146
min_y: 0
min_z: -414
max_x: 206
max_y: 256
max_z: -354
[...]
One solution would be to include a check in the set-commands whether the player is in the correct lobby world. Otherwise, he has to change the world manually or maybe with a new /mw setup lobby setworld
command (effective for all lobby positions). Currently, all points defined in the lobby also belong to the lobby world.
Describe the bug
If I use the command /mw setup lobby spawnpoint to set the spawnpoint for the lobby, it doesn't differentiate the worlds. So if I set it in world1 and the main world is world, it ports me to world.
To Reproduce Steps to reproduce the behavior:
Expected behavior
The name of the world in which the spawnponint is is written into the file. So the function will teleport correctly.
Screenshots
Server (please complete the following information):
Additional context