How to make the cage look like this By editing this code: PHP: $x = $player->getX(); $y = $player->getY(); $z = $player->getZ(); $l = $player->getLevel(); $l->setBlock(new Vector3($x, $y - 1, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x, $y + 3, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x + 1, $y + 2, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x, $y + 2, $z + 1), Block::get(20), false, true); $l->setBlock(new Vector3($x - 1, $y + 2, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x, $y + 2, $z - 1), Block::get(20), false, true); $l->setBlock(new Vector3($x + 1, $y - 0, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x, $y - 0, $z + 1), Block::get(20), false, true); $l->setBlock(new Vector3($x - 1, $y - 0, $z), Block::get(20), false, true); $l->setBlock(new Vector3($x, $y - 0, $z - 1), Block::get(20), false, true);
Then try to understand it before copying it into your plugin. Otherwise it might have some secret backdoor on demand of some government... cough Huawei