#======================= Ayarlar =======================#
options:
Prefix: &c[&6Oto&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 false
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 {@lapisadet} lapis lazuli:
remove {@lapisadet} lapis lazuli from player
send " {@Prefix} &c{@lapisadet} &7lapis lazuli Esyasini &c{@lapisfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@lapisfiyat}"
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 {@lapisadet} 22:
remove {@lapisadet} 22 from player
send " {@Prefix} &c{@lapisadet} &7Lapis Blok Esyasini &c{@lapisblockfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@lapisblockfiyat}"
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 {@elmasadet} diamond:
remove {@elmasadet} diamond from player
send " {@Prefix} &c{@elmasadet} &7Diamond Esyasini &c{@elmasfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@elmasfiyat}"
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 {@elmasadet} diamond block:
remove {@elmasadet} diamond block from player
send " {@Prefix} &c{@elmasadet} &7Diamond Blok Esyasini &c{@elmasblockfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@elmasblockfiyat}"
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 {@demiradet} iron ingot:
remove {@demiradet} iron ingot from player
send " {@Prefix} &c64 &7Demir Kulcesi Esyasini &c{@demirfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@demirfiyat}"
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 {@demiradet} iron block:
remove {@demiradet} iron block from player
send " {@Prefix} &c{@demiradet} &7Demir Blok Esyasini &c{@demirblockfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@demirblockfiyat}"
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 {@altinadet} gold ingot:
remove {@altinadet} gold ingot from player
send " {@Prefix} &c64 &7Altin Kulcesi Esyasini &c{@altinfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@altinfiyat}"
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 {@altinadet} gold block:
remove {@altinadet} gold block from player
send " {@Prefix} &c{@altinadet} &7Altin Blok Esyasini &c{@altinblockfiyat} TL &7Karsiliginda sattin!" to player
execute console command "/money give %player% {@altinblockfiyat}"
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 {@zumrutadet} emerald:
remove {@zumrutadet} emerald from player
send " {@Prefix} &c{@zumrutadet} &7Zumrut Esyasini &c{@zumrutfiyat} TL &7Karsiliginda sattin!"
execute console command "/money give %player% {@zumrutfiyat}"
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 {@zumrutadet} emerald block:
remove {@zumrutadet} emerald block from player
send " {@Prefix} &c{@zumrutadet} &7Zumrut Blok Esyasini &c{@zumrutblockfiyat} TL &7Karsiliginda sattin!"
execute console command "/money give %player% {@zumrutblockfiyat}"
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 =======================#