I tried to change the size of the world border, but it didn't work out, here's my first script:
Next, I decided to try using org.bukkit:
But everything also doesn't work, please tell us how to manage the world border in Skript.
Code:
command /border:
trigger:
set world border of world "world" to 100 #also i tried: set world border of player's world to 100
Next, I decided to try using org.bukkit:
Code:
command /barrier:
trigger:
set {_world} to world "world"
set {_bukkitworld} to {_world} parsed as org.bukkit.World
set {_border} to {_bukkitworld}.getWorldBorder()
eval "%{_border}%.setSize(100, 10 * 20)"
But everything also doesn't work, please tell us how to manage the world border in Skript.