Sol Reklam

Geliştiriciler sahaya

Durum
Mesaj gönderimine kapalı.

Foxx470708

Bir Kömür Göründü Kaptanım!

Discord:

AkuYoh#0616

Katılım
15 Mart 2015
Mesajlar
152
Elmaslar
67
Puanlar
0
Yaş
26
Yer
turkey istanbul
Minecraft
RoocerTR
Herkese merhabalar. Bilerek optimizasyon sağlamaması için ve daha kolay anlaşılır olması için net yazımlarla süsledim.
Mantığı basit bir çantan var ve çantadaki örneğin taş alma kapasiten 50 ve sen satmadığın sürece çantanda 50 taş bulunmaktır.

Daha açık konuşulması gerekir ise ben böyle bir proje tasarladım. bunu düzenleyip temize çekebilecek arkadaşlar için sadece.
uzun bir süre tekrardan foruma gireceğimi sanmadığımdan ötürü. hazırlayacak arkadaş bana discord veya skype üzerinden ulaştırırsa memnun olurum
Sürüm Uyum
1.8+ api
skype foxx470708
discord roocertr#0616


PlA4QO.jpg

gODzXO.jpg

9m38GN.jpg



Kod:
on break of stone:
    cancel event
    add 1 to {tas::%player%}
    if player has the permission "stone.1":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f40" to player
        if {tas::%player%} is 51:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&450" to player
            stop
    if player has the permission "stone.2":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f100" to player
        if {tas::%player%} is 101:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&4100" to player
            stop
    if player has the permission "stone.3":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f500" to player
        if {tas::%player%} is 501:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&4500" to player
            stop
    if player has the permission "stone.4":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f2000" to player
        if {tas::%player%} is 2001:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&42000" to player
            stop
    if player has the permission "stone.5":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f5000" to player
        if {tas::%player%} is 5001:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&45000" to player
            stop
    set block to air
    wait 3 seconds
    set block to stone
on break of 4:
    add 1 to {kirktas::%player%}
    if player has the permission "cobblestone.1":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f40" to player
        if {kirktas::%player%} is 51:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&450" to player
            stop
    if player has the permission "cobblestone.2":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f100" to player
        if {kirktas::%player%} is 101:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&4100" to player
            stop
    if player has the permission "cobblestone.3":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f500" to player
        if {kirktas::%player%} is 501:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&4500" to player
            stop
    if player has the permission "cobblestone.4":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f2000" to player
        if {kirktas::%player%} is 2001:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&42000" to player
            stop
    if player has the permission "cobblestone.5":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f5000" to player
        if {kirktas::%player%} is 5001:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&45000" to player
            stop
on break of 12:
    add 1 to {kum::%player%}
    if player has the permission "Sand.1":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f40" to player
        if {kum::%player%} is 51:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&450" to player
            stop
    if player has the permission "Sand.2":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f100" to player
        if {kum::%player%} is 101:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&4100" to player
            stop
    if player has the permission "Sand.3":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f500" to player
        if {kum::%player%} is 501:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&4500" to player
            stop
    if player has the permission "Sand.4":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f2000" to player
        if {kum::%player%} is 2001:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&42000" to player
            stop
    if player has the permission "Sand.5":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f5000" to player
        if {kum::%player%} is 5001:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&45000" to player
            stop
on break of 80:
    add 1 to {Kar::%player%}
    if player has the permission "Snow.1":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f40" to player
        if {Kar::%player%} is 51:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&450" to player
            stop
    if player has the permission "Snow.2":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f100" to player
        if {Kar::%player%} is 101:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&4100" to player
            stop
    if player has the permission "Snow.3":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f500" to player
        if {Kar::%player%} is 501:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&4500" to player
            stop
    if player has the permission "Snow.4":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f2000" to player
        if {Kar::%player%} is 2001:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&42000" to player
            stop
    if player has the permission "Snow.5":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f5000" to player
        if {Kar::%player%} is 5001:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&45000" to player
            stop
on break of 17:
    add 1 to {Odun::%player%}
    if player has the permission "Log.1":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f40" to player
        if {Odun::%player%} is 51:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&450" to player
            stop
    if player has the permission "Log.2":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f100" to player
        if {Odun::%player%} is 101:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&4100" to player
            stop
    if player has the permission "Log.3":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f500" to player
        if {Odun::%player%} is 501:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&4500" to player
            stop
    if player has the permission "Log.4":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f2000" to player
        if {Odun::%player%} is 2001:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&42000" to player
            stop
    if player has the permission "Log.5":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f5000" to player
        if {Odun::%player%} is 5001:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&45000" to player
            stop
on break of 3 or 2:
    add 1 to {Toprak::%player%}
    if player has the permission "Dirt.1":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f40" to player
        if {Toprak::%player%} is 51:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&450" to player
            stop
    if player has the permission "Dirt.2":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f100" to player
        if {Toprak::%player%} is 101:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&4100" to player
            stop
    if player has the permission "Dirt.3":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f500" to player
        if {Toprak::%player%} is 501:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&4500" to player
            stop
    if player has the permission "Dirt.4":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f2000" to player
        if {Toprak::%player%} is 2001:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&42000" to player
            stop
    if player has the permission "Dirt.5":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f5000" to player
        if {Toprak::%player%} is 5001:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&45000" to player
            stop
command /canta:
    trigger:
        wait 2 ticks
        open chest with 5 row named "&4Edventer" to player
        format slot 36 of player with 351:10 named "&a&lKilit aç" with lore "&6Para karşılığı satın alırsın." to close then run "cantakilit %player%"
        format slot 37 of player with 351:13 named "&a&lŞans Kartı" with lore "&7[&b+&7]&e&nBilgi&r &63 Şans Anahtarı ile ||&61 çekiliş yapma hakkı kazanırsın. ||&c&lUYARI &cYanma ihtimali vardır." to be unstealable
        format slot 40 of player with player's skull named "&a%player%" to close then run "cantasifir %player%"
        format slot 35 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 27 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 28 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 29 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 30 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 31 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 32 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 33 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 34 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 0 of player with red stained glass pane named "&4&oTAŞ" with lore "&c&okilitli" to be unstealable
        format slot 1 of player with red stained glass pane named "&4&oKIRIK TAŞ" with lore "&c&okilitli" to be unstealable
        format slot 2 of player with red stained glass pane named "&4&oKUM" with lore "&c&okilitli" to be unstealable
        format slot 3 of player with red stained glass pane named "&4&oKAR" with lore "&c&okilitli" to be unstealable
        format slot 4 of player with red stained glass pane named "&4&oODUN" with lore "&c&okilitli" to be unstealable
        format slot 5 of player with red stained glass pane named "&4&oTOPRAK" with lore "&c&okilitli" to be unstealable
        wait 2 ticks
        if player has permission "stone.1":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/50 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.2":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/100 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.3":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/500 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.4":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/2000 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.5":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/5000 || ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "cobblestone.1":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/50" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.2":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/100" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.3":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/500" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.4":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/2000" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.5":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/5000" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "Sand.1":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/50" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.2":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/100" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.3":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/500" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.4":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/2000" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.5":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/5000" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Snow.1":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/50" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.2":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/100" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.3":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/500" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.4":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/2000" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.5":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/5000" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Log.1":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/50" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.2":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/100" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.3":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/500" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.4":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/2000" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.5":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/5000" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Dirt.1":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/50" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.2":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/100" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.3":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/500" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.4":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/2000" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.5":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/5000" to close then run "canta2 Dirt %player% Toprak Toprak"
command /cantakilit [<player>] [<text>] [<text>]:
    executable by: console
    trigger:
        wait 3 ticks
        open chest with 1 rows named "&c&lYüklü TL: &8&l\&e&l&n%{level.roocer::%player%}%&8&l/" to arg 1
        format slot 0 of arg 1 with 1 named "&a&lTAŞ" with lore "&6&lTaş ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v1"
        format slot 1 of arg 1 with 4 named "&a&lKIRIK TAŞ" with lore "&6&lKırık Taş ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v2"
        format slot 2 of arg 1 with 12 named "&a&lKUM" with lore "&6&lKum ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v3"
        format slot 3 of arg 1 with 80 named "&a&lKAR" with lore "&6&lKar ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v4"
        format slot 4 of arg 1 with 17 named "&a&lODUN" with lore "&6&lOdun ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v5"
        format slot 5 of arg 1 with 3 named "&a&lTOPRAK" with lore "&6&lToprak ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v6"
command /cantamarket [<player>] [<integer>] [<text>] [<text>]:
    executable by: console
    trigger:
        set {_price} to argument 2
        if {_price} is greater than {level.Roocer::%argument 1%}:
            message "&cBunun için levelin yetmiyor!" to argument 1
            stop trigger
        else:
            if argument 3 is "v1":
                execute console command "/manuaddp %argument 1% tas.1"
                send "&c&lTPP&8» &6Taş Özelliğini açtın" to arg-1
            if argument 3 is "v2":
                execute console command "/manuaddp %argument 1% kirktas.1"
                send "&c&lTPP&8» &6Kırık Taş Özelliğini açtın" to arg-1
            if argument 3 is "v3":
                execute console command "/manuaddp %argument 1% Kum.1"
                send "&c&lTPP&8» &6Kum Özelliğini açtın" to arg-1
            if argument 3 is "v4":
                execute console command "/manuaddp %argument 1% Kar.1"
                send "&c&lTPP&8» &6Kar Özelliğini açtın" to arg-1
            if argument 3 is "v5":
                execute console command "/manuaddp %argument 1% Odun.1"
                send "&c&lTPP&8» &6Kütük Özelliğini açtın" to arg-1
            if argument 3 is "v6":
                execute console command "/manuaddp %argument 1% Toprak.1"
                send "&c&lTPP&8» &6Toprak Özelliğini açtın" to arg-1
            if argument 3 is "tt1":
                execute console command "/manuaddp %argument 1% level.1.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt2":
                execute console command "/manuaddp %argument 1% level.2.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt3":
                execute console command "/manuaddp %argument 1% level.3.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt4":
                execute console command "/manuaddp %argument 1% level.4.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt5":
                execute console command "/manuaddp %argument 1% level.5.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.5"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.1"

command /canta2 [<item>] [<player>] [<text>] [<text>]:
    executable by: console
    trigger:
        wait 3 ticks
        open chest with 2 rows named "&4%arg 4% Menüsü" to arg 2
        format slot 4 of arg-2 with shiny arg 1 named "&8[&b+&8]&eBilgilendirme" with lore "&9Miktar: %{%arg 4%::%player%}% ||&9Tür: %arg-4%" to be unstealable
        format slot 9 of arg-2 with shiny 264 named "&a&lYÜKSELT" with lore "&9[+]Bilgi ||&bÇanta Kapasitesi Artar ||&e-----&6>>" to act unstealable
        if player has permission "level.1.canta":
            format slot 10 of player with 328 named "&a&l1. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 10 of arg-2 with 342 named "&a&lSeviye 1" with lore "&e&l%arg-4% ||&b50 limit" to close then run "cantamarket %arg-2% 1 tt1 %arg-1%"
        if player has permission "level.2.canta":
            format slot 11 of player with 328 named "&a&l2. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 11 of arg-2 with 342 named "&a&lSeviye 2" with lore "&e&l%arg-4% ||&b100 limit" to close then run "cantamarket %arg-2% 1 tt5 %arg-1%"
        if player has permission "level.3.canta":
            format slot 12 of player with 328 named "&a&l3. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 12 of arg-2 with 342 named "&a&lSeviye 3" with lore "&e&l%arg-4% ||&b500 limit" to close then run "cantamarket %arg-2% 1 tt3 %arg-1%"
        if player has permission "level.4.canta":
            format slot 13 of player with 328 named "&a&l4. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 13 of arg-2 with 342 named "&a&lSeviye 4" with lore "&e&l%arg-4% ||&b2000 limit" to close then run "cantamarket %arg-2% 1 tt4 %arg-1%"
        if player has permission "level.5.canta":
            format slot 14 of player with 328 named "&a&l5. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 14 of arg-2 with 342 named "&a&lSeviye 5" with lore "&e&l%arg-4% ||&b5000 limit" to close then run "cantamarket %arg-2% 15 tt5 %arg-1%"
 
Son düzenleme:

Cylonce

El truco está en hablar menos y demostrar mas.

Discord:

Cylonce#4109

Katılım
30 Aralık 2017
Mesajlar
1.501
Elmaslar
2.024
Puanlar
0
Minecraft
Cylonce
Herkese merhabalar. Bilerek optimizasyon sağlamaması için ve daha kolay anlaşılır olması için net yazımlarla süsledim.
Mantığı basit bir çantan var ve çantadaki örneğin taş alma kapasiten 50 ve sen satmadığın sürece çantanda 50 taş bulunmaktır.

Daha açık konuşulması gerekir ise ben böyle bir proje tasarladım. bunu düzenleyip temize çekebilecek arkadaşlar için sadece.
uzun bir süre tekrardan foruma gireceğimi sanmadığımdan ötürü. hazırlayacak arkadaş bana discord veya skype üzerinden ulaştırırsa memnun olurum
skype foxx470708
discord roocertr


PlA4QO.jpg

gODzXO.jpg

9m38GN.jpg



Kod:
on break of stone:
    cancel event
    add 1 to {tas::%player%}
    if player has the permission "stone.1":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f40" to player
        if {tas::%player%} is 51:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&450" to player
            stop
    if player has the permission "stone.2":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f100" to player
        if {tas::%player%} is 101:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&4100" to player
            stop
    if player has the permission "stone.3":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f500" to player
        if {tas::%player%} is 501:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&4500" to player
            stop
    if player has the permission "stone.4":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f2000" to player
        if {tas::%player%} is 2001:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&42000" to player
            stop
    if player has the permission "stone.5":
        send action bar from "&6&lTaş &f> &f%{tas::%player%}%&c/&f5000" to player
        if {tas::%player%} is 5001:
            send "&c&lTPP &8» &bTaş &6Çantası dolu."
            remove 10 from {tas::%player%}
            send action bar from "&4&lTaş &4> &4%{tas::%player%}%&c/&45000" to player
            stop
    set block to air
    wait 3 seconds
    set block to stone
on break of 4:
    add 1 to {kirktas::%player%}
    if player has the permission "cobblestone.1":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f40" to player
        if {kirktas::%player%} is 51:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&450" to player
            stop
    if player has the permission "cobblestone.2":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f100" to player
        if {kirktas::%player%} is 101:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&4100" to player
            stop
    if player has the permission "cobblestone.3":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f500" to player
        if {kirktas::%player%} is 501:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&4500" to player
            stop
    if player has the permission "cobblestone.4":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f2000" to player
        if {kirktas::%player%} is 2001:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&42000" to player
            stop
    if player has the permission "cobblestone.5":
        send action bar from "&6&lKırık Taş &f> &f%{kirktas::%player%}%&c/&f5000" to player
        if {kirktas::%player%} is 5001:
            send "&c&lTPP &8» &bKırık Taş &6Çantası dolu."
            remove 10 from {kirktas::%player%}
            send action bar from "&4&lKırık Taş &4> &4%{kirktas::%player%}%&c/&45000" to player
            stop
on break of 12:
    add 1 to {kum::%player%}
    if player has the permission "Sand.1":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f40" to player
        if {kum::%player%} is 51:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&450" to player
            stop
    if player has the permission "Sand.2":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f100" to player
        if {kum::%player%} is 101:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&4100" to player
            stop
    if player has the permission "Sand.3":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f500" to player
        if {kum::%player%} is 501:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&4500" to player
            stop
    if player has the permission "Sand.4":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f2000" to player
        if {kum::%player%} is 2001:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&42000" to player
            stop
    if player has the permission "Sand.5":
        send action bar from "&6&lKum &f> &f%{kum::%player%}%&c/&f5000" to player
        if {kum::%player%} is 5001:
            send "&c&lTPP &8» &bKum &6Çantası dolu."
            remove 10 from {kum::%player%}
            send action bar from "&4&lKum &4> &4%{kum::%player%}%&c/&45000" to player
            stop
on break of 80:
    add 1 to {Kar::%player%}
    if player has the permission "Snow.1":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f40" to player
        if {Kar::%player%} is 51:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&450" to player
            stop
    if player has the permission "Snow.2":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f100" to player
        if {Kar::%player%} is 101:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&4100" to player
            stop
    if player has the permission "Snow.3":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f500" to player
        if {Kar::%player%} is 501:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&4500" to player
            stop
    if player has the permission "Snow.4":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f2000" to player
        if {Kar::%player%} is 2001:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&42000" to player
            stop
    if player has the permission "Snow.5":
        send action bar from "&6&lKar &f> &f%{Kar::%player%}%&c/&f5000" to player
        if {Kar::%player%} is 5001:
            send "&c&lTPP &8» &bKar &6Çantası dolu."
            remove 10 from {Kar::%player%}
            send action bar from "&4&lKar &4> &4%{Kar::%player%}%&c/&45000" to player
            stop
on break of 17:
    add 1 to {Odun::%player%}
    if player has the permission "Log.1":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f40" to player
        if {Odun::%player%} is 51:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&450" to player
            stop
    if player has the permission "Log.2":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f100" to player
        if {Odun::%player%} is 101:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&4100" to player
            stop
    if player has the permission "Log.3":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f500" to player
        if {Odun::%player%} is 501:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&4500" to player
            stop
    if player has the permission "Log.4":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f2000" to player
        if {Odun::%player%} is 2001:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&42000" to player
            stop
    if player has the permission "Log.5":
        send action bar from "&6&lOdun &f> &f%{Odun::%player%}%&c/&f5000" to player
        if {Odun::%player%} is 5001:
            send "&c&lTPP &8» &bOdun &6Çantası dolu."
            remove 10 from {Odun::%player%}
            send action bar from "&4&lOdun &4> &4%{Odun::%player%}%&c/&45000" to player
            stop
on break of 3 or 2:
    add 1 to {Toprak::%player%}
    if player has the permission "Dirt.1":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f40" to player
        if {Toprak::%player%} is 51:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&450" to player
            stop
    if player has the permission "Dirt.2":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f100" to player
        if {Toprak::%player%} is 101:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&4100" to player
            stop
    if player has the permission "Dirt.3":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f500" to player
        if {Toprak::%player%} is 501:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&4500" to player
            stop
    if player has the permission "Dirt.4":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f2000" to player
        if {Toprak::%player%} is 2001:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&42000" to player
            stop
    if player has the permission "Dirt.5":
        send action bar from "&6&lToprak &f> &f%{Toprak::%player%}%&c/&f5000" to player
        if {Toprak::%player%} is 5001:
            send "&c&lTPP &8» &bToprak &6Çantası dolu."
            remove 10 from {Toprak::%player%}
            send action bar from "&4&lToprak &4> &4%{Toprak::%player%}%&c/&45000" to player
            stop
command /canta:
    trigger:
        wait 2 ticks
        open chest with 5 row named "&4Edventer" to player
        format slot 36 of player with 351:10 named "&a&lKilit aç" with lore "&6Para karşılığı satın alırsın." to close then run "cantakilit %player%"
        format slot 37 of player with 351:13 named "&a&lŞans Kartı" with lore "&7[&b+&7]&e&nBilgi&r &63 Şans Anahtarı ile ||&61 çekiliş yapma hakkı kazanırsın. ||&c&lUYARI &cYanma ihtimali vardır." to be unstealable
        format slot 40 of player with player's skull named "&a%player%" to close then run "cantasifir %player%"
        format slot 35 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 27 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 28 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 29 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 30 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 31 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 32 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 33 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 34 of player with gray stained glass pane named " " with lore " " to be unstealable
        format slot 0 of player with red stained glass pane named "&4&oTAŞ" with lore "&c&okilitli" to be unstealable
        format slot 1 of player with red stained glass pane named "&4&oKIRIK TAŞ" with lore "&c&okilitli" to be unstealable
        format slot 2 of player with red stained glass pane named "&4&oKUM" with lore "&c&okilitli" to be unstealable
        format slot 3 of player with red stained glass pane named "&4&oKAR" with lore "&c&okilitli" to be unstealable
        format slot 4 of player with red stained glass pane named "&4&oODUN" with lore "&c&okilitli" to be unstealable
        format slot 5 of player with red stained glass pane named "&4&oTOPRAK" with lore "&c&okilitli" to be unstealable
        wait 2 ticks
        if player has permission "stone.1":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/50 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.2":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/100 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.3":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/500 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.4":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/2000 || ||&cYükseltmek için ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "stone.5":
            format slot 0 of player with 1 with lore "&a%{tas::%player%}%/5000 || ||&c&ntıklayınız!" to close then run "canta2 stone %player% tas Taş"
        if player has permission "cobblestone.1":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/50" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.2":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/100" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.3":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/500" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.4":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/2000" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "cobblestone.5":
            format slot 1 of player with 4 with lore "&a%{kirktas::%player%}%/5000" to close then run "canta2 cobblestone %player% kirktas KırıkTaş"
        if player has permission "Sand.1":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/50" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.2":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/100" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.3":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/500" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.4":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/2000" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Sand.5":
            format slot 2 of player with 12 with lore "&a%{kum::%player%}%/5000" to close then run "canta2 sand %player% kum Kum"
        if player has permission "Snow.1":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/50" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.2":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/100" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.3":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/500" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.4":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/2000" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Snow.5":
            format slot 3 of player with 80 with lore "&a%{Kar::%player%}%/5000" to close then run "canta2 snow %player% Kar Kar"
        if player has permission "Log.1":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/50" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.2":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/100" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.3":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/500" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.4":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/2000" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Log.5":
            format slot 4 of player with 17 with lore "&a%{Odun::%player%}%/5000" to close then run "canta2 Log %player% Odun Odun"
        if player has permission "Dirt.1":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/50" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.2":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/100" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.3":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/500" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.4":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/2000" to close then run "canta2 Dirt %player% Toprak Toprak"
        if player has permission "Dirt.5":
            format slot 5 of player with 3 with lore "&a%{Toprak::%player%}%/5000" to close then run "canta2 Dirt %player% Toprak Toprak"
command /cantakilit [<player>] [<text>] [<text>]:
    executable by: console
    trigger:
        wait 3 ticks
        open chest with 1 rows named "&c&lYüklü TL: &8&l\&e&l&n%{level.roocer::%player%}%&8&l/" to arg 1
        format slot 0 of arg 1 with 1 named "&a&lTAŞ" with lore "&6&lTaş ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v1"
        format slot 1 of arg 1 with 4 named "&a&lKIRIK TAŞ" with lore "&6&lKırık Taş ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v2"
        format slot 2 of arg 1 with 12 named "&a&lKUM" with lore "&6&lKum ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v3"
        format slot 3 of arg 1 with 80 named "&a&lKAR" with lore "&6&lKar ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v4"
        format slot 4 of arg 1 with 17 named "&a&lODUN" with lore "&6&lOdun ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v5"
        format slot 5 of arg 1 with 3 named "&a&lTOPRAK" with lore "&6&lToprak ||&8&l*&c-&bKazı yapmana izin verir ||&8&l*&c- &bYükseltme yapabilirsin || ||&5&l10 TL" to close then run "cantamarket %arg 1% 10 v6"
command /cantamarket [<player>] [<integer>] [<text>] [<text>]:
    executable by: console
    trigger:
        set {_price} to argument 2
        if {_price} is greater than {level.Roocer::%argument 1%}:
            message "&cBunun için levelin yetmiyor!" to argument 1
            stop trigger
        else:
            if argument 3 is "v1":
                execute console command "/manuaddp %argument 1% tas.1"
                send "&c&lTPP&8» &6Taş Özelliğini açtın" to arg-1
            if argument 3 is "v2":
                execute console command "/manuaddp %argument 1% kirktas.1"
                send "&c&lTPP&8» &6Kırık Taş Özelliğini açtın" to arg-1
            if argument 3 is "v3":
                execute console command "/manuaddp %argument 1% Kum.1"
                send "&c&lTPP&8» &6Kum Özelliğini açtın" to arg-1
            if argument 3 is "v4":
                execute console command "/manuaddp %argument 1% Kar.1"
                send "&c&lTPP&8» &6Kar Özelliğini açtın" to arg-1
            if argument 3 is "v5":
                execute console command "/manuaddp %argument 1% Odun.1"
                send "&c&lTPP&8» &6Kütük Özelliğini açtın" to arg-1
            if argument 3 is "v6":
                execute console command "/manuaddp %argument 1% Toprak.1"
                send "&c&lTPP&8» &6Toprak Özelliğini açtın" to arg-1
            if argument 3 is "tt1":
                execute console command "/manuaddp %argument 1% level.1.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt2":
                execute console command "/manuaddp %argument 1% level.2.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt3":
                execute console command "/manuaddp %argument 1% level.3.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt4":
                execute console command "/manuaddp %argument 1% level.4.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.1"
                execute console command "/manudelp %argument 1% %arg-4%.5"
            if argument 3 is "tt5":
                execute console command "/manuaddp %argument 1% level.5.canta"
                execute console command "/manuaddp %argument 1% %arg-4%.5"
                execute console command "/manudelp %argument 1% %arg-4%.2"
                execute console command "/manudelp %argument 1% %arg-4%.3"
                execute console command "/manudelp %argument 1% %arg-4%.4"
                execute console command "/manudelp %argument 1% %arg-4%.1"

command /canta2 [<item>] [<player>] [<text>] [<text>]:
    executable by: console
    trigger:
        wait 3 ticks
        open chest with 2 rows named "&4%arg 4% Menüsü" to arg 2
        format slot 4 of arg-2 with shiny arg 1 named "&8[&b+&8]&eBilgilendirme" with lore "&9Miktar: %{%arg 4%::%player%}% ||&9Tür: %arg-4%" to be unstealable
        format slot 9 of arg-2 with shiny 264 named "&a&lYÜKSELT" with lore "&9[+]Bilgi ||&bÇanta Kapasitesi Artar ||&e-----&6>>" to act unstealable
        if player has permission "level.1.canta":
            format slot 10 of player with 328 named "&a&l1. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 10 of arg-2 with 342 named "&a&lSeviye 1" with lore "&e&l%arg-4% ||&b50 limit" to close then run "cantamarket %arg-2% 1 tt1 %arg-1%"
        if player has permission "level.2.canta":
            format slot 11 of player with 328 named "&a&l2. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 11 of arg-2 with 342 named "&a&lSeviye 2" with lore "&e&l%arg-4% ||&b100 limit" to close then run "cantamarket %arg-2% 1 tt5 %arg-1%"
        if player has permission "level.3.canta":
            format slot 12 of player with 328 named "&a&l3. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 12 of arg-2 with 342 named "&a&lSeviye 3" with lore "&e&l%arg-4% ||&b500 limit" to close then run "cantamarket %arg-2% 1 tt3 %arg-1%"
        if player has permission "level.4.canta":
            format slot 13 of player with 328 named "&a&l4. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 13 of arg-2 with 342 named "&a&lSeviye 4" with lore "&e&l%arg-4% ||&b2000 limit" to close then run "cantamarket %arg-2% 1 tt4 %arg-1%"
        if player has permission "level.5.canta":
            format slot 14 of player with 328 named "&a&l5. Seviye" with lore "&cSatın Alınmış" to act unstealable
        else:
            format slot 14 of arg-2 with 342 named "&a&lSeviye 5" with lore "&e&l%arg-4% ||&b5000 limit" to close then run "cantamarket %arg-2% 15 tt5 %arg-1%"
Güzel Skript başarılar dilerim.
İyi forumlar (:
Bi kaç istediğim skript var acaba yapar mısınız :)
Discord : Erdem[20]#4727​
 

Foxx470708

Bir Kömür Göründü Kaptanım!

Discord:

AkuYoh#0616

Katılım
15 Mart 2015
Mesajlar
152
Elmaslar
67
Puanlar
0
Yaş
26
Yer
turkey istanbul
Minecraft
RoocerTR
Güzel Skript başarılar dilerim.
İyi forumlar (:
Bi kaç istediğim skript var acaba yapar mısınız :)
Discord : Erdem[20]#4727​
çerez , dürüm ayran tadında bir script ise olumlu bakarım.
kafa yorucu ama güzel sonuçlu bir eklenti ise bana 1 designer bulman karşılığında anlaşırız ((:
 
Son düzenleme:
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı