menu
#2907716 Class 'Scoreboards\Scoreboards' not found

Submitted by PocketMine-MP 3.9.6+dev.1777

General information

Version: 3.9.6+dev.1777
Git commit: 247875e3
Plugin involvement: Direct
Report date: 2019-10-10 03:04:48 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux nchosting 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 x86_64

Error information

Warning: the Core plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'Scoreboards\Scoreboards' not found
File: plugins/Core PO.phar/src/Playek/Core/task/ScoreLobby
Line: #25
Error level: Error
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	private $main;
private $prefix;

public function __construct(Main $main){
$this->main = $main;
$this->prefix = $main->prefix;
}

public function onRun(int $currentTick){
$api = Scoreboards::getInstance();
if($this->main->utils->getNameLobby() != null){
$namelevel = $this->main->utils->getNameLobby();
$level = $this->main->getServer()->getLevelByName($namelevel);
if($level instanceof Level){
foreach($level->getPlayers() as $pl){
if($pl->getLevel()->getFolderName() == $namelevel){
$lang = $this->main->langManager();
$wordNick = $lang->getTraduction("word-nick", $pl->getName());
$wordPing = $lang->getTraduction("word-ping", $pl->getName());
$i = 0;
#0 src/pocketmine/scheduler/TaskHandler(159): Playek\Core\task\ScoreLobby->onRun(integer 1)
#1 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1)
#2 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#3 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#4 src/pocketmine/Server(2346): pocketmine\Server->tick()
#5 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1784): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[43] /home/minecraft/multicraft/servers/server1/, string[51] /home/minecraft/multicraft/servers/server1/plugins/)
#8 src/pocketmine/PocketMine(299): pocketmine\server()
#9 (1): require(string[88] phar:///home/minecraft/multicraft/jar/Pocketmine-1.12.phar/src/pocketmine/Pocket)

Loaded Plugins

  • Show

Server Settings

  • Show