vennv / vapm-pmmp
1.8.7
2023-09-09 08:14 UTC
Requires
- php: >=8.2
- php-64bit: *
- composer-runtime-api: ^2.0
- pocketmine/pocketmine-mp: ^5.4.3
Requires (Dev)
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;
- Finally, here's a guide to the methods you can use: here
- This is plugin Example:
- SimplifyLibasynql
- VSharedData
- VJesusBucket
- VBasket
- VOreSpawner