menu
#2580496 scandir(C:\Users\xxnic\Desktop\Server\data\players,C:\Users\xxnic\Desktop\Server\data\players): The system cannot find the path specified. (code: 3)

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-07-11 16:05:21 +0000 UTC

System Information

PHP version: 7.2.2
Operating system: win
System banner: Windows NT DESKTOP-H35I5OQ 10.0 build 17134 (Windows 10) AMD64

Error information

Warning: the Core plugin was directly involved in this crash. Please contact the plugin author.
Message: scandir(C:\Users\xxnic\Desktop\Server\data\players,C:\Users\xxnic\Desktop\Server\data\players): The system cannot find the path specified. (code: 3)
File: plugins/Core/src/utils/Utils
Line: #61
Error level: ErrorException
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
            case 3:
$place = C::DARK_AQUA . "3. ";
break;
}
return $place;
}

public function getAllCoins(): array{
$coins = [];
foreach(scandir(Player::getDataFolder() . "players") as $file){
$i = explode(".", $file);
if($i[1] == "yml"){
$cfg = Player::getConfig($i[0]);
$coins[$i[0]] = $cfg->get("coins");
}
}
arsort($coins);
return $coins;
}

#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string scandir(C:\Users\xxnic\Desktop\Server\data\players,C:\Users\xxnic\Desktop\Server\data\players): The system cannot find the path specified. (code: 3), string C:\Users\xxnic\Desktop\Server\plugins\Core\src\utils\Utils.php, integer 61, array Array())
#1 plugins/Core/src/utils/Utils(61): scandir(string C:\Users\xxnic\Desktop\Server\data\players)
#2 plugins/Core/src/utils/Utils(73): utils\Utils->getAllCoins()
#3 plugins/Core/src/entity/LeaderboardNPC(23): utils\Utils->getLeaderboardData()
#4 src/pocketmine/entity/Entity(1473): entity\LeaderboardNPC->entityBaseTick(integer 4)
#5 src/pocketmine/level/Level(848): pocketmine\entity\Entity->onUpdate(integer 1563)
#6 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 1563)
#7 src/pocketmine/Server(2434): pocketmine\level\Level->doTick(integer 1563)
#8 src/pocketmine/Server(2565): pocketmine\Server->checkTickUpdates(integer 1563, double 1562861121.9319)
#9 src/pocketmine/Server(2334): pocketmine\Server->tick()
#10 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1774): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\xxnic\Desktop\Server\, string C:\Users\xxnic\Desktop\Server\plugins\)
#13 (1): require(string phar://C:/Users/xxnic/Desktop/Server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show