Hepinize merhaba ! Uzun zamandır yoktum, kısa sürede 1 skript yazdım nasıl birşey mi ? -/toplama Menüsünü açarak oyuncular yerden eşya toplayabilirmi toplayamazmı onu ayarlayabilirsiniz.
NOT :
Böyle kendi istediğiniz dünyaya veya direk bütün koddaki gibi bütün dünyada item almayı engelleyebilirsiniz.
Fotoğraflar :
Kod :
NOT :
PHP:
on pickup:
if player don't have the permission "topla.admin}":
world is "DunyaNick":
{topla} is true:
send "&a&l Yetkili birisi item toplamayi kapatmis."
cancel event
Fotoğraflar :
Kod :
PHP:
command /toplama:
permission: toplama.menu
permission message: &3&lToplama &8» gerekli yetkin yok toplama.menu
trigger:
wait 2 ticks
play raw sound "random.orb" at player with pitch 1 volume 5
open chest with 1 row named "&a&lToplama Menusu" to player
format slot 2 of player with red wool named "&6Kapat" with lore "&cToplama Kapanir!" to close then run [execute player command "topla1"]
format slot 6 of player with green wool named "&6Ac" with lore "&aToplama Acilir!" to close then run [execute player command "topla2"]
command /topla1:
permission: toplama.kapat
permission message: &3&lToplama &8» gerekli yetkin yok toplama.kapat
trigger:
set {topla} to true
send "&3&lToplama &8» &aItem toplamayi engelledin"
command /topla2:
permission: toplama.ac
permission message: &3&lToplama &8» gerekli yetkin yok toplama.ac
trigger:
set {topla} to false
send "&3&lToplama &8» &aItem toplamayi actin"
on pickup:
if player don't have the permission "topla.admin}":
{topla} is true:
send "&a&l Yetkili birisi item toplamayi kapatmis."
cancel event
BENDEN İZİNSİZ HİÇBİR FORUMDA PAYLAŞMAYIN !
Son düzenleme:
