I want to load autoload.php in PMMP. So, I used require, require_once and include functions. But, PMMP stoped if used those functions. How to fix this problem? code is... PHP: <?phpnamespace EasyCHAT;use pocketmine\Player;use pocketmine\plugin\PluginBase;use pocketmine\Server;use pocketmine\event\Listener;use pocketmine\event\player\PlayerChatEvent;use pocketmine\utils\Config;use EasyCHAT\Chat;use Ratchet\MessageComponentInterface;use Ratchet\ConnectionInterface;use Ratchet\Server\IoServer;use Ratchet\WebSocket\WsServer;use Ratchet\Http\HttpServer;require __DIR__.'/vendor/autoload.php';class EasyCHAT extends PluginBase implements Listener{//....
You're attempting to use Composer in a plugin? Wow... @SOFe I TOLD you people would want to do this. ;P