menu
#2906899 Class 'onebone\economyapi\EconomyAPI' not found

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Direct
Report date: 2019-10-09 18:01:36 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux 2fde4af835a5 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64

Error information

Warning: the ScoreHud plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'onebone\economyapi\EconomyAPI' not found
File: plugins/ScoreHud.phar/src/JackMD/ScoreHud/Main
Line: #82
Error level: Error
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
			}
}
}

/**
* @param Player $player
* @return float|string
*/
private function getPlayerMoney(Player $player){
if(EconomyAPI::getInstance() !== null){
return EconomyAPI::getInstance()->myMoney($player);
}else{
return "Plugin not found";
}
}

/**
* @param Player $player
* @return string
*/
#0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/Main(150): JackMD\ScoreHud\Main->getPlayerMoney(object pocketmine\Player)
#1 plugins/ScoreHud.phar/src/JackMD/ScoreHud/Main(72): JackMD\ScoreHud\Main->process(object pocketmine\Player, string[44] ..bOnline: ..a{online} ..c/ ..d{max_online})
#2 plugins/ScoreHud.phar/src/JackMD/ScoreHud/Main(61): JackMD\ScoreHud\Main->updateScore(object pocketmine\Player)
#3 plugins/ScoreHud.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(67): JackMD\ScoreHud\Main->addScore(object pocketmine\Player, string[24] ..l..bVanilla ..7Private)
#4 src/pocketmine/scheduler/TaskHandler(159): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 4060)
#5 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 4060)
#6 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 4060)
#7 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 4060)
#8 src/pocketmine/Server(2346): pocketmine\Server->tick()
#9 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1784): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#12 src/pocketmine/PocketMine(299): pocketmine\server()
#13 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show