Please give me an example code to set world border.
Not tried it. But something like.
ServerWorld world;
WorldBorder border = WorldBorder.builder().center(0,0).targetDiameter(20).build();
world.setBorder(border)
1 Like
Thank for you care!