Hello there,
I need a little help with my one block skript. I need island protect code.
Idk how to code it.
There is a create command to implement variables for island protect.
Protect for owner of island and player's on his island.
How to block grief on island for other players please ? Without Residence or region.
Thx for any help.
I need a little help with my one block skript. I need island protect code.
Idk how to code it.
There is a create command to implement variables for island protect.
Code:
if arg-1 is "create":
if {ob.%player%} is false:
if {obhome.%player%} is not set:
set {ob.%player%} to true
teleport player to {obsvet}
set {_xob} to random integer between 0 and 25000
set {_yob} to 100
set {_zob} to random integer between -0 and -25000
set {_locationob} to location at {_xob}, {_yob}, {_zob}
teleport player to {_locationob}
set block under player to podzol
set {oblevel::%player%} to 1
set {obxp.%player%} to 0
set {obxpup.%player%} to 100
set {obukolwb.%player%} to true
set {obhome.%player%} to location of player
give 1 oak sapling to player
play "ENTITY_EXPERIENCE_ORB_PICKUP" to player at volume 1
send title "{@ob}" with subtitle "&aVítej na svém OneBlocku" to player for 3 seconds
else:
send "{@ob} Již ostrov vlastníš."
else:
send "{@ob} Již ostrov vlastníš."
How to block grief on island for other players please ? Without Residence or region.
Thx for any help.