Separate names with a comma.
$tree = $this->getServer()->getPluginManager->getPlugin("Plugin name")->tree
public function onCommand(CommandSender $sender, Command $cmd, $label, array $args){ if(!$sender instanceOf Player) return true;...
ok :/
you need to save the FloatingTextParticle object in a class property
public function onCommand(CommandSender $sender, Command $command, $label, array $args){ switch($command->getName()){ case "spawnparticle":...
no one knows how to do it?
I mean without doing it
I tried $pk->metadata = [4 => [0,1]]; in AddEntityPacket but the lightning isn't silent
I tried to run it and it works for me. So be sure to don't use tabs in the plugin.yml but only spaces
I think class Main extends PluginBase implements Listener{ public function onEnable() { $this->getServer()->getPluginManager()->registerEvents($this,...