Otomatik Maden Satma Factionun Olmazsa Olmazı

ShortPallMall

AtinaSaga.Com Türkiyenin ilk MMOSurvival sunucusu
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"
KOMUTLAR:
/otomaden ac
/otomaden kapat
 

ruddeTR

projects.gg
Emektar Üye
En iyi cevaplar
2
Elinize sağlık güzel düşünülmüş fakat bence {x::*} olarak bir list variable açıpta "ac" arg-1'ini girenleri bu listeye ekleyebilirdiniz (aynı zamanda "kapat" arg-1 ile de çıkarırdınız) break kısmında ise
Kod:
{x::*} contains player
kullansaydınız daha kullanışlı olurdu diye düşünüyorum. Tabii bu benim görüşüm. :)
 

MeeRach

Vi3e
En iyi cevaplar
0
on break eventini tek kodda kullanıp blokları tek kodda kontrol edebilirdiniz, sağlıklı olması için
böyle sistemler bana göre gereksiz, saçma. neden mi? oyuncular fazlasıyla hazıra alışıyor ve ne yazık ki 2-3 yıl önceki "zorlayıcı" sunucu ortamı kayboluyor...
 

ShortPallMall

AtinaSaga.Com Türkiyenin ilk MMOSurvival sunucusu
En iyi cevaplar
2
Elinize sağlık güzel düşünülmüş fakat bence {x::*} olarak bir list variable açıpta "ac" arg-1'ini girenleri bu listeye ekleyebilirdiniz (aynı zamanda "kapat" arg-1 ile de çıkarırdınız) break kısmında ise
Kod:
{x::*} contains player
kullansaydınız daha kullanışlı olurdu diye düşünüyorum. Tabii bu benim görüşüm. :)
on break eventini tek kodda kullanıp blokları tek kodda kontrol edebilirdiniz, sağlıklı olması için
böyle sistemler bana göre gereksiz, saçma. neden mi? oyuncular fazlasıyla hazıra alışıyor ve ne yazık ki 2-3 yıl önceki "zorlayıcı" sunucu ortamı kayboluyor...
yorumlarınız için teşekkür ederim bi sonrakinde öyle yapacağım
 
Üst