menu
#2906968 Class 'pocketmine\Plugin\PluginBase' not found

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Direct
Report date: 2019-10-09 18:43:08 +0000 UTC

System Information

PHP version: 7.3.6
Operating system: linux
System banner: Linux 150-95-137-182 4.15.0-64-generic #73-Ubuntu SMP Thu Sep 12 13:16:13 UTC 2019 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\Plugin\PluginBase' not found
File: plugins/phar_SetItemName_QptfEzPkbvNbMRr.phar/src/SIN/Main
Line: #16
Error level: Error
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use pocketmine\Server;
use pocketmine\inventory\PlayerInventory;
use pocketmine\inventory\Inventory;
use pocketmine\item\Item;
use pocketmine\command\Command;
use pocketmine\command\CommandSender;
use pocketmine\event\Listener;
use pocketmine\utils\TextFormat;

class Main extends PluginBase implements Listener{

public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this, $this);
}

public function onCommand(CommandSender $sender, Command $command, string $label, array $args):bool{

if($sender->getName() === "CONSOLE") {
$sender->sendMessage(">>§cこのコマンドはゲーム内で使ってください");
return false;
#0 vendor/pocketmine/spl/BaseClassLoader(126): include()
#1 (): BaseClassLoader->loadClass(string[8] SIN\Main)
#2 (): spl_autoload_call(string[8] SIN\Main)
#3 src/pocketmine/plugin/PluginManager(180): class_exists(string[8] SIN\Main, boolean 1)
#4 src/pocketmine/plugin/PluginManager(351): pocketmine\plugin\PluginManager->loadPlugin(string[61] /home/pmmp/pmmp/plugins/phar_SetItemName_QptfEzPkbvNbMRr.phar, array[2])
#5 src/pocketmine/Server(1724): pocketmine\plugin\PluginManager->loadPlugins(string[24] /home/pmmp/pmmp/plugins/)
#6 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/pmmp/pmmp/, string[24] /home/pmmp/pmmp/plugins/)
#7 src/pocketmine/PocketMine(299): pocketmine\server()
#8 (1): require(string[71] phar:///home/pmmp/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show