chestcommands 1 adet alabilme

  • Konuyu Başlatan Konuyu Başlatan saykokral
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 475
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

saykokral

BC | Yeniden Sizlerle!
Katılım
9 Aralık 2018
Mesajlar
235
Elmaslar
27
Puan
2.160
Minecraft
BlockCraft / sayko1mizahh / S4YK0KR4L

Discord:

SaykoKral' BlockCraft#9267

chestcommandstan birşey istiyorum sadece chestcommandstaki eşyayı sadece 1 defa alabilsinler bununla alakalı bir skript vs yazabilicek arkadaşlar varmı
 
hangi eşyayı bir kere alsınlar yazarmısın skript yapıp chestcommands a bağlayalım
 
ada sınırı yükseltme tıklayınca ada sınırı yükseliyor ve birdaha yapamasınlar istiyorum

{adayukselt.%player%}

kodu bu aldıktan sonra birdaha açmaya çalışınca sadece 1 defa için adanızı büyütebilirsiniz yazsın istiyorum
 
buyrun menü yml si
Kod:
######################
#+                  +#
#   MENU SETTINGS    #
#+                  +#
######################

menu-settings:

  # name - appears as the title - REQUIRED
  name: '&4&lYükseltme'

  # rows - the number of rows of the chest - REQUIRED
  rows: 1

  # command - OPTIONAL (you can remove this or set it to '')
  # Bind multiple commands using ; (command: 'menu; m; me')
  command: 'bilgi'

  # auto-refresh - OPTIONAL
  # How frequently the menu will be refreshed, in seconds.
  # Useful if you have variables in items' descriptions.
  auto-refresh: 5

  # This command command will be execute when the menu is opened.
  # Supports all the icon command types.
  open-action: 'sound: door open'

  # open-with-item - OPTIONAL
  # The menu will open only right-clicking with orange wool [35:1]
  open-with-item:
    id: wool:1
    left-click: false
    right-click: false


######################
#+                  +#
#       ITEMS        #
#+                  +#
######################


menu-close-no-commands-no-slore:
  NAME: '&a&l&oYükseltme almak için tıkla'
  COMMAND: 'sınıryuksel' 
  ID: 399
  POSITION-X: 1
  POSITION-Y: 1


buda sunucuda yüklü olması gereken skript


Kod:
command /sınıryukselt:
    trigger:
        if {adayukselt.%player%} is greater than or equal to 10:
            send "&a&lADA YUKSELT &8&l» &cAda yükseltme hakkın kalmadı!" to player
            stop
        if player's balance is greater than or equal to 100000:
            add 1 to {adayukselt.%player%}
            remove 100000 from player's balance
            execute player command "is go"
            execute console command "manuaddp %player% askyblock.island.range.500"
            execute player command "asadmin addrange 50"
            execute console command "manudelp %player% askyblock.island.range.500"
            send "&a&lADA YUKSELT &8&l» &eAdanız başarıyla yükseltildi.Koruma &950 blok &earttırıldı." to player
            stop
        send "&a&lPARA YETERSIZ &8&l» &bYükseltme için gereken ücret: &650k"

Bu skripti bu konudan aldım Tıkla
 
skriptte 100t alamıyorum en fazla 1t alabiliyorum bunu nasıl halledicem ?
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst