what does this code say? sure.. call me noob or move this to facepalm. PHP: if(($x >= 188 || $x <= 202) || ($y >= 4 || $y <= 100) || ($z >= 276 || $z <= 279)){ $event->getPlayer()->teleport(Server::getInstance()->getLevelByName("mines")->getSafeSpawn()); }
It basically says this: If the Player is in a certain area, it teleports them to the level : "mines"'s safe Spawn