Skip to content

KillCommand ​

class · pocketmine\command\defaults\KillCommand · source

Extends VanillaCommand
Implements ExhaustiveOverloads

/kill [target]: kills the targets (players, mobs, or any entity with a selector such as @e[type=cow,r=20]); entities that cannot die (items, arrows...) are removed, like Bedrock.

Methods ​

__construct() ​

php
public function __construct()

execute() ​

php
public function execute(\pocketmine\command\CommandSender $sender, string $commandLabel, array $args)

getOverloads() 5.46.0 ​

php
public function getOverloads() : array

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.