menu
#5777656 Cannot use non-existing permission "melt.ores"

Submitted by PocketMine-MP 4.0.6

General information

Version: 4.0.6
Git commit: f7d25f25
Plugin involvement: None
Report date: 2022-01-15 00:37:52 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux ip135-148-6-172 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64

Error information

Message: Cannot use non-existing permission "melt.ores"
File: pmsrc/src/command/Command
Line: #107
Error level: InvalidArgumentException
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

public function getPermission() : ?string{
return $this->permission;
}

public function setPermission(?string $permission) : void{
if($permission !== null){
foreach(explode(";", $permission) as $perm){
if(PermissionManager::getInstance()->getPermission($perm) === null){
throw new \InvalidArgumentException("Cannot use non-existing permission \"$perm\"");
}
}
}
$this->permission = $permission;
}

public function testPermission(CommandSender $target, ?string $permission = null) : bool{
if($this->testPermissionSilent($target, $permission)){
return true;
}
#0 pmsrc/src/plugin/PluginBase(192): pocketmine\command\Command->setPermission(string[9] melt.ores)
#1 pmsrc/src/plugin/PluginBase(97): pocketmine\plugin\PluginBase->registerYamlCommands()
#2 pmsrc/src/plugin/PluginManager(214): pocketmine\plugin\PluginBase->__construct(object pocketmine\plugin\PharPluginLoader#23422, object pocketmine\Server#10, object pocketmine\plugin\PluginDescription#23476, string[66] /home/minecraft/multicraft/servers/server2047/plugin_data/Derreter, string[79] phar:///home/minecraft/multicraft/servers/server2047/plugins/Derreter_v0.1.phar, object pocketmine\plugin\DiskResourceProvider#23510)
#3 pmsrc/src/plugin/PluginManager(357): pocketmine\plugin\PluginManager->internalLoadPlugin(string[72] /home/minecraft/multicraft/servers/server2047/plugins/Derreter_v0.1.phar, object pocketmine\plugin\PharPluginLoader#23422, object pocketmine\plugin\PluginDescription#23476)
#4 pmsrc/src/Server(1003): pocketmine\plugin\PluginManager->loadPlugins(string[54] /home/minecraft/multicraft/servers/server2047/plugins/)
#5 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[46] /home/minecraft/multicraft/servers/server2047/, string[54] /home/minecraft/multicraft/servers/server2047/plugins/)
#6 pmsrc/src/PocketMine(326): pocketmine\server()
#7 pmsrc(11): require(string[72] phar:///home/minecraft/multicraft/jar/1.18-4.0.0.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show