menu
#6719532 Class "ScoreboardsDX\Scoreboards" not found

Submitted by PocketMine-MP 4.3.0

General information

Version: 4.3.0
Git commit: e4ce467c
Plugin involvement: Direct
Report date: 2022-05-14 08:53:16 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 2 seconds

System Information

PHP version: 8.0.12
Operating system: linux
System banner: Linux a89e181ea811 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64

Error information

Warning: the CoffeeAPI plugin was directly involved in this crash. Please contact the plugin author.
Message: Class "ScoreboardsDX\Scoreboards" not found
File: plugins/CoffeeAPI.phar/src/vasyadevnull/task/ScoreHUDUpdadeTask
Line: #49
Error level: Error
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
	static function removeHUD(Player $player): void{
$api = Scoreboards::getInstance();

if($api->getObjectiveName($player)) $api->remove($player);
}


static function updateHUD(Player $player, bool $byTask = false): void{
$server = Server::getInstance();
$api = Scoreboards::getInstance();
$plugin = Loader::getInstance();

$api->new($player, "ObjectiveName", $plugin->scorehud->get("hud_title"));

if($plugin->getConfig()->get("pvp-bar-show") === "scorehud" && isset($plugin->combat[$player->getLowerCaseName()])){
if($byTask === false) foreach($plugin->scorehud->get("pvp_hud_lines", []) as $number => $value) $api->setLine($player, $number + 1, self::replaceTag($value, $player));
}else foreach($plugin->scorehud->get("default_hud_lines", []) as $number => $value) $api->setLine($player, $number + 1, self::replaceTag($value, $player));
}


#0 plugins/CoffeeAPI.phar/src/vasyadevnull/forms/NickForm(104): vasyadevnull\task\ScoreHUDUpdadeTask::updateHUD(object vasyadevnull\CustomPlayer#30749, true)
#1 plugins/CoffeeAPI.phar/src/vasyadevnull/EventHandler(205): vasyadevnull\forms\NickForm::updateNameTag(object vasyadevnull\CustomPlayer#30749)
#2 pmsrc/src/event/RegisteredListener(75): vasyadevnull\EventHandler->onPlayerLogin(object pocketmine\event\player\PlayerLoginEvent#30583)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerLoginEvent#30583)
#4 pmsrc/src/Server(1667): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(243): pocketmine\Server->addOnlinePlayer(object vasyadevnull\CustomPlayer#30749)
#6 pmsrc/src/promise/Promise(45): pocketmine\network\mcpe\NetworkSession->onPlayerCreated(object vasyadevnull\CustomPlayer#30749)
#7 pmsrc/src/network/mcpe/NetworkSession(234): pocketmine\promise\Promise->onCompletion(object Closure#30584, object Closure#30585)
#8 pmsrc/src/network/mcpe/NetworkSession(692): pocketmine\network\mcpe\NetworkSession->createPlayer()
#9 pmsrc/src/network/mcpe/handler/ResourcePacksPacketHandler(142): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#10 pmsrc/vendor/pocketmine/bedrock-protocol/src/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\handler\ResourcePacksPacketHandler->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#30577)
#11 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\handler\ResourcePacksPacketHandler#30575)
#12 plugins/FakePlayer.phar/src/muqsit/fakeplayer/Loader(149): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#30577, string[4] ....)
#13 plugins/FakePlayer.phar/src/muqsit/fakeplayer/Loader(206): muqsit\fakeplayer\Loader->addPlayer(object muqsit\fakeplayer\info\FakePlayerInfo#30199)
#14 plugins/FakePlayer.phar/src/muqsit/fakeplayer/Loader(104): muqsit\fakeplayer\Loader->addConfiguredPlayers()
#15 pmsrc/src/scheduler/ClosureTask(63): muqsit\fakeplayer\Loader->muqsit\fakeplayer\{closure}()
#16 pmsrc/src/scheduler/TaskHandler(117): pocketmine\scheduler\ClosureTask->onRun()
#17 pmsrc/src/scheduler/TaskScheduler(144): pocketmine\scheduler\TaskHandler->run()
#18 pmsrc/src/plugin/PluginManager(478): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 20)
#19 pmsrc/src/Server(1769): pocketmine\plugin\PluginManager->tickSchedulers(integer 20)
#20 pmsrc/src/Server(1658): pocketmine\Server->tick()
#21 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#22 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[15] /home/gs-41269/, string[23] /home/gs-41269/plugins/)
#23 pmsrc/src/PocketMine(327): pocketmine\server()
#24 pmsrc(11): require(string[83] phar:///pro/bin/mcpe/pocketmine-1.18.30-4.3.0/PocketMine-MP.phar/src/PocketMine.)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show