Skript düzenliyorum yardım on join

Mineoflegends

mineoflegend.rabisu.net
En iyi cevaplar
0
Upppsss! Permission eklemeyi unutmuşum.

Kod:
command /v-kazma:
    trigger:
        if player is an op:
            give 1 diamond pickaxe named "&8[-&7> &6&lVIP Kazması &7<&8-]" with lore "||&8> &aSadece VIP'ler kullanabilir!" to player
            send "&8> &aKazma verildi!"

on break:
    if player has "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            uncancel event
    if player hasn't "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            send "&8> &cYalnızca VIP'ler bu eşyayı kullanabilir!"
            cancel event

on rightclick with diamond pickaxe:
    if player has "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            uncancel event
    if player hasn't "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            cancel event
            send "&8> &cYalnızca VIP'ler bu eşyayı kullanabilir!"
abi benim belirlediğim isimli mesela 1 tane lore ekleyip [vip özel] yazacağım ama oyun içinden o kazma viplere özel olcak lore göre komutsuz

Upppsss! Permission eklemeyi unutmuşum.

Kod:
command /v-kazma:
    trigger:
        if player is an op:
            give 1 diamond pickaxe named "&8[-&7> &6&lVIP Kazması &7<&8-]" with lore "||&8> &aSadece VIP'ler kullanabilir!" to player
            send "&8> &aKazma verildi!"

on break:
    if player has "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            uncancel event
    if player hasn't "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            send "&8> &cYalnızca VIP'ler bu eşyayı kullanabilir!"
            cancel event

on rightclick with diamond pickaxe:
    if player has "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            uncancel event
    if player hasn't "kazma.vip":
        if tool's name is "&8[-&7> &6&lVIP Kazması &7<&8-]":
            cancel event
            send "&8> &cYalnızca VIP'ler bu eşyayı kullanabilir!"
Çalışmıyor Hocam bu
 

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
abi benim belirlediğim isimli mesela 1 tane lore ekleyip [vip özel] yazacağım ama oyun içinden o kazma viplere özel olcak lore göre komutsuz


Çalışmıyor Hocam bu
abi benim belirlediğim isimli mesela 1 tane lore ekleyip [vip özel] yazacağım ama oyun içinden o kazma viplere özel olcak lore göre komutsuz


Çalışmıyor Hocam bu

Bunu dene;
Vipe özel yapmak istediğin kazmayı eline alıp /uygula yazman gerek.

PHP:
every 2 seconds:
    loop all players:
        if loop-player have a pickaxe with lore "[Vip Özel]":
            if loop-player doesn't have the permission "vip":
                remove all pickaxe with lore "[Vip Özel]" from loop-player
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
 

Mineoflegends

mineoflegend.rabisu.net
En iyi cevaplar
0
Bunu dene;
Vipe özel yapmak istediğin kazmayı eline alıp /uygula yazman gerek.

PHP:
every 2 seconds:
    loop all players:
        if loop-player have a pickaxe with lore "[Vip Özel]":
            if loop-player doesn't have the permission "vip":
                remove all pickaxe with lore "[Vip Özel]" from loop-player
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
hocam bunu unevent ile yapabilirimisiniz vip özel değilse adı un event olurmu yani ?

Bunu dene;
Vipe özel yapmak istediğin kazmayı eline alıp /uygula yazman gerek.

PHP:
every 2 seconds:
    loop all players:
        if loop-player have a pickaxe with lore "[Vip Özel]":
            if loop-player doesn't have the permission "vip":
                remove all pickaxe with lore "[Vip Özel]" from loop-player
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
bunda item siliniyor silmesin sadece yaptığı eventi iptal etsin

Bunu dene;
Vipe özel yapmak istediğin kazmayı eline alıp /uygula yazman gerek.

PHP:
every 2 seconds:
    loop all players:
        if loop-player have a pickaxe with lore "[Vip Özel]":
            if loop-player doesn't have the permission "vip":
                remove all pickaxe with lore "[Vip Özel]" from loop-player
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
bir şey daha bu setlerde ve kılıçta işe yararmı hocam ben bunu viplere edit yaptım onu normal oyuncular kullanamsın diye yapıyorum itemleri yani
 

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
hocam bunu unevent ile yapabilirimisiniz vip özel değilse adı un event olurmu yani ?


bunda item siliniyor silmesin sadece yaptığı eventi iptal etsin


bir şey daha bu setlerde ve kılıçta işe yararmı hocam ben bunu viplere edit yaptım onu normal oyuncular kullanamsın diye yapıyorum itemleri yani

Envanterinde kalsın ama kullanamasın diyorsunuz yani?
şu an işe yaramaz ama değiştiririm ona göre.
 

Mineoflegends

mineoflegend.rabisu.net
En iyi cevaplar
0

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
kullanamasın viplere satsın filan alırsa sadece kilitli olsun hocam


Oluyormu hocam
Her yoldu denedim bulşamıyorumm bunu :(

PHP:
on break:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on leftclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on rightclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."

Bunu deneyin.
 

Mineoflegends

mineoflegend.rabisu.net
En iyi cevaplar
0
PHP:
on break:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on leftclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on rightclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
Bunu deneyin.
Allah ney istiyorsnaız versin hocam allah razı olsunnnn :)

PHP:
on break:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on leftclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
on rightclick:
    if lore of player's tool contains "[Vip Özel]":
        if player doesn't have the permission "vip":
            cancel event
command /uygula:
    permission: op
    trigger:
        set tool of player's lore to "[Vip Özel]"
        send "&aBaşarılı."
hocam bu sette nasıl olcak

Bunu deneyin.
 
Üst