Can anyone help me with this error right here. [07.10 00:28:01 [Server] Server thread/CRITICAL Unhandled exception executing command 'bounty me' in bounty: Return value of Infernus101\Main:: onCommand() must be of the type boolean, none returned 07.10 00:28:01 [Server] Server thread/CRITICAL TypeError: "Return value of Infernus101\Main:: onCommand() must be of the type boolean, none returned" (EXCEPTION) in "Bounty_v3 (4).phar/src/Infernus101/Main" at line 263 07.10 00:28:01 [Server] Server thread/DEBUG #0 src/pocketmine/command/PluginCommand(58): Infernus101\Main->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string bounty, array Array()) 07.10 00:28:01 [Server] Server thread/DEBUG #1 src/pocketmine/command/SimpleCommandMap(241): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string bounty, array Array()) 07.10 00:28:01 [Server] Server thread/DEBUG #2 src/pocketmine/Server(1952): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string bounty me) 07.10 00:28:01 [Server] Server thread/DEBUG #3 src/pocketmine/Player(2093): pocketmine\Server->dispatchCommand(pocketmine\Player object, string bounty me) 07.10 00:28:01 [Server] Server thread/DEBUG #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(219): pocketmine\Player->chat(string /bounty me) 07.10 00:28:01 [Server] Server thread/DEBUG #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(47): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 07.10 00:28:01 [Server] Server thread/DEBUG #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 07.10 00:28:01 [Server] Server thread/DEBUG #7 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 07.10 00:28:01 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 07.10 00:28:01 [Server] Server thread/DEBUG #9 src/pocketmine/Player(3083): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 07.10 00:28:01 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 07.10 00:28:01 [Server] Server thread/DEBUG #11 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string **.**.***.**:59289, raklib\protocol\EncapsulatedPacket object, integer 0) 07.10 00:28:01 [Server] Server thread/DEBUG #12 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket() 07.10 00:28:01 [Server] Server thread/DEBUG #13 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 07.10 00:28:01 [Server] Server thread/DEBUG #14 src/pocketmine/Server(2485): pocketmine\network\Network->processInterfaces() 07.10 00:28:01 [Server] Server thread/DEBUG #15 src/pocketmine/Server(2238): pocketmine\Server->tick() 07.10 00:28:01 [Server] Server thread/DEBUG #16 src/pocketmine/Server(2117): pocketmine\Server->tickProcessor() 07.10 00:28:01 [Server] Server thread/DEBUG #17 src/pocketmine/Server(1699): pocketmine\Server->start() 07.10 00:28:01 [Server] Server thread/DEBUG #18 src/pocketmine/PocketMine(553): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///pmmp_65_1.2.phar/, string /, string /plugins/) 07.10 00:28:01 [Server] Server thread/DEBUG #19 /pmmp_65_1.2.phar(1): require(string phar:///pmmp_65_1.2.phar/src/pocketmine/PocketMine.php)
Not only return true; you have to add : bool add this at the end of the on Command function PHP: onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool {