menu
#10626373 Call to undefined function hcf\command\getserver()

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 06:17:45 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 53 seconds

System Information

PHP version: 8.1.25
JIT status: Not available
Operating system: linux
System banner: Linux c385da9f-e902-46d2-8301-1e1d3f3c83b4 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64

Error information

Warning: the VaultCore plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Call to undefined function hcf\command\getserver()
File: plugins/VaultCore_v1.0.0/src/hcf/command/LFFCommand
Line: #29
Type: Error
20
21
22
23
24
25
26
27
28
29
30
31

/**
* @param CommandSender $sender
* @param string $commandLabel
* @param array $args
*/
public function execute(CommandSender $sender, string $commandLabel, array $args): void
{
if (!$sender instanceof Player) return;
$sender->getServer()->broadcastMessage(TextFormat::GREEN . $sender->getName() . " ยง7Esta buscando faction, juega en:" . getserver()->broadcastMessage(TextFormat::GREEN . $sender->getDevice));
}
}
#0 pmsrc/src/command/SimpleCommandMap(212): hcf\command\LFFCommand->execute(object hcf\player\Player#205037, string[3] lff, array[0])
#1 pmsrc/src/Server(1431): pocketmine\command\SimpleCommandMap->dispatch(object hcf\player\Player#205037, string[3] lff)
#2 pmsrc/src/player/Player(1516): pocketmine\Server->dispatchCommand(object hcf\player\Player#205037, string[3] lff)
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(819): pocketmine\player\Player->chat(string[4] /lff)
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#121391)
#5 pmsrc/src/network/mcpe/NetworkSession(456): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#196841)
#6 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#121391, string[26] M./lff.AM.....c.=.O..T...L)
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(214): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[28] ..M./lff.AM.....c.=.O..T...L)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[37] .v..O....'.h..W.$\.oL..v.p..8.2.'._.+)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(107): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#188379)
#10 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#12 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#14 pmsrc/src/Server(1696): pocketmine\snooze\SleeperHandler->sleepUntil(float 1712125065.2167)
#15 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#16 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/PocketMine(373): pocketmine\server()
#18 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show