#Spawn/Area protection script [1.20.40+]

1 messages · Page 1 of 1 (latest)

amber cave
#

i just created a simple spawn/area protection script and i decided to share.bao_icon_scripting

#

it has a simple admin and area whitelist system

#

note: is for preview version 1.20.40+

edgy flame
#

@split warren

edgy flame
amber cave
#

still in preview

edgy flame
#

aha
great work

amber cave
#

thx

edgy flame
#

np

split warren
#

@edgy flame att nchof had l3alam

#

@amber cave Does it support the protection of many areas?

edgy flame
split warren
split warren
# amber cave English pls?

I am trying to create a Land claim addon so that when the player hits a specific entity, an area is selected where only the owner of the area can break or place blocks. I thought your script would be useful to me, but I did not understand it : )

split warren
#

I have a question how the player select his area ? @amber cave

split warren
amber cave
#
import { ProtectedAreas } from "./ProtectedAreaHandler";

const protectedAreas = new ProtectedAreas();

protectedAreas.setArea({
  name: "Test3",
  from: new Vector(0, -64, 0),
  to: new Vector(30, -50, 30),
});
split warren
#

Ehaaaaa thank you bro ❤️‍🩹🫶

amber cave
#

Spawn/Area protection script [1.20.40+]

split warren
#

@amber cave

#

Another question bro

amber cave
#

hm

split warren
#

In your script, does it prevent a player from uniting his area if it is inside another player's area?

amber cave
#

hm, it just prevent players to place/brake blocks if a area is defined and the player is not in the area whitelist

#

areas have no owner, just players in whitelist

split warren
#

: ) then the players can take the area of another Players

amber cave
split warren
#

I think you don't understand me

#

The player made an area what well happen if another player come to the same area and try to make another area

amber cave
amber cave