OynaFactionTR
Zombi Katili
- En iyi cevaplar
- 0
Kod:
#======================= Ayarlar =======================#
options:
Prefix: &c[&6FCTR&fSat&c]
#======================= Ayarlar =======================#
#======================= Lapis =======================#
lapisfiyat: 2380 # Lapis Lazuli Fiyatı
lapisadet: 340 #Hem Lapis Lazulinin Hemde Lapis Bloğun Adeti
lapisblockfiyat: 2380 #Lapis Blok Fiyatı
#======================= Lapis =======================#
#======================= Elmas =======================#
elmasfiyat: 189952 #Elmas Fiyatı
elmasadet: 64 #Hem Elmasın Hemde Elmas Bloğun Adeti
elmasblockfiyat: 189952 #Elmas Blok Fiyatı
#======================= Elmas =======================#
#======================= Demir =======================#
demirfiyat: 109952 #Demir Külçesi Fiyatı
demiradet: 64 #Hem Demir Külçesinin Hemde Demir Bloğun Adeti
demirblockfiyat: 109952 #Demir Blok Fiyatı
#======================= Demir =======================#
#======================= Altın =======================#
altinfiyat: 850000 #Altın Külçesi Fiyatı
altinadet: 64 #Hem Altın Külçesinin Hemde Altın Bloğun Adeti
altinblockfiyat: 850000 #Altın Blok Fiyatı
#======================= Altın =======================#
#======================= Zümrüt =======================#
zumrutfiyat: 189952 #Zümrüt fiyatı
zumrutadet: 64 #Hem Zümrütün Hemde Zümrüt Bloğun Adeti
zumrutblockfiyat: 189952 #Zümrüt Blok Fiyatı
#======================= Ayarlar =======================#
#======================= Ayar 2 =======================#
#Oyuna İlk Girdikleri Zaman OTO-SAT Açılsınmı açılmasınmı ayarlar
#true belirlediğiniz satışı açar false kapatır
on first login:
set {lapis.%player%} to true
set {elmas.%player%} to false
set {demir.%player%} to false
set {altin.%player%} to false
set {zumrut.%player%} to false
#======================= Ayar2 =======================#
#======================= Lapis Kod =======================#
command /otolapis:
trigger:
if {lapis.%player%} is false:
send "&bOto Lapis Satma Aktif" to player
set {lapis.%player%} to true
else:
send "&bOto Lapis Satma Deaktif" to player
set {lapis.%player%} to false
on break 21 or 56 or 14 or 15 or 129:
if {lapis.%player%} is true:
if player has 340 lapis lazuli:
remove 340 lapis lazuli from player
send " {FCTR} &c340 &7lapis lazuli Esyasini &c15K TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 15000"
stop
on break 21 or 56 or 14 or 15 or 129 or 57 or 22 or 133 or 41 or 42:
if {lapis.%player%} is true:
if player has 340 22:
remove 340 22 from player
send " {FCTR} &c340 &7Lapis Blok Esyasini &c15K TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 15000"
stop
#======================= Lapis Kod =======================#
#======================= Elmas Kod =======================#
command /otoelmas:
trigger:
if {elmas.%player%} is false:
send "&bOto Elmas Satma Aktif" to player
set {elmas.%player%} to true
else:
send "&bOto Elmas Satma Deaktif" to player
set {elmas.%player%} to false
on break 21 or 56 or 14 or 15 or 129:
if {elmas.%player%} is true:
if player has 64 diamond:
remove 64 diamond from player
send " {FCTR} &c64 &7Diamond Esyasini &c30K TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 30000"
stop
on break 21 or 56 or 14 or 15 or 129 or 57 or 22 or 133 or 41 or 42:
if {elmas.%player%} is true:
if player has 64 diamond block:
remove 64 diamond block from player
send " {FCTR} &c64 &7Diamond Blok Esyasini &c1920000 TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 1920000"
stop
#======================= Elmas Kod =======================#
#======================= Demir Kod =======================#
command /otodemir:
trigger:
if {demir.%player%} is false:
send "&bOto Demir Satma Aktif" to player
set {demir.%player%} to true
else:
send "&bOto Demir Satma Deaktif" to player
set {demir.%player%} to false
on break 21 or 56 or 14 or 15 or 129:
if {demir.%player%} is true:
if player has 64 iron ingot:
remove 64 iron ingot from player
send " {FCTR} &c64 &7Demir Kulcesi Esyasini &c20K TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 20000"
stop
on break 21 or 56 or 14 or 15 or 129 or 57 or 22 or 133 or 41 or 42:
if {demir.%player%} is true:
if player has 64 iron block:
remove 64 iron block from player
send " {FCTR} &c64 &7Demir Blok Esyasini &c1280000 TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 1280000"
stop
#======================= Demir Kod =======================#
#======================= Altın Kod =======================#
command /otoaltin:
trigger:
if {altin.%player%} is false:
send "&bOto Altin Satma Aktif" to player
set {altin.%player%} to true
else:
send "&bOto Altin Satma Deaktif" to player
set {altin.%player%} to false
on break 21 or 56 or 14 or 15 or 129:
if {altin.%player%} is true:
if player has 64 gold ingot:
remove 64 gold ingot from player
send " {FCTR} &c64 &7Altin Kulcesi Esyasini &c25K TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 25000"
stop
on break 21 or 56 or 14 or 15 or 129 or 57 or 22 or 133 or 41 or 42:
if {altin.%player%} is true:
if player has 64 gold block:
remove 64 gold block from player
send " {FCTR} &c64 &7Altin Blok Esyasini &c1600000 TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% 1600000"
stop
#======================= Altın Kod =======================#
command /otozumrut:
trigger:
if {zumrut.%player%} is false:
send "&bOto Zumrut Satma Aktif" to player
set {zumrut.%player%} to true
else:
send "&bOto Zumrut Satma Deaktif" to player
set {zumrut.%player%} to false
on break 21 or 56 or 14 or 15 or 129:
if {zumrut.%player%} is true:
if player has 64 emerald:
remove 64 emerald from player
send " {FCTR} &c64 &7Zumrut Esyasini &c50K TL &7Karsiliginda sattin!"
execute console command "/money give %player% 50000"
stop
on break 21 or 56 or 14 or 15 or 129 or 57 or 22 or 133 or 41 or 42:
if {zumrut.%player%} is true:
if player has 64 emerald block:
remove 64 emerald block from player
send " {FCTR} &c{@zumrutadet} &7Zumrut Blok Esyasini &c3200000 TL &7Karsiliginda sattin!"
execute console command "/money give %player% 3200000"
stop
#======================= Altın Kod =======================#
#======================= OTO-SAT Panel =======================#
command /otosat:
trigger:
open chest with 3 rows named "&m&b----&c]&aOTOPANEL&m&c[&b----" to player
if {lapis.%player%} is true:
format slot 9 of player with lapis lazuli named "&6&lOto Lapis Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&c&lDurum: &aAçık" to close then run [execute player command "otolapis"]
if {lapis.%player%} is false:
format slot 9 of player with lapis lazuli named "&6&lOto Lapis Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&a&lDurum: &cKapalı" to close then run [execute player command "otolapis"]
if {elmas.%player%} is true:
format slot 11 of player with diamond named "&6&lOto Elmas Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&c&lDurum: &aAçık" to close then run [execute player command "otoelmas"]
if {elmas.%player%} is false:
format slot 11 of player with diamond named "&6&lOto Elmas Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&a&lDurum: &cKapalı" to close then run [execute player command "otoelmas"]
if {demir.%player%} is true:
format slot 13 of player with iron ingot named "&6&lOto Demir Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&c&lDurum: &aAçık" to close then run [execute player command "otodemir"]
if {demir.%player%} is false:
format slot 13 of player with iron ingot named "&6&lOto Demir Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&a&lDurum: &cKapalı" to close then run [execute player command "otodemir"]
if {altin.%player%} is true:
format slot 15 of player with gold ingot named "&6&lOto Altın Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&c&lDurum: &aAçık" to close then run [execute player command "otoaltin"]
if {altin.%player%} is false:
format slot 15 of player with gold ingot named "&6&lOto Altın Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&a&lDurum: &cKapalı" to close then run [execute player command "otoaltin"]
if {zumrut.%player%} is true:
format slot 17 of player with emerald named "&6&lOto Zümrüt Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&c&lDurum: &aAçık" to close then run [execute player command "otozumrut"]
if {zumrut.%player%} is false:
format slot 17 of player with emerald named "&6&lOto Zümrüt Satışı" with lore "&3&lHem Blok Halini Hemde Ham Halini Satar ||&a&lDurum: &cKapalı" to close then run [execute player command "otozumrut"]
format slot 0 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 1 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 2 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 3 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 4 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 5 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 6 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 7 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 8 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 10 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 12 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 14 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 16 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 18 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 19 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 20 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 21 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 22 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 23 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 24 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 25 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
format slot 26 of player with white stained glass pane of unbreaking 1, named " " with lore "" to close then run ""
#======================= OTO-SAT Panel =======================#
