Hello everyone
I was looking for a way to make a player with some permission can not leave an area of the world.
For example: Let the center of the area be x: 0 z: 0 and that the players can not cross a border of 100x100.
I know there are plugins to create a SINGLE border but I would need to create several borders
an idea of the code would be the following:
The above is an example and it does not work
I was looking for a way to make a player with some permission can not leave an area of the world.
For example: Let the center of the area be x: 0 z: 0 and that the players can not cross a border of 100x100.
I know there are plugins to create a SINGLE border but I would need to create several borders
an idea of the code would be the following:
code_language.skript:
on any movement:
if player doesn't has permission "border.100":
#if the player is outside the border 100:
#teleport the player to x: 0 z: 0
The above is an example and it does not work