Yazar ve Destek Ekibi Alımları Aktif!
Merhaba Ziyaretçi!, Forumumuzun yazar ve destek ekibine katılmak ister misiniz? Yetkili market, yetkili sistemi ve başvuru formu gibi birçok bilgiye ulaşmak için buraya tıklayın.
Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz.. Tarayıcınızı güncellemeli veya alternatif bir tarayıcı kullanmalısınız.
ÇözüldüSkript plugininde bir komuta sınır getirme.
Bunu yaptım ama daha önceden inek alanların hepsinin inekleri falan hepsi gitti. Lütfen şu skripti editler misin sana zahmet olmazsa bu arada kusura bakma ayrıntılı incelememiştim. Çalışıyor skriptin.
Kod:
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 10000:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
Evet skriptiniz çalıştı aynısını buna yapmanızı rica edeceğim şimdi orada 1m falan çiftlik kurmak oralar karıştı benim için çok başarılı değilim bu konularda.
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
{limit.%player%} = 20
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 10000:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
{limit.%player%} = 20
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to {limit.%player%}:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 10000:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
Hata vermiyor skript. Ama yeni hesap açtım ona 6m para verdim işte çiftlik oluşturdum sonra 21 tane inek aldım bana bir hata vermedi 43 tane ineği oldu :D
Sanırım yanlış veri kullanmış DwordGG.Benim bu konuya attığım skripti bir dener misiniz?Eğer çalışırsa onun üzerinden istediğiniz çiftlik fiyatlarını ayarlayın.(ne kadara inek satın alınsın vb.)
Sanırım yanlış veri kullanmış DwordGG.Benim bu konuya attığım skripti bir dener misiniz?Eğer çalışırsa onun üzerinden istediğiniz çiftlik fiyatlarını ayarlayın.(ne kadara inek satın alınsın vb.)
"if {limit.%player%} is bigger than or equal to 20:" bu kısımdaki 20 limit. Bu kod 3 yerde var, değiştirecekseniz 3 yerden değiştirin veya birisine 20 limti birisine 30 limit verebilrisniz, kafanıza göre.
Kod:
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
{limit.%player%} = 0
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 10000:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
Yüksek ihtimal bu çalışır skriptte 10000 sınır olarak belirlenmişti 20 ye indirdim inek için.
Kod:
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 20:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&cZaten 20 ineğin bulunuyor." to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
"if {limit.%player%} is bigger than or equal to 20:" bu kısımdaki 20 limit. Bu kod 3 yerde var, değiştirecekseniz 3 yerden değiştirin veya birisine 20 limti birisine 30 limit verebilrisniz, kafanıza göre.
Kod:
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
{limit.%player%} = 0
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if {limit.%player%} is bigger than or equal to 20:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 10000:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
else:
send "&cLimit &8» &eSatın alma limitine ulaştın." to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}
Limit.%player% verisi oluşturmuşsun fakat insanlar inek aldıklarında o veriye herhangi bir ekleme yapmıyor bu yüzden limit her zaman 0 olarak gözüküyor ve insanlar istediği kadar alabiliyor.Eğer sen insanlar her inek satın aldıklarında limit.%player% verisine 1 eklersen skript çalışır diye düşünüyorum ama benim verdiğimde ek veri yok senin yaptığın ile yaparsa fazladan 1 veri eklemiş olur ve skript 5-10 satır gereksiz uzamış olur.
Yüksek ihtimal bu çalışır skriptte 10000 sınır olarak belirlenmişti 20 ye indirdim inek için.
Kod:
variables:
{ciftlik.%player%} = false
{tavuk.%player%} = 0
{koyun.%player%} = 0
{inek.%player%} = 0
{yumurta.%player%} = 0
{sut.%player%} = 0
command /asdgfg4545 [<text>]:
trigger:
if arg-1 is not set:
if {ciftlik.%player%} is false:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatin Al" to player
format slot 4 of player with book named "&6Creation Çiftlik" with lore "&aSatin Almak Icin Tikla &cFiyat: &a50K" to close then run [execute player command "/çiftlik satinal"]
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 3 row named "&6Çiftlik &8» &aAna Menu" to player
format slot 10 of player with spawn chicken named "&6Hayvan Alma Menusu" with lore "&aBuradan Hayvan Satin Alabilirsin" to close then run [execute player command "/çiftlik hayvanal"]
format slot 13 of player with book named "&6Çiftlik Bilgileri" with lore "&aBuradan Çiftlik Bilgilerine Bakabilirsin" to close then run [execute player command "/çiftlik bilgi"]
format slot 16 of player with milk bucket named "&6Satma Menusu" with lore "&aBuradan Sut Ve Yumurtalarini Satabilirsin" to close then run [execute player command "/çiftlik sat"]
if arg-1 is set:
if arg-1 is "satinal":
if {ciftlik.%player%} is false:
if player's balance is greater than 49999:
remove 50000 from player's balance
set {ciftlik.%player%} to true
send "&6Sanal Çiftlik &8» &aÇiftlik Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "hayvanal":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aHayvan Alma" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn chicken named "&6Tavuk" with lore "&aFiyat: &c25K &aSaatlik Uretim: &c500TL" to run [execute player command "çiftlik tavukal"]
format slot 4 of player with spawn sheep named "&6Koyun" with lore "&aFiyat: &c75K &aSaatlik Uretim: &c2500TL" to run [execute player command "çiftlik koyunal"]
format slot 6 of player with spawn cow named "&6Inek" with lore "&aFiyat: &c200K &aSaatlik Uretim: &c10000TL" to run [execute player command "çiftlik inekal"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "tavukal":
if {ciftlik.%player%} is true:
if player's balance is greater than 24999:
if {tavuk.%player%} is smaller than 10000:
remove 25000 from player's balance
add 1 to {tavuk.%player%}
send "&6Sanal Çiftlik &8» &aTavuk Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "koyunal":
if {ciftlik.%player%} is true:
if player's balance is greater than 74999:
if {koyun.%player%} is smaller than 10000:
remove 75000 from player's balance
add 1 to {koyun.%player%}
send "&6Sanal Çiftlik &8» &aKoyun Başarıyla Alindi !" to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "inekal":
if {ciftlik.%player%} is true:
if player's balance is greater than 199999:
if {inek.%player%} is smaller than 20:
remove 200000 from player's balance
add 1 to {inek.%player%}
send "&6Sanal Çiftlik &8» &aInek Başarıyla Alindi !" to player
else:
send "&cZaten 20 ineğin bulunuyor." to player
else:
send "&6Sanal Çiftlik &8» &aSatin Almak Icin Yeterli Paraniz Bulunmamakta !" to player
if arg-1 is "bilgi":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aÇiftlik Bilgi" to player
format slot 0 of player with spawn chicken named "&6Tavuk" with lore "&a%{tavuk.%player%}% Adet" to close
format slot 1 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with spawn sheep named "&6Koyun" with lore "&a%{koyun.%player%}% Adet" to close
format slot 3 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 4 of player with spawn cow named "&6Inek" with lore "&a%{inek.%player%}% Adet" to close
format slot 5 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to close
format slot 7 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 8 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to close
if arg-1 is "sat":
if {ciftlik.%player%} is true:
wait 3 tick
open chest with 1 row named "&6Çiftlik &8» &aSatma Menusu" to player
format slot 0 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 2 of player with egg named "&6Yumurta" with lore "&a%{yumurta.%player%}% Adet" to run [execute player command "çiftlik yumurtasat"]
format slot 4 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
format slot 6 of player with milk bucket named "&6Süt" with lore "&a%{sut.%player%}% Litre" to run [execute player command "çiftlik sutsat"]
format slot 8 of player with red glass named "&6Ana Menu" with lore "&aAna Menuye Donmek Icin Tikla" to close then run [execute player command "çiftlik"]
if arg-1 is "yumurtasat":
if {ciftlik.%player%} is true:
if {yumurta.%player%} is greater than 0:
add {yumurta.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{yumurta.%player%}% &aAdet Yumurta &c%{yumurta.%player%}% &aTL Karsiliginda Satildi !" to player
set {yumurta.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Yumurta Yok !" to player
if arg-1 is "sutsat":
if {ciftlik.%player%} is true:
if {sut.%player%} is greater than 0:
add {sut.%player%} to player's balance
send "&6Sanal Çiftlik &8» &c%{sut.%player%}% &aLitre Süt &c%{sut.%player%}% &aTL Karsiliginda Satildi !" to player
set {sut.%player%} to 0
else:
send "&6Sanal Çiftlik &8» &aÇiftliğinde Satilacak Süt Yok !" to player
every hours:
loop all players:
if {tavuk.%loop-player%} is greater than 0:
set {_itemcountt} to {tavuk.%loop-player%}
add 500 * {_itemcountt} to {yumurta.%loop-player%}
every hours:
loop all players:
if {koyun.%loop-player%} is greater than 0:
set {_itemcountk} to {koyun.%loop-player%}
add 2500 * {_itemcountk} to {sut.%loop-player%}
every hours:
loop all players:
if {inek.%loop-player%} is greater than 0:
set {_itemcounti} to {inek.%loop-player%}
add 10000 * {_itemcounti} to {sut.%loop-player%}