IvanCraft623 / SimpleKits

The best kits manager for pocketmine 4.0.0
Apache License 2.0
1 stars 0 forks source link

Crash #4

Closed Driwen closed 2 years ago

Driwen commented 2 years ago

When I start my server with the plugin SimpleKits, my server crash:

Error: Class "poggit\libasynql\libasynql" not found File: plugins/SimpleKits-main/src/IvanCraft623/SimpleKits/database/DataManager Line: 41 Type: Error

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: SimpleKits

Code: [32] $this->plugin = SimpleKits::getInstance(); [33] $this->pluginPath = $this->plugin->getDataFolder(); [34] [35] $this->onError = function(SqlError $result): void{ [36] $this->plugin->getLogger()->emergency($result->getQuery() . ' - ' . $result->getErrorMessage()); [37] }; [38] } [39] [40] public function createContext(): void { [41] $this->database = libasynql::create($this->plugin, $this->plugin->getConfig()->get("database"), [ [42] "sqlite" => "database/sqlite.sql", [43] "mysql" => "database/mysql.sql", [44] ]); [45] [46] $this->database->executeGeneric('table.players'); [47] $this->database->executeGeneric('table.kits'); [48] } [49] [50] public function getDatabase(): ?DataConnector { [51] return $this->database;

IvanCraft623 commented 2 years ago

You must download the plugin from poggit: https://poggit.pmmp.io/ci/IvanCraft623/SimpleKits/~