Closed axelmine closed 4 years ago
@No4NaMe Were there any errors before this one?
@No4NaMe Were there any errors before this one?
No, Errors occur after server reboot, if the server is turned off and on, the plugin works fine...
Using /reload is not recommended to restart the server, it's been removed in API 4.0 apparently.
when the server reload, the auction plugin crashes and kicks the player
2020-03-29 [17:05:11] [Server thread/ERROR]: [InvMenu] Failed to send inventory due to disabled plugin AuctionHouse 2020-03-29 [17:05:11] [Server thread/CRITICAL]: InvalidStateException: "Tried to schedule task to disabled scheduler" (EXCEPTION) in "src/pocketmine/scheduler/TaskScheduler" at line 125 2020-03-29 [17:05:11] [Server thread/DEBUG]: #0 src/pocketmine/scheduler/TaskScheduler(70): pocketmine\scheduler\TaskScheduler->addTask(object shock95x\auctionhouse\libs\muqsit\invmenu\tasks\DelayedFakeBlockDataNotifyTask, integer 5, integer -1) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #1 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/libs/muqsit/invmenu/inventories/BaseFakeInventory(124): pocketmine\scheduler\TaskScheduler->scheduleDelayedTask(object shock95x\auctionhouse\libs\muqsit\invmenu\tasks\DelayedFakeBlockDataNotifyTask, integer 5) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #2 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/libs/muqsit/invmenu/inventories/DoubleChestInventory(62): shock95x\auctionhouse\libs\muqsit\invmenu\inventories\BaseFakeInventory->onFakeBlockDataSend(object pocketmine\Player) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #3 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/libs/muqsit/invmenu/inventories/BaseFakeInventory(66): shock95x\auctionhouse\libs\muqsit\invmenu\inventories\DoubleChestInventory->sendFakeBlockData(object pocketmine\Player, object shock95x\auctionhouse\libs\muqsit\invmenu\utils\HolderData) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #4 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/libs/muqsit/invmenu/InvMenu(115): shock95x\auctionhouse\libs\muqsit\invmenu\inventories\BaseFakeInventory->send(object pocketmine\Player, string[19] ..l..6Auction House) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #5 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/AuctionHouse(204): shock95x\auctionhouse\libs\muqsit\invmenu\InvMenu->send(object pocketmine\Player, string[19] ..l..6Auction House) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #6 plugins/AuctionHouse_dev-18.phar/src/shock95x/auctionhouse/commands/AHCommand(51): shock95x\auctionhouse\AuctionHouse->sendAHMenu(object pocketmine\Player) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #7 src/pocketmine/command/SimpleCommandMap(248): shock95x\auctionhouse\commands\AHCommand->execute(object pocketmine\Player, string[2] ah, array[0]) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #8 src/pocketmine/Server(1807): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[2] ah) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #9 plugins/ItemFrameCommands.phar/src/xenialdan/ItemFrameCommands/EventListener(105): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[2] ah) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #10 src/pocketmine/plugin/MethodEventExecutor(42): xenialdan\ItemFrameCommands\EventListener->interactFrames(object pocketmine\event\player\PlayerInteractEvent) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #11 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object xenialdan\ItemFrameCommands\EventListener, object pocketmine\event\player\PlayerInteractEvent) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #12 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #13 src/pocketmine/level/Level(1862): pocketmine\event\Event->call() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #14 src/pocketmine/Player(2383): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\ItemBlock, integer 5, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object CortexPE\network\InventoryTransactionPacket) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #20 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #22 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 188.163.64.221 41165, object raklib\protocol\EncapsulatedPacket, integer 0) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #23 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #24 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #25 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #26 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #27 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1585501511.2536) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #28 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #29 src/pocketmine/Server(1584): pocketmine\Server->start() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #30 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/mcserver/, string[23] /home/mcserver/plugins/) 2020-03-29 [17:05:11] [Server thread/DEBUG]: #31 src/pocketmine/PocketMine(296): pocketmine\server() 2020-03-29 [17:05:11] [Server thread/DEBUG]: #32 (11): require(string[70] phar:///home/mcserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2020-03-29 [17:05:11] [Server thread/INFO]: [Основатель]WylSmart Покинул игру! 2020-03-29 [17:05:11] [Server thread/INFO]: WylSmart[/188.163.64.221:41165] отключился: Internal server error