Git Product home page Git Product logo

flype's Introduction

FlyPE GitHub license

flypeicon

Latest version

This is the PM4 branch of FlyPE. All the features from PM3 may be incomplete in this rewrite. Expect bugs and problems as well.

Time to abandon BlazinFly and move to a better alternative! FlyPE is probably the best fly plugin for PocketMine-MP that is feature packed and with multiple commands that allows you to experiment with flying in survival mode! There are many different features in this plugin that makes it special, and you should check them out!

We even have the most requested feature, Temporal Flight!

This plugin would be useful for big or skyblock servers that would not like players to use fly in PvP Zones or The Hub. And if you would like players to pay for toggling flight, there's an option for that! Tradeable items like Flight Coupons are also available and you can decide on allowing it!

This plugin is in English and there are even customizable preset messages for those that want to use other languages. And there are also fly settings to prevent players from doing different actions while in flight mode.

Thanks to the Contributors for helping FlyPE!

Note: If you are updating to any major version changes, for example, from v2 to v3 or v4 to v5, please delete your old configuration or update it.

Installation

If you are new and need help with installing the plugin, here's a step-by-step guide on how to do that!

  1. Download the latest phar by pressing on Direct Download on the top left corner of your screen. Make sure you have chosen the latest version before that.
  2. Open your server's plugins folder and put the phar into your server's plugins folder. Make sure to also check if you're putting it into the right server.
  3. Ensure you have the permission to use the fly command, restart your server and type the command, /fly ingame to toggle flight!

That's all you have to do to install the plugin. If you wan't, you may also check out the config in your plugins data folder as there are many features for you to explore!

Features

These are the list of features in FlyPE. If you have any suggestions for the plugin, feel free to let me know!

  • [✔️] Blacklist/Whitelist Worlds
  • [✔️] Customisable Messages
  • [✔️] Flight States
  • [✔️] Translations

Features below were available for PM3 but is not implemented yet implemented for PM4.

  • [❌] Multiple Flight Rules/Permissions/Commands
  • [❌] No Creative Toggling
  • [❌] Toggling Flight For Others
  • [❌] Flight UI
  • [❌] Purchasable Flight
  • [❌] Temporal Flight Time
  • [❌] Ability to Change UI Texts
  • [❌] Configurable Flight Speed
  • [❌] Flight Particles
  • [❌] Flight Effects
  • [❌] Flight Coupons
  • [❌] Creative Mode Settings
  • [❌] Plugin Integrations
  • [❌] Toggle Sounds

[✔️] -> Included | [⚠️] -> Work In Progress | [❌] -> Excluded

Requirements

The list below state the requirements of FlyPE!

  • A PocketMine-MP Server (REQUIRED)
  • PHP8 (REQUIRED)

Commands

Commands and the permissions required to run commands.

Command Description Permission
/fly Toggles your flight! flype.command
/fly toggle [player:string] [toggleMode:bool] Toggles flight for others! flype.command.others

Permissions

Permissions required for players to use the command, /fly.

Permission Description Default
flype.command Allows player to run the Flight Command op
flype.command.others Allows player to run the Toggle Subcommand on others op
flype.world.bypass Allows player to Bypass Checks when Switching Worlds false

Configuration

These are the config versions of FlyPE. To find your config version, open the config.yml file in FlyPE's plugin data folder and find the header, "VERSION".

  • Config v1 You can find the config file for v1.0.0, v1.0.1 here!

  • Config v2 You can find the config file for v2.0.0, v2.0.1, v2.0.2, v2.0.3 here!

  • Config v3 You can find the config file for v3.3.2, v3.3.3, v3.3.4, v3.7.0, v3.8.3 here!

  • Config v4 You can find the config file for v4.0.2, v4.1.6 here!

  • Config v4 You can find the config file for v5.0.0 here!

Support

If you have any issues with the plugin, or have any suggestions for the plugin, feel free to let me know here and I would look at it as soon as possible!

Alternatively, you can get support from our Discord Server!

GitHub issues GitHub closed issues

Frequently-Asked-Questions

How do I report an issue or suggestion?

A: Issues can be opened by clicking the New issue button located in Issues. Feel free to use any format you'd like as long as you state the issue/suggestion you have! You may also get help by joining our Discord Server!

Does temporal flight count down while the player is online or offline?

A: The temporal flight system counts down while the player is both online and offline. Changing timezones would be the only thing affecting it.

Are any PMMP forks supported?

A: No support will be given for PMMP forks.

flype's People

Contributors

agtharn avatar cosmicnebula200 avatar kygekdev avatar poggit-bot avatar unenanomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flype's Issues

PHP 8.0

At /fly

[22:47:05] [Server thread/CRITICAL]: ErrorException: "Required parameter $playerPos follows optional parameter $soundName" (EXCEPTION) in "plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/lists/SoundList" at line 55
[22:47:05] [Server thread/CRITICAL]: #0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(138): pocketmine\utils\Utils::errorExceptionHandler(integer 8192, string[67] Required parameter $playerPos follows optional parameter $soundName, string[86] phar:///home/container/plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/lists/SoundLi, integer 55)
[22:47:05] [Server thread/CRITICAL]: #1 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(138): include()
[22:47:05] [Server thread/CRITICAL]: #2 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(124): BaseClassLoader->loadClass(string[29] AGTHARN\FlyPE\lists\SoundList)
[22:47:05] [Server thread/CRITICAL]: #3 plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/util/Util(487): BaseClassLoader->{closure}(string[29] AGTHARN\FlyPE\lists\SoundList)
[22:47:05] [Server thread/CRITICAL]: #4 plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/util/Util(243): AGTHARN\FlyPE\util\Util->getSoundList()
[22:47:05] [Server thread/CRITICAL]: #5 plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/commands/FlyCommand(116): AGTHARN\FlyPE\util\Util->toggleFlight(object JackMD\NameSpaceRemover\CustomPlayer)
[22:47:05] [Server thread/CRITICAL]: #6 plugins/FlyPE_dev-92.phar/src/AGTHARN/FlyPE/libs/CortexPE/Commando/BaseCommand(124): AGTHARN\FlyPE\commands\FlyCommand->onRun(object JackMD\NameSpaceRemover\CustomPlayer, string[3] fly, array[0])
[22:47:05] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/command/SimpleCommandMap(248): AGTHARN\FlyPE\libs\CortexPE\Commando\BaseCommand->execute(object JackMD\NameSpaceRemover\CustomPlayer, string[3] fly, array[0])
[22:47:05] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object JackMD\NameSpaceRemover\CustomPlayer, string[3] fly)
[22:47:05] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Player(2349): pocketmine\Server->dispatchCommand(object JackMD\NameSpaceRemover\CustomPlayer, string[3] fly)
[22:47:05] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[4] /fly)
[22:47:05] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[22:47:05] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[22:47:05] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[22:47:05] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[22:47:05] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Player(3321): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[22:47:05] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[22:47:05] [Server thread/CRITICAL]: #17 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 79.116.86.242 44849, object raklib\protocol\EncapsulatedPacket, integer 0)
[22:47:05] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[22:47:05] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[22:47:05] [Server thread/CRITICAL]: #20 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[22:47:05] [Server thread/CRITICAL]: #21 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[22:47:05] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1629845225.7382)
[22:47:05] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[22:47:05] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[22:47:05] [Server thread/CRITICAL]: #25 pmsrc/src/pocketmine/PocketMine(314): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[22:47:05] [Server thread/CRITICAL]: #26 pmsrc/src/pocketmine/PocketMine(344): pocketmine\server()
[22:47:05] [Server thread/CRITICAL]: #27 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

/fly off

PlayerName>/fly off
[03:56:33] [Server thread/CRITICAL]: Error: "Call to a member function getName() on null" (EXCEPTION) in "plugins/FlyPE_dev-54.phar/src/AGTHARN/FlyPE/Main" at line 239
[03:56:33] [Server thread/CRITICAL]: #0 src/pocketmine/command/PluginCommand(54): AGTHARN\FlyPE\Main->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[3] fly, array[1])
[03:56:33] [Server thread/CRITICAL]: #1 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[3] fly, array[1])
[03:56:33] [Server thread/CRITICAL]: #2 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[7] fly off)
[03:56:33] [Server thread/CRITICAL]: #3 src/pocketmine/Player(2311): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[7] fly off)
[03:56:33] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[8] /fly off)
[03:56:33] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[03:56:33] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[03:56:33] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[03:56:33] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[03:56:33] [Server thread/CRITICAL]: #9 src/pocketmine/Player(3250): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[03:56:33] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[03:56:33] [Server thread/CRITICAL]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 81.0.36.151 27920, object raklib\protocol\EncapsulatedPacket, integer 0)
[03:56:33] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[03:56:33] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[03:56:33] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[03:56:33] [Server thread/CRITICAL]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[03:56:33] [Server thread/CRITICAL]: #16 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1598147793.7477)
[03:56:33] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[03:56:33] [Server thread/CRITICAL]: #18 src/pocketmine/Server(1588): pocketmine\Server->start()
[03:56:33] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[03:56:33] [Server thread/CRITICAL]: #20 src/pocketmine/PocketMine(304): pocketmine\server()
[03:56:33] [Server thread/CRITICAL]: #21 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

enabling fly on disabled world will take money.

when economy is enabled and you try to purchase fly on world that is not in allow list, money will be taken and fly is not enabled.

messages:
Sucesfully purchase of fly!
This world does not allow flight!

Idea

Add where if u get hit it knocks u down

Dont see the msg of fly activated

Since pocketmine changed the version, every time I use / fly a black line appears in the chat but no message appears, the fly is activated but not put by the chat

[Error] Flight sound

Deprecated: Required parameter $playerPos follows optional parameter $soundName in phar://C:/Users/creep/Desktop/SprigoCraft/plugins/FlyPE.phar/src/AGTHARN/FlyPE/lists/SoundList.php on line 55

config

The first issue obv

I got a little crash when i hit a player:

[07:01:56] [Server thread/CRITICAL]: ErrorException: "Object of class pocketmine\level\Level could not be converted to string" (EXCEPTION) in "plugins/FlyPE_dev-58.phar/src/AGTHARN/FlyPE/EventListener" at line 192
[07:01:56] [Server thread/CRITICAL]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 4096, string[71] Object of class pocketmine\level\Level could not be converted to string, string[84] phar:///home/container/plugins/FlyPE_dev-58.phar/src/AGTHARN/FlyPE/EventListener, integer 192, array[4])
[07:01:56] [Server thread/CRITICAL]: #1 plugins/FlyPE_dev-58.phar/src/AGTHARN/FlyPE/EventListener(192): str_replace(string[7] {world}, object pocketmine\level\Level, string[27] No puedes volar en combate!)
[07:01:56] [Server thread/CRITICAL]: #2 src/pocketmine/plugin/MethodEventExecutor(42): AGTHARN\FlyPE\EventListener->onEntityDamageEntity(object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #3 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object AGTHARN\FlyPE\EventListener, object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #4 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #5 src/pocketmine/entity/Entity(932): pocketmine\event\Event->call()
[07:01:56] [Server thread/CRITICAL]: #6 src/pocketmine/entity/Living(545): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #7 src/pocketmine/Player(3891): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #8 src/pocketmine/Player(2699): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
[07:01:56] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(149): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[07:01:56] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(173): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[07:01:56] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[07:01:56] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[07:01:56] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[07:01:56] [Server thread/CRITICAL]: #14 src/pocketmine/Player(3273): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[07:01:56] [Server thread/CRITICAL]: #15 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[07:01:56] [Server thread/CRITICAL]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[16] 81.0.37.151 3995, object raklib\protocol\EncapsulatedPacket, integer 0)
[07:01:56] [Server thread/CRITICAL]: #17 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[07:01:56] [Server thread/CRITICAL]: #18 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[07:01:56] [Server thread/CRITICAL]: #19 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[07:01:56] [Server thread/CRITICAL]: #20 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[07:01:56] [Server thread/CRITICAL]: #21 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1607583716.9912)
[07:01:56] [Server thread/CRITICAL]: #22 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[07:01:56] [Server thread/CRITICAL]: #23 src/pocketmine/Server(1588): pocketmine\Server->start()
[07:01:56] [Server thread/CRITICAL]: #24 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[07:01:56] [Server thread/CRITICAL]: #25 src/pocketmine/PocketMine(304): pocketmine\server()
[07:01:56] [Server thread/CRITICAL]: #26 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Fix

Hello please Fix this
Fatal error: Trait "kim\present\lib\translator\traits\TranslatablePluginTrait" not found in /home/minecraft/plugins/FlyPE/src/AGTHARN/FlyPE/Main.php on line 44

worldguard support

can you make flype support safezone Area region worldguad,and pvp disable area or world

Server Crashed Flype Crashdump

[20:56:59.129] [Server thread/CRITICAL]: Error: "Typed property AGTHARN\FlyPE\Main::$dataBase must not be accessed before initialization" (EXCEPTION) in "plugins/FlyPE_dev-107 (1).phar/src/AGTHARN/FlyPE/Main" at line 98

--- Stack trace ---

#0 pmsrc/src/plugin/PluginBase(139): AGTHARN\FlyPE\Main->onDisable()

#1 pmsrc/src/plugin/PluginManager(459): pocketmine\plugin\PluginBase->onEnableStateChange(false)

#2 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginManager->disablePlugin(object AGTHARN\FlyPE\Main#105955)

#3 pmsrc/src/Server(1442): pocketmine\plugin\PluginManager->disablePlugins()

#4 pmsrc/src/Server(1626): pocketmine\Server->forceShutdown()

#5 pmsrc/src/Server(1526):


[Suggestion] Temporal Flight

Add the ability to limit the problem of a free flight for players, if I'm sorry, I translated in the translator

[Bug] Invalid Player Causes Error

Playername>§g /fly off
[21:07:15] [Server thread/CRITICAL]: Error: "Call to a member function getName() on null" (EXCEPTION) in "plugins/FlyPE_dev-57.phar/src/AGTHARN/FlyPE/Main" at line 239
[21:07:15] [Server thread/CRITICAL]: #0 src/pocketmine/command/PluginCommand(54): AGTHARN\FlyPE\Main->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[3] fly, array[1])
[21:07:15] [Server thread/CRITICAL]: #1 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[3] fly, array[1])
[21:07:15] [Server thread/CRITICAL]: #2 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[7] fly off)
[21:07:15] [Server thread/CRITICAL]: #3 src/pocketmine/Player(2311): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[7] fly off)
[21:07:15] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[8] /fly off)
[21:07:15] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[21:07:15] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[21:07:15] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[21:07:15] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[21:07:15] [Server thread/CRITICAL]: #9 src/pocketmine/Player(3250): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:07:15] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:07:15] [Server thread/CRITICAL]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 81.0.36.151 29138, object raklib\protocol\EncapsulatedPacket, integer 0)
[21:07:15] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[21:07:15] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[21:07:15] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[21:07:15] [Server thread/CRITICAL]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[21:07:15] [Server thread/CRITICAL]: #16 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1598296035.3948)
[21:07:15] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[21:07:15] [Server thread/CRITICAL]: #18 src/pocketmine/Server(1588): pocketmine\Server->start()
[21:07:15] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[21:07:15] [Server thread/CRITICAL]: #20 src/pocketmine/PocketMine(304): pocketmine\server()
[21:07:15] [Server thread/CRITICAL]: #21 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.