PHP: public function spawnHolo() { $level = $this->getServer()->getLevelByName("Spawn"); $holo = $this->getConfig(); $x = $holo->get("X"); $y = $holo->get("Y"); $z = $holo->get("Z"); $text = $holo->get("TEXT"); $particle = new FloatingTextParticle(new Vector3($x, $y, $z), $text); $level->addParticle($particle); } Error "Call to a member function addParticle() on null"" Can anyone help me to get the text to spawn
Try and use this, see what it says in console PHP: var_dump($this->getServer()->isLevelLoaded("Spawn"));