vennv/vapm-pmmp

1.8.7 2023-09-09 08:14 UTC

This package is auto-updated.

Last update: 2024-05-09 09:41:47 UTC


README

  • This is Virion Async/Promise/Coroutine/Thread/GreenThread for PocketMine-PMMP

Composer

composer require vennv/vapm-pmmp

How to setup ?

  • Download the Phar officially here
  • Take them and put them in your Virion folder. If you do not understand what Virion is, then click here
  • To implement and use methods, you must first use this library's method at the top of the plugin's onEnable function
  • Example:
protected function onEnable() : void
{
    VapmPMMP::init($this);
}
  • What is VapmPMMP::init($this) ?
/**
* @param PluginBase $plugin
*
* This method is called by VapmPMMP::init(), it will run event loop.
*/
public static function init(PluginBase $plugin) : void;