Survival sunucular için claim market skript'i

ThunderEfe

Moderatör
Moderatör
Katılım
11 Nisan 2020
Mesajlar
128
Tepkime puanı
52
Puanları
50
Madalyalar
2
  • Konu Kaşifi
  • Emektar
Merhaba,
Bugün size Claim Market Skript'ini tanıtacağım.




Kod:
options:
    prefix: &8[&a&l!&8]

command /claimmarket:
    usage: &7/claimmarket
    trigger:
        open chest with 1 rows named "&8Claim Market" to player   
        format slot 0 of player with golden_shovel named "&fMiktar: &e75 Claim" with lore "&fFiyat: &e20K" to close then run [execute player command "/claimsatinal claim1"]
        format slot 3 of player with golden_shovel named "&fMiktar: &e150 Claim" with lore "&fFiyat: &e40K" to close then run [execute player command "/claimsatinal claim2"]
        format slot 5 of player with golden_shovel named "&fMiktar: &e300 Claim" with lore "&fFiyat: &e80K" to close then run [execute player command "/claimsatinal claim3"]
        format slot 8 of player with golden_shovel named "&fMiktar: &e425 Claim" with lore "&fFiyat: &e110K" to close then run [execute player command "/claimsatinal claim4"]
    
command /claimsatinal [<text>]:
    trigger:
        if arg-1 is not set:
            send "" to player
            send "" to player
            send "{@prefix} &eClaim Market /claimmarket komutunu kullanmalisin." to player
            send "" to player
            send "" to player
        if arg-1 is not "claim1" or "claim2" or "claim3" or "claim4":
            send "" to player
            send "" to player
            send "{@prefix} &eClaim Market /claimmarket komutunu kullanmalisin." to player
            send "" to player
        if arg-1 is "claim1":
            if player's balance is bigger than or equal to 20000:
                execute console command "eco take %player% 20000"
                execute console command "/AdjustBonusClaimBlocks %player% 75"
                send "" to player
                send "" to player
                send "{@prefix} &620.000 &fkarsiliginda &e75 claim blogu &faldin!" to player
                send "" to player
                send "" to player
            else:
                send "{@prefix} &fYeterli paran yok! &8[&6Gerekli para &f= &e20.000&8]" to player
        if arg-1 is "claim2":
            if player's balance is bigger than or equal to 40000:
                execute console command "eco take %player% 40000"
                execute console command "/AdjustBonusClaimBlocks %player% 150"
                send "" to player
                send "" to player
                send "{@prefix} &640.000 &fkarsiliginda &e150 claim blogu &faldin!" to player
                send "" to player
                send "" to player
            else:
                send "{@prefix} &fYeterli paran yok! &8[&6Gerekli para &f= &e40.000&8]" to player   
        if arg-1 is "claim3":
            if player's balance is bigger than or equal to 80000:
                execute console command "eco take %player% 80000"
                execute console command "/AdjustBonusClaimBlocks %player% 300"
                send "" to player
                send "" to player
                send "{@prefix} &680.000 &fkarsiliginda &e300 claim blogu &faldin!" to player
                send "" to player
                send "" to player
            else:
                send "{@prefix} &fYeterli paran yok! &8[&6Gerekli Para &8= &e80.000&8]" to player
        if arg-1 is "claim4":
            if player's balance is bigger than or equal to 110000:
                execute console command "eco take %player% 110000"
                execute console command "/AdjustBonusClaimBlocks %player% 425"
                send "" to player
                send "" to player
                send "{@prefix} &6110.000 &fkarsiliginda &e425 claim blogu &faldin!" to player
                send "" to player
                send "" to player
            else:
                send "{@prefix} &fYeterli paran yok! &8[&6Gerekli Para &8= &e110.000&8]" to player
 

Opurex

Bir demir göründü efendim!
Katılım
20 Temmuz 2020
Mesajlar
6
Tepkime puanı
4
Puanları
25
Madalyalar
0
çok kötü yazılmış ama yinede emegine sağlık
 
Üst