1. Go to this page and download the library: Download reinfyteam/libvapm-pmmp library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
reinfyteam / libvapm-pmmp example snippets
use pocketmine\plugin\PluginBase;
use vennv\vapm\VapmPMMP;
final class Main extends PluginBase{
protected function onEnable() : void{
VapmPMMP::init($this);
}
}
use vennv\vapm\VapmPMMP;
use vennv\vapm\io\Io;
use vennv\vapm\ct\Ct;
use vennv\vapm\Promise;
use vennv\vapm\System;