DeathGOD7 / unexpectedspawn-paper

Randomize player spawn point.
GNU General Public License v3.0
8 stars 7 forks source link

Spawn with world border detection #23

Open EastRane opened 9 months ago

EastRane commented 9 months ago

I'm using this plugin on my event server. Every 30 minutes world border reduces its size and UnexpectedSpawn's random respawn area becomes no longer actual, because it teleports players outside of border and kills them. Can you implement feature so respawn area will be connected to world border if it exists and dynamically change with world border size change? Thank you!

DeathGOD7 commented 9 months ago

You mean find a location inside the world border right?

Of course it's possible. I will have to look at javadocs for more information.

DeathGOD7 commented 9 months ago

Now that I am back from my holiday vacation (wedding) I can continue to implement the requested feature.

DeathGOD7 commented 8 months ago

@EastRane Please try the snapshot build from action #16. Be sure to check logs with debug mode enabled.