An open API service indexing awesome lists of open source software.

https://github.com/supermarcus/fastlevelswitch

A third PocketMine-MP library that teleport player safely (Fix player in the stone)
https://github.com/supermarcus/fastlevelswitch

Last synced: 11 months ago
JSON representation

A third PocketMine-MP library that teleport player safely (Fix player in the stone)

Awesome Lists containing this project

README

          

# FastLevelSwitch
A third PocketMine-MP library that teleport player safely (Fix player in the stone)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

By default, you should use the static methods in class `\supermarcus\fastlevelswitch\FastLevelSwitch`

### Useful method
`FastLevelSwitch::teleport(Player $player, $position[, $delay = 2 * 20])`

The default method to teleport a player with chunk pre-loading

`FastLevelSwitch::preLoadChunks(Player $player[, Vector3 $pos = null])`

Pre-load a selection chunk for a player

`FastLevelSwitch::cacheChunk($x, $z, Level $level)`

Cache a specific chunk of a level at ($x, $y)