Closed SpaceMCPE closed 3 years ago
Crash
BetterBan Version: [2.0.0] Server-OS: [Linux Ubuntu 20.04] PHP Version: [7.3.0] PocketMine-MP Version: [3.19.0]
[Console Error:] Error: "Class 'CortexPE\DiscordWebhookAPI\Webhook' not found" (EXCEPTION) in "plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/BetterBan" at line 314 [09:51:19] [Server thread/CRITICAL]: #0 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/Events/BBBanEvent(111): supercrafter333\BetterBan\BetterBan->sendBanMessageToDC(string[11] ItsKayZOo1k, string[10] AymenYTB55, string[0] ) [09:51:19] [Server thread/CRITICAL]: #1 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/EventListener(20): supercrafter333\BetterBan\Events\BBBanEvent->sendDiscordWebhookMessage() [09:51:19] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): supercrafter333\BetterBan\EventListener->onBBBan(object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object supercrafter333\BetterBan\EventListener, object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #5 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/Forms/BBDefaultForms(116): pocketmine\event\Event->call() [09:51:19] [Server thread/CRITICAL]: #6 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/libs/dktapps/pmforms/CustomForm(119): supercrafter333\BetterBan\Forms\BBDefaultForms::supercrafter333\BetterBan\Forms{closure}(object pocketmine\Player, object supercrafter333\BetterBan\libs\dktapps\pmforms\CustomFormResponse) [09:51:19] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(3666): supercrafter333\BetterBan\libs\dktapps\pmforms\CustomForm->handleResponse(object pocketmine\Player, array[10]) [09:51:19] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(259): pocketmine\Player->onFormSubmit(integer 1, array[10]) [09:51:19] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [09:51:19] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:51:19] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [09:51:19] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:51:19] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Player(3313): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:51:19] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:51:19] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 90.49.216.161 56473, object raklib\protocol\EncapsulatedPacket, integer 0) [09:51:19] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [09:51:19] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [09:51:19] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [09:51:19] [Server thread/CRITICAL]: #19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications() [09:51:19] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1625133079.5083) [09:51:19] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [09:51:19] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [09:51:19] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [09:51:19] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() [09:51:19] [Server thread/CRITICAL]: #25 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[I've done...] [1. ...] [2. ...] [3. ...]
[Your suggestion]
Please download BetterBan from Poggit.
i uploaded it to poggit and its still doing the same error
Download it from Poggit, not Upload!
Okay, that's a bug from poggit.
Ouf... Fixed xD
Bug: [Bug Name]
Crash
Informations
BetterBan Version: [2.0.0] Server-OS: [Linux Ubuntu 20.04] PHP Version: [7.3.0] PocketMine-MP Version: [3.19.0]
Error
[Console Error:] Error: "Class 'CortexPE\DiscordWebhookAPI\Webhook' not found" (EXCEPTION) in "plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/BetterBan" at line 314 [09:51:19] [Server thread/CRITICAL]: #0 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/Events/BBBanEvent(111): supercrafter333\BetterBan\BetterBan->sendBanMessageToDC(string[11] ItsKayZOo1k, string[10] AymenYTB55, string[0] ) [09:51:19] [Server thread/CRITICAL]: #1 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/EventListener(20): supercrafter333\BetterBan\Events\BBBanEvent->sendDiscordWebhookMessage() [09:51:19] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): supercrafter333\BetterBan\EventListener->onBBBan(object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object supercrafter333\BetterBan\EventListener, object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object supercrafter333\BetterBan\Events\BBBanEvent) [09:51:19] [Server thread/CRITICAL]: #5 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/Forms/BBDefaultForms(116): pocketmine\event\Event->call() [09:51:19] [Server thread/CRITICAL]: #6 plugins/BetterBan (4).phar/src/supercrafter333/BetterBan/libs/dktapps/pmforms/CustomForm(119): supercrafter333\BetterBan\Forms\BBDefaultForms::supercrafter333\BetterBan\Forms{closure}(object pocketmine\Player, object supercrafter333\BetterBan\libs\dktapps\pmforms\CustomFormResponse) [09:51:19] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(3666): supercrafter333\BetterBan\libs\dktapps\pmforms\CustomForm->handleResponse(object pocketmine\Player, array[10]) [09:51:19] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(259): pocketmine\Player->onFormSubmit(integer 1, array[10]) [09:51:19] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [09:51:19] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:51:19] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [09:51:19] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:51:19] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Player(3313): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:51:19] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:51:19] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 90.49.216.161 56473, object raklib\protocol\EncapsulatedPacket, integer 0) [09:51:19] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [09:51:19] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [09:51:19] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [09:51:19] [Server thread/CRITICAL]: #19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications() [09:51:19] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1625133079.5083) [09:51:19] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [09:51:19] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [09:51:19] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [09:51:19] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() [09:51:19] [Server thread/CRITICAL]: #25 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
readjustment instructions
[I've done...] [1. ...] [2. ...] [3. ...]
fix suggestions [optional]
[Your suggestion]