menu
#7862493 Coordinates is not an integer in leaderboards.yml

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 13:54:16 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux bc1b2fb2-ddc9-429d-972e-eb1d376a7862 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64

Error information

Warning: the AdvanceDeaths plugin was directly involved in this crash. Please contact the plugin author.
Message: Coordinates is not an integer in leaderboards.yml
File: plugins/AdvanceDeaths_4.0.2.phar/src/ErikPDev/AdvanceDeaths/leaderboards/leaderboard
Line: #31
Error level: ErrorException
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

private FloatingTextParticle $leaderboard;

public function __construct(public array $configuration, private int $type) {

$pos = [];

foreach (explode(",", $this->configuration["coordinates"]) as $value) {
if (!preg_match("/^\d+$/", str_replace("-", "", $value))) {
throw new \ErrorException("Coordinates is not an integer in leaderboards.yml");
}
$pos[] = intval($value);
}

$this->vectorPos = new Vector3($pos[0], $pos[1], $pos[2]);
$this->worldName = $this->configuration["worldName"];

if (Server::getInstance()->getWorldManager()->getWorldByName($this->worldName) == null) {
ADMain::getInstance()->getLogger()->critical("Please double check your world name.");
Server::getInstance()->getPluginManager()->disablePlugin(ADMain::getInstance());
#0 plugins/AdvanceDeaths_4.0.2.phar/src/ErikPDev/AdvanceDeaths/ADMain(121): ErikPDev\AdvanceDeaths\leaderboards\leaderboard->__construct(array[4], int 0)
#1 plugins/AdvanceDeaths_4.0.2.phar/src/ErikPDev/AdvanceDeaths/ADMain(55): ErikPDev\AdvanceDeaths\ADMain->loadFeatures()
#2 pmsrc/src/plugin/PluginBase(117): ErikPDev\AdvanceDeaths\ADMain->onEnable()
#3 pmsrc/src/plugin/PluginManager(451): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1421): pocketmine\plugin\PluginManager->enablePlugin(object ErikPDev\AdvanceDeaths\ADMain#22261)
#5 pmsrc/src/Server(1026): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21925)
#6 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(328): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show