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

Submitted by PocketMine-MP 3.8.7

General information

Version: 3.8.7
Git commit: 790fcc4e
Plugin involvement: Direct
Report date: 2019-11-08 00:34:35 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: win
System banner: Windows NT 172_21_0_17 10.0 build 14393 (Windows Server 2016) AMD64

Error information

Warning: the Npopup plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'onebone\economyapi\EconomyAPI' not found
File: plugins/Npopup_v1.phar/src/Npopup/main
Line: #42
Error level: Error
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  	public function popup()
{
$color=rand(1,7);
date_default_timezone_set('Asia/Shanghai');
$emm = count($this->getServer()->getOnlinePlayers());
foreach($this->getServer()->getOnlinePlayers() as $player)
{
if($player->isOnline())
{
$m = EconomyAPI::getInstance()->myMoney($player->getName());

$item = $player->getInventory()->getItemInHand();
$id = $item->getID();
$sl = $item->getcount();
$ts = $item->getDamage();

if($player->isOp()){
$qx = "管理员";
}else{
$qx = "玩家";
#0 plugins/Npopup_v1.phar/src/Npopup/CallbackTask(25): Npopup\main->popup(object Npopup\CallbackTask)
#1 src/pocketmine/scheduler/TaskHandler(159): Npopup\CallbackTask->onRun(integer 411)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 411)
#3 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 411)
#4 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 411)
#5 src/pocketmine/Server(2345): pocketmine\Server->tick()
#6 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1784): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[50] C:\Users\Administrator\Desktop\......... - ......\, string[58] C:\Users\Administrator\Desktop\......... - ......\plugins\)
#9 (1): require(string[105] phar://C:/Users/Administrator/Desktop/......... - ....../PocketMine-MP.phar/src/)

Loaded Plugins

  • Show

Server Settings

  • Show