I'm trying to create a shrinking world border in Minecraft with a Bukkit plugin. Im trying to do it with a scheduler so it shrinks every second 1 or 2 blocks.
Help is appreciated!
You can use the World Border.setSize(double, long) method.
For more information, see: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/WorldBorder.html#setSize(double,%20long)