Depth
Seçkin madenci.
- Katılım
- 18 Şubat 2019
- Mesajlar
- 27
- Tepki puanı
- 16
- Puanları
- 1,025
Bu, Blok koyulmasını ve blok kırılmasını önleyecektir. Bir PvP sunucunuz varsa sizin için bu skript faydalı olacaktır.
Kod:
options:
enable-build-command : true
variables:
{building} = true
command /build:
permission: server.allowbuild
permission message: &cHey! Bunu Yapamazsın!
trigger:
if {@enable-build-command} is true:
if {building} is false:
set {building} to true
message "&8[&l&A•&8] &7Blok Yerleştirme &4Aktif!"
else:
if {building} is true:
set {building} to false
message "&8[&l&a•&8] &7Blok Yerleştirme &4Aktif!"
else:
message "&8[&l&4•&8] &7Blok Yerleştirme &4Devre Dışı!"
set {building} to false
on place:
if {building} is false:
cancel event
on break:
if {building} is false:
cancel event