FoxLoader icon indicating copy to clipboard operation
FoxLoader copied to clipboard

Request: a beforeWorldStop method

Open DudeSquaredEdud opened this issue 1 year ago • 1 comments

Hey Fox,

I'm trying to implement a method that corrects the player's position before the server closes (crouching changes the player's yOffset). Could you add a method that runs before everything else when the world stops / go back to title is pressed?

DudeSquaredEdud avatar Dec 25 '23 00:12 DudeSquaredEdud

@DudeSquaredEdud onNetworkPlayerDisconnected should work fine for it, and work on a per player basis instead of only once when entire server shutdown.

If you still think beforeWorldStop need to be added still, please send me a use case where it would be useful so I am sure to cover it.

Fox2Code avatar Dec 25 '23 20:12 Fox2Code