Hello. First of all i'm realizing that this issue is coming from my world manager plugin, and was resolved by just updating it. However i think arenas loading/teleporting mechanism could be improved to be more robust. Now i will try to describe the problem i randomly faced:
I've got a bunch of arenas in a different world, i've tested them and everything was working fine until i restarted the server. The world manager plugin i'm currently using was loading world too late and arenas world was loaded after duels plugin. This somehow breaks all arenas as teleporting fails for both players with [Duels] Teleport: Could not teleport Venom_Lightning! Location is null. And adding new arenas will wipe out spawn positions for all previous arenas (glad i had a backup). This behavior could be mitigated by issuing /duels reload after server fully started.
I think the following could improve user experience and counteract potential issues:
No reason for teleport to fail, since world is clearly loaded. And if it's not, just cancel the duel.
No reason to erase all spawn points if world wasn't loaded, maybe just set arenas to "disabled": true?
Software versions:
Paper 1.20.2 build 318
DuelsOptimized 0.55
PhantomWorlds 2.0.4 (this is important since 2.0.6 initializing way earlier, effectively fixing the issue)
Steps to reproduce:
Create world with PhantomWorlds
Setup arena there
Restart the server
Try to duel
I will understand if you ignore all of it and just tell me to use better world manager tho xD Anyway thanks!
Hello. First of all i'm realizing that this issue is coming from my world manager plugin, and was resolved by just updating it. However i think arenas loading/teleporting mechanism could be improved to be more robust. Now i will try to describe the problem i randomly faced: I've got a bunch of arenas in a different world, i've tested them and everything was working fine until i restarted the server. The world manager plugin i'm currently using was loading world too late and arenas world was loaded after duels plugin. This somehow breaks all arenas as teleporting fails for both players with
[Duels] Teleport: Could not teleport Venom_Lightning! Location is null
. And adding new arenas will wipe out spawn positions for all previous arenas (glad i had a backup). This behavior could be mitigated by issuing/duels reload
after server fully started.I think the following could improve user experience and counteract potential issues:
"disabled": true
?Software versions:
Steps to reproduce:
I will understand if you ignore all of it and just tell me to use better world manager tho xD Anyway thanks!