infinitewarp/SimpleWorldWarp — Issue #1: Slow server can cause "falling" upon warp
Author: infinitewarp
Created: 2012-02-26 05:07:11+00:00
State: open
Labels: bug

If the server disk is slow and/or the spawn chunk is not loaded into memory, warping to a world can cause the player to seem to fall endlessly into the void until the chunk is fully loaded into memory and sent to the client.

Possible solutions:

* Can we set the player into fly mode upon initial warp and disable fly mode after safely arriving in the world? For that matter, can we reasonably determine if the destination world chunk has loaded?
* Can we force the server to load the spawn chunk of the destination world before warping?

Note: Any solution we implement at the plugin level would be a rough workaround for the root bug within Bukkit that's allowing this to happen. The Entity.teleport() method in Bukkit is more generally affected by this "falling" issue, as can be observed by the same behavior in other plugins that allow coordinate or named waypoint warping.

Note: This might become less of an issue when Minecraft 1.2 is released with the new chunk format.