Muqsit / Wilderness

A PocketMine-MP plugin that teleports players into the wilderness!
https://poggit.pmmp.io/p/Wilderness
GNU General Public License v3.0
9 stars 5 forks source link

Suffocation #3

Closed mrpwes closed 4 years ago

mrpwes commented 4 years ago

put miny maxy for anti suffocation

Muqsit commented 4 years ago

https://github.com/Muqsit/Wilderness/blob/master/resources/config.yml#L24

Muqsit commented 4 years ago

I've seen many wilderness plugins have that feature but a random Y value between min and max doesn't solve the issue of suffocation.

If you had a custom generator that generated hills and plains, ravines and floating lands, a randomized Y value is not going to help. It is infact going to cause even more serious problems like falling to your death.

The main feature this plugin offers is that there's no need for servers to specify a Y range, it takes care of that mess itself by waiting for empty chunks to be filled before calculating the highest safest block and teleporting the player above it, instead of directly teleporting them.