menu
#2387956 scandir(/home/gs-40741/plugin_data/Bedwars/Arenas): failed to open dir: No such file or directory

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-05-15 23:22:17 +0000 UTC

System Information

PHP version: 7.2.8
Operating system: linux
System banner: Linux b65db1c9208d 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64

Error information

Warning: the Bedwars plugin was directly involved in this crash. Please contact the plugin author.
Message: scandir(/home/gs-40741/plugin_data/Bedwars/Arenas): failed to open dir: No such file or directory
File: plugins/BedWarsFixed.phar/src/Bluplayz/Bedwars
Line: #1563
Error level: ErrorException
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
    public $plugin;

public function __construct(Bedwars $plugin) {
$this->plugin = $plugin;
$this->prefix = $plugin->prefix;
}

public function onRun($tick) {

$files = scandir($this->plugin->getDataFolder()."Arenas");
foreach($files as $filename){
if($filename != "." && $filename != ".."){
$arena = str_replace(".yml", "", $filename);
$config = new Config($this->plugin->getDataFolder()."Arenas/".$arena.".yml", Config::YAML);
$cfg = new Config($this->plugin->getDataFolder()."config.yml", Config::YAML);
$players = $this->plugin->getPlayers($arena);
$status = $config->get("Status");
$teams = (int) $config->get("Teams");
$ppt = (int) $config->get("PlayersPerTeam");
$lobbytimer = (int) $config->get("LobbyTimer");
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string scandir(/home/gs-40741/plugin_data/Bedwars/Arenas): failed to open dir: No such file or directory, string phar:///home/gs-40741/plugins/BedWarsFixed.phar/src/Bluplayz/Bedwars.php, integer 1563, array Array())
#1 plugins/BedWarsFixed.phar/src/Bluplayz/Bedwars(1563): scandir(string /home/gs-40741/plugin_data/Bedwars/Arenas)
#2 src/pocketmine/scheduler/TaskHandler(159): Bluplayz\BWGameSender->onRun(integer 801)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 801)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 801)
#5 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 801)
#6 src/pocketmine/Server(2334): pocketmine\Server->tick()
#7 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gs-40741/, string /home/gs-40741/plugins/)
#10 (1): require(string phar:///pro/bin/mcpe/pocketmine-stable-1.11.0/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show