Create WorldBorder (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.11
Syntax
a [virtual] world[ ]borderDescription
Creates a new, unused world border. World borders can be assigned to either worlds or specific players. Borders assigned to worlds apply to all players in that world. Borders assigned to players apply only to those players, and different players can have different borders.
Examples
on join:
set {_location} to location of player
set worldborder of player to a virtual worldborder:
set worldborder radius to 25
set world border center of event-worldborder to {_location}
on load:
set worldborder of world "world" to a worldborder:
set worldborder radius of event-worldborder to 200
set worldborder center of event-worldborder to location(0, 64, 0)
set worldborder warning distance of event-worldborder to 5