[ISTEK]Olunce Tuzaklı Sandık Çıksın

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
Merhaba Arkadaşlar Bana Adamın Öldügü Yerde Tuzaklı Sandık Çıkmasını İstiyom Normal Sandık Degil Tuzaklı Ve O Tuzaklı Sandıkta Adamın İtemleri Çıksın Bir plugin var Adı [Deathmanschest] Ama Ölünce Normal Chest Çıkıyor 5 TL lik Nitrado Parasına Yapabilecekler Skype Eklesin {ankman255}
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
Config den ayarlayabilirsin sanırım.
config şöyle
Kod:
#This is the main DeadMansChest config file
#Death Message must be false for the death message String to work!
#ChestDeleteInterval is in seconds.

#NEW! Do players need a chest in their inventory to get a death chest?
NeedChestInInventory=false
#NEW! How often, in minutes, should we save the death chests? (Set to 0 to disable)
ChestSaveInterval=5
# Should we lock chests with LWC
LWCEnabled=false
#Should the glowstone, chest and sign drop their respective items when mined?
MineableDrops=false
#Should we build a glowstone tower
BeaconEnabled=false#And how high?
BeaconHeight=10
#Should the beacon replace water/lava blocks as well or just air blocks?
BeaconReplacesLiquid=false
#Should we show a death message?
DeathMessage=false
#Put a sign on the chest with the player name?
SignOnChest=false
#If we are using LWC to lock the chest should it be a private lock or a public lock?
LWCPrivateDefault=true
#If death messages are enabled the string to display.
DeathMessageString=died. Deploying death chest.
#How long before the chest disappears and the items spill out in seconds.
ChestDeleteInterval=80
#Should we drop any items normally that don't fit into the chest, or just remove them from the world.
DropsEnabled=false#Should we delete the chests after a certain time frame?
ChestDeleteIntervalEnabled=true
#Should players be allowed to loot death chests when they sneak click on one?
# Players can only loot their own chests if LWC protection is set to private
# or to loot any chest with lwc they need the deadmanschest.loot permission node.
ChestLoot=false

#Do not change anything below this line unless you know what you are doing!
version = 0.8
 

ruddeTR

projects.gg
Emektar Üye
En iyi cevaplar
2
PHP:
options:
    Deathchest-Griefing: false

on death of player:
    victim has permission "deathchest.use"
    victim has 1 trapped chest
    block at location of player is not air:
        stop
    else:
        set block at location of victim to trapped chest
        set {deathchest::%block at location of victim%} to victim
    block east of block at location of victim is not air:
        block west of block at location of victim is not air:
            block south of block at location of victim is not air:
                block north of block at location of victim is not air:
                    stop
                else:
                    set block north of block at location of victim to trapped chest
                    set {deathchest::%block north of block at location of victim%} to victim
            else:
                set block south of block at location of victim to trapped chest
                set {deathchest::%block south of block at location of victim%} to victim
        else:
            set block west of block at location of victim to trapped chest
            set {deathchest::%block west of block at location of victim%} to victim
    else:
        set block east of block at location of victim to trapped chest
        set {deathchest::%block east of block at location of victim%} to victim
    set {_deathchest} to block at location of victim
    add inventory of victim to {_deathchest}
    add helmet of victim to {_deathchest}
    add chestplate of victim to {_deathchest}
    add leggings of victim to {_deathchest}
    add boots of victim to {_deathchest}
    clear drops
on click:
    {deathchest::%clicked block%} is set
    if {@Deathchest-Griefing} is false:
        if player is not {deathchest::%clicked block%}:
            player does not have permission "deathchest.bypass":
                message "&cBu sizin sandığınız değil."
                cancel event
                stop
    set clicked block to air
    clear {deathchest::%block west of clicked block%}
    block east of clicked block is trapped chest:
        {deathchest::%block east of clicked block%} is player
        clear {deathchest::%block east of clicked block%}
        set block east of clicked block to air
    block north of clicked block is trapped chest:
        {deathchest::%block north of clicked block%} is player
        clear {deathchest::%block north of clicked block%}
        set block north of clicked block to air
    block south of clicked block is trapped chest:
        {deathchest::%block south of clicked block%} is player
        clear {deathchest::%block south of clicked block%}
        set block south of clicked block to air
    block west of clicked block is trapped chest:
        {deathchest::%block west of clicked block%} is player
        clear {deathchest::%block west of clicked block%}
        set block west of clicked block to air
on explode:
    loop blocks in radius 5 of entity:
        {deathchest::%loop-block%} is set
        cancel event

Eğer oyunculara "deathchest.bypass" permissionunu vermezsen sandığı sadece kendisi açabilir.
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
b
PHP:
options:
    Deathchest-Griefing: false

on death of player:
    victim has permission "deathchest.use"
    victim has 1 trapped chest
    block at location of player is not air:
        stop
    else:
        set block at location of victim to trapped chest
        set {deathchest::%block at location of victim%} to victim
    block east of block at location of victim is not air:
        block west of block at location of victim is not air:
            block south of block at location of victim is not air:
                block north of block at location of victim is not air:
                    stop
                else:
                    set block north of block at location of victim to trapped chest
                    set {deathchest::%block north of block at location of victim%} to victim
            else:
                set block south of block at location of victim to trapped chest
                set {deathchest::%block south of block at location of victim%} to victim
        else:
            set block west of block at location of victim to trapped chest
            set {deathchest::%block west of block at location of victim%} to victim
    else:
        set block east of block at location of victim to trapped chest
        set {deathchest::%block east of block at location of victim%} to victim
    set {_deathchest} to block at location of victim
    add inventory of victim to {_deathchest}
    add helmet of victim to {_deathchest}
    add chestplate of victim to {_deathchest}
    add leggings of victim to {_deathchest}
    add boots of victim to {_deathchest}
    clear drops
on click:
    {deathchest::%clicked block%} is set
    if {@Deathchest-Griefing} is false:
        if player is not {deathchest::%clicked block%}:
            player does not have permission "deathchest.bypass":
                message "&cBu sizin sandığınız değil."
                cancel event
                stop
    set clicked block to air
    clear {deathchest::%block west of clicked block%}
    block east of clicked block is trapped chest:
        {deathchest::%block east of clicked block%} is player
        clear {deathchest::%block east of clicked block%}
        set block east of clicked block to air
    block north of clicked block is trapped chest:
        {deathchest::%block north of clicked block%} is player
        clear {deathchest::%block north of clicked block%}
        set block north of clicked block to air
    block south of clicked block is trapped chest:
        {deathchest::%block south of clicked block%} is player
        clear {deathchest::%block south of clicked block%}
        set block south of clicked block to air
    block west of clicked block is trapped chest:
        {deathchest::%block west of clicked block%} is player
        clear {deathchest::%block west of clicked block%}
        set block west of clicked block to air
on explode:
    loop blocks in radius 5 of entity:
        {deathchest::%loop-block%} is set
        cancel event

Eğer oyunculara "deathchest.bypass" permissionunu vermezsen sandığı sadece kendisi açabilir.
hata vermiyor ama çalışmıyorda
 

GodofMilker

Nether Yerlisi
En iyi cevaplar
0
PHP:
options:
    Deathchest-Griefing: false

on death of player:
    victim has permission "deathchest.use"
    victim has 1 trapped chest
    block at location of player is not air:
        stop
    else:
        set block at location of victim to trapped chest
        set {deathchest::%block at location of victim%} to victim
    block east of block at location of victim is not air:
        block west of block at location of victim is not air:
            block south of block at location of victim is not air:
                block north of block at location of victim is not air:
                    stop
                else:
                    set block north of block at location of victim to trapped chest
                    set {deathchest::%block north of block at location of victim%} to victim
            else:
                set block south of block at location of victim to trapped chest
                set {deathchest::%block south of block at location of victim%} to victim
        else:
            set block west of block at location of victim to trapped chest
            set {deathchest::%block west of block at location of victim%} to victim
    else:
        set block east of block at location of victim to trapped chest
        set {deathchest::%block east of block at location of victim%} to victim
    set {_deathchest} to block at location of victim
    add inventory of victim to {_deathchest}
    add helmet of victim to {_deathchest}
    add chestplate of victim to {_deathchest}
    add leggings of victim to {_deathchest}
    add boots of victim to {_deathchest}
    clear drops
on click:
    {deathchest::%clicked block%} is set
    if {@Deathchest-Griefing} is false:
        if player is not {deathchest::%clicked block%}:
            player does not have permission "deathchest.bypass":
                message "&cBu sizin sandığınız değil."
                cancel event
                stop
    set clicked block to air
    clear {deathchest::%block west of clicked block%}
    block east of clicked block is trapped chest:
        {deathchest::%block east of clicked block%} is player
        clear {deathchest::%block east of clicked block%}
        set block east of clicked block to air
    block north of clicked block is trapped chest:
        {deathchest::%block north of clicked block%} is player
        clear {deathchest::%block north of clicked block%}
        set block north of clicked block to air
    block south of clicked block is trapped chest:
        {deathchest::%block south of clicked block%} is player
        clear {deathchest::%block south of clicked block%}
        set block south of clicked block to air
    block west of clicked block is trapped chest:
        {deathchest::%block west of clicked block%} is player
        clear {deathchest::%block west of clicked block%}
        set block west of clicked block to air
on explode:
    loop blocks in radius 5 of entity:
        {deathchest::%loop-block%} is set
        cancel event

Eğer oyunculara "deathchest.bypass" permissionunu vermezsen sandığı sadece kendisi açabilir.
Her şey iyi güzel ama eşyaları kaydetmiyorsun yani eşyalar chest'e de kaydedilmiyor adama da vermiyor ?
 

ruddeTR

projects.gg
Emektar Üye
En iyi cevaplar
2
Her şey iyi güzel ama eşyaları kaydetmiyorsun yani eşyalar chest'e de kaydedilmiyor adama da vermiyor ?
Eminmisin?

PHP:
set {_deathchest} to block at location of victim
add inventory of victim to {_deathchest}
add helmet of victim to {_deathchest}
add chestplate of victim to {_deathchest}
add leggings of victim to {_deathchest}
add boots of victim to {_deathchest}
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
Ben yaparım 5 tlye
aman sen yapma be nsana 5 tl verdim yapcam dedin aynı kodu birden çok kopyala yapıştır yapıp durdur[DOUBLEPOST=1415210199,1415210167][/DOUBLEPOST]
Eminmisin?

PHP:
set {_deathchest} to block at location of victim
add inventory of victim to {_deathchest}
add helmet of victim to {_deathchest}
add chestplate of victim to {_deathchest}
add leggings of victim to {_deathchest}
add boots of victim to {_deathchest}
rudde skype gelsene benim sw de deniyelim ben yapamadım skype : ankman255
 

GodofMilker

Nether Yerlisi
En iyi cevaplar
0
Eminmisin?

PHP:
set {_deathchest} to block at location of victim
add inventory of victim to {_deathchest}
add helmet of victim to {_deathchest}
add chestplate of victim to {_deathchest}
add leggings of victim to {_deathchest}
add boots of victim to {_deathchest}
{_deathchest}'i değiştiriyorsun oyuncunun envanterini veya chest'i değil.
 

Secret_wither

Bedrock Kaşifi
En iyi cevaplar
0
aman sen yapma be nsana 5 tl verdim yapcam dedin aynı kodu birden çok kopyala yapıştır yapıp durdur[DOUBLEPOST=1415210199,1415210167][/DOUBLEPOST]
rudde skype gelsene benim sw de deniyelim ben yapamadım skype : ankman255
Kardeşim ben sana aynı kodu vermedim. Kodda birkaç şeyi değiştirdim. Sende skript bilmedeiğin için tabi bunu anlamadın.
 
Üst