- En iyi cevaplar
- 2
Kod:
command /OtoMaden [<text>]:
trigger:
if arg-1 is "ac":
execute console command "manuaddp %player% otomaden.sat"
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6otomaden Maden Satma Acıldı&4&l!" to player
send "&8&m----------------------------------------" to player
else if arg-1 is "kapat":
execute console command "manudelp %player% otomaden.sat"
send " {@prefix} &botomaden Maden Satma &cKapatildi!"
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6otomaden Maden Satma Kapatıldı&4&l!" to player
send "&8&m----------------------------------------" to player
else:
send "&8&m----------------------------------------" to player
send "" to player
send "&8&l> &d/&eOtoMaden Ac &6otomaden Maden Satmayı Acar&4&l!" to player
send "&8&l> &d/&eOtoMaden Kapat &6otomaden Maden Satmayı Kapatır&4&l!" to player
send "" to player
send "&8&m----------------------------------------" to player
on break of a Diamond ore:
if player has permission "otomaden.sat":
if player has 64 of Diamond:
remove 64 diamond from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Elmaslar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 16000"
on break of a Emerald ore:
if player has permission "otomaden.sat":
if player has 64 of Emerald:
remove 64 Emerald from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Zumrutler otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 13000"
on break of a Gold ore:
if player has permission "otomaden.sat":
if player has 64 of Gold Ingot:
remove 64 gold ingot from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Altinlar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 10000"
on break of a Block of Diamond:
if player has permission "otomaden.sat":
if player has 64 of Block of Diamond:
remove 64 block of diamond from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Elmas Bloklar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 150000"
on break of a Block of Emerald:
if player has permission "otomaden.sat":
if player has 64 of Block of Emerald:
remove 64 Block of emerald from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Zumrutler Bloklar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 120000"
on break of a Block of Gold:
if player has permission "otomaden.sat":
if player has 64 of Block of Gold:
remove 64 Block of gold from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Altın Bloklar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 90000"
on break of a Block of iron:
if player has permission "otomaden.sat":
if player has 64 of Block of iron:
remove 64 block of iron from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Demir Bloklar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 60000"
on break of a Diamond ore:
if player has permission "otomaden.sat":
if player has 64 of iron:
remove 64 iron from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Demirler otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 7000"
on break of a Stone:
if player has permission "otomaden.sat":
if player has 64 of Cobblestone:
remove 64 Cobblestone from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Taslar otomaden Olarak Satıldı&4&l!" to player
send " &6SonCraft&dTR &8&l> &6Kapatmak isterseniz /otoMaden Kapat&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 10000"
on break of a Maden ore:
if player has permission "otomaden.sat":
if player has 640 of Maden lazuli ore:
remove 640 Maden lazuli ore from player
send "&8&m----------------------------------------" to player
send " &6SonCraft&dTR &8&l> &6Maden Cevherleri otomaden Olarak Satıldı&4&l!" to player
send "&8&m----------------------------------------" to player
execute console command "eco give %player% 99999"
/otomaden ac
/otomaden kapat