BigBrotherTeam / BigBrother

Allows the connection of Minecraft: Java Edtion clients to PocketMine-MP servers. Made for PocketMine-MP
GNU Lesser General Public License v3.0
96 stars 23 forks source link

Composer autoloader not found #136

Closed KingRainbow44 closed 5 years ago

KingRainbow44 commented 5 years ago

Issue description

BigBrother won't load.

Prerequisite

PocketMine-DevTools

How to reproduce

Just install the plugin in folder form.

Server log(crash dump)

[11:34:33] [Server thread/INFO]: Loading BigBrother v1.6.0-beta [11:34:33] [Server thread/CRITICAL]: [BigBrother] Composer autoloader not found [11:34:33] [Server thread/CRITICAL]: [BigBrother] Please initialize composer dependencies before running [11:34:33] [Server thread/CRITICAL]: Error: "Call to undefined method FolderPluginLoader\FolderPluginLoader::disablePlugin()" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/BigBrother" at line 84 [11:34:33] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(195): shoghicp\BigBrother\BigBrother->onLoad() [11:34:33] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(344): pocketmine\plugin\PluginManager->loadPlugin(string[70] C:\Users\user001\Desktop\Development Console\plugins\BigBrother-master, array[1]) [11:34:33] [Server thread/DEBUG]: #2 plugins/DevTools.phar/src/DevTools/DevTools(71): pocketmine\plugin\PluginManager->loadPlugins(string[53] C:\Users\user001\Desktop\Development Console\plugins\, array[1]) [11:34:33] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(123): DevTools\DevTools->onEnable() [11:34:33] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(588): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [11:34:33] [Server thread/DEBUG]: #5 src/pocketmine/Server(1992): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools) [11:34:33] [Server thread/DEBUG]: #6 src/pocketmine/Server(1978): pocketmine\Server->enablePlugin(object DevTools\DevTools) [11:34:33] [Server thread/DEBUG]: #7 src/pocketmine/Server(1718): pocketmine\Server->enablePlugins(integer 0) [11:34:33] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] C:\Users\user001\Desktop\Development Console\, string[53] C:\Users\user001\Desktop\Development Console\plugins)

[11:34:33] [Server thread/CRITICAL]: Could not load plugin 'BigBrother'

KingRainbow44 commented 5 years ago

Just a side note, I updated the plugin to PMMP 3.8.3.

mclauncherlinux commented 5 years ago

can you send the .phar

hmy2001 commented 5 years ago

Please execute composer install

eternalharvest commented 5 years ago

@KingRainbow44 if u want to use this plugin with source, u must run composer install command first. or u must run composer build to generate phar file.

KingRainbow44 commented 5 years ago

@eternalharvest @hmy2001 Where would I run "composer build"? And can you give detailed instructions?

EDIT: Correct me if I'm wrong but I need to use composer from https://getcomposer.org