Çözüldü Skriptle Parasını Kontrol Edip Alışveriş Yaptırma

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Mustafa Eren

play.RownCraft.com
Katılım
14 Haziran 2018
Mesajlar
85
Elmaslar
38
Puan
6.330
Minecraft
Endrown
X
erenmustafa00

Discord:

Mustafa Eren#1060

Essentials 'ın Para Birimini Skripte Nasıl Tanıtırım Mesela 10M Parası Varsa O Parayı Silip Bi İtem Vericel Örn Taş Parası Yoksa Paran Yetersiz Dicek Nası Yapabilirim Kendim Çok Kez Denedim Felan Olmadı
 
if player's balance >= 100:

Oyuncunun parası 100'den fazlaysa komutun gerisi çalışır. Telefondan kod yazılmıyor kendin yaparsın gerisini
 
Oyuncunun parası 100'den fazlaysa komutun gerisi çalışır. Telefondan kod yazılmıyor kendin yaparsın gerisini
Kod:
17.11 20:39:12 [Server] INFO [20:39:12 INFO]: [Skript] Reloading the config and all scripts...
17.11 20:39:12 [Server] INFO [20:39:12 INFO]: Loaded a total of 11504 english aliases
17.11 20:39:12 [Server] INFO [20:39:12 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
17.11 20:39:12 [Server] INFO [20:39:12 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (genel.sk, line 2: trigger:')
17.11 20:39:12 [Server] INFO [20:39:12 ERROR]: Unexpected entry 'if player's balance >= 100000000'. Check whether it's spelled correctly or remove it. (genel.sk, line 3: if player's balance >= 100000000:')
17.11 20:39:12 [Server] INFO [20:39:12 ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (genel.sk, line 6: else:')
17.11 20:39:12 [Server] INFO [20:39:12 INFO]: Loaded 1 script with a total of 0 triggers and 1 command in 0 seconds
17.11 20:39:12 [Server] INFO [20:39:12 INFO]: [Skript] Encountered 2 errors while reloading the config and all scripts!
Gönderi otomatik olarak birleştirildi:

@Shura
 
Son düzenleme:
Kod:
if player's balance is bigger than 999999:
    remove 1000000 from player's balance
else:
    send "&c[!] Yetersiz para."
 
Kod:
if player's balance is bigger than 999999:
    remove 1000000 from player's balance
else:
    send "&c[!] Yetersiz para."
Kod:
17.11 21:06:05 [Server] INFO [21:06:05 INFO]: [Skript] Reloading the config and all scripts...
17.11 21:06:05 [Server] INFO [21:06:05 INFO]: Loaded a total of 11504 english aliases
17.11 21:06:05 [Server] INFO [21:06:05 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
17.11 21:06:05 [Server] INFO [21:06:05 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (genel.sk, line 2: trigger:')
17.11 21:06:05 [Server] INFO [21:06:05 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (genel.sk, line 4: remove 1000000 from player's balance')
17.11 21:06:05 [Server] INFO [21:06:05 ERROR]: Unexpected entry 'if player's balance is bigger than 999999'. Check whether it's spelled correctly or remove it. (genel.sk, line 3: if player's balance is bigger than 999999:')
17.11 21:06:05 [Server] INFO [21:06:05 ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (genel.sk, line 7: else:')


yine hata verdi olmadı

yazdığım kod
Kod:
command /test:
    trigger:
    if player's balance is bigger than 999999:
        remove 1000000 from player's balance
        send "basarili yazisi"
        execute console command "komut kullandırtım"
    else:
        send "paran yok yazısı"
 
iEconomy veya vault yüklü mü sunucunuzda?
 
command /test: trigger: if player's balance is bigger than 999999: remove 1000000 from player's balance send "basarili yazisi" execute console command "komut kullandırtım" else: send "paran yok yazısı"
Kod:
command /test:
    trigger:
        if player's balance is bigger than 999999:
            remove 1000000 from player's balance
            send "&7[&a!&7] Başarıyla satın alındı."
            execute console command "komut kullandırtım"
        else:
            send "&c[!] Yeterli paranız yok. &e1,000,000$"
 
iEconomy veya vault yüklü mü sunucunuzda?
Vault Yüklü . Essentials'ın Para Birimini Kullanıyorum

Kod:
command /test:
    trigger:
        if player's balance is bigger than 999999:
            remove 1000000 from player's balance
            send "&7[&a!&7] Başarıyla satın alındı."
            execute console command "komut kullandırtım"
        else:
            send "&c[!] Yeterli paranız yok. &e1,000,000$"
if player's balance is bigger than 999999: bölümünde hata var yazıları değiştirmeyi bende biliyom
 
Ne hatası alıyorsun?
Gönderi otomatik olarak birleştirildi:

Vault pluginini silip tekrar yüklemeyi dene.
 
Son düzenleme:
Ne hatası alıyorsun?
100000 kere yazdım tekrar yazıyorum

Kod:
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: [Skript] Reloading the config and all scripts...
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: Loaded a total of 11504 english aliases
17.11 21:11:37 [Server] INFO [21:11:37 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Required entry 'trigger' is missing in 'command /adaduyuru' (genel.sk, starting at line 1) (genel.sk, line 1: command /adaduyuru:')
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Unexpected entry 'if player's balance is bigger than 999999'. Check whether it's spelled correctly or remove it. (genel.sk, line 3: if player's balance is bigger than 999999:')
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (genel.sk, line 7: else:')
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: Loaded 1 script with a total of 0 triggers and 0 commands in 0 seconds
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: [Skript] Encountered 3 errors while reloading the config and all scripts!
 
100000 kere yazdım tekrar yazıyorum

Kod:
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: [Skript] Reloading the config and all scripts...
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: Loaded a total of 11504 english aliases
17.11 21:11:37 [Server] INFO [21:11:37 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Required entry 'trigger' is missing in 'command /adaduyuru' (genel.sk, starting at line 1) (genel.sk, line 1: command /adaduyuru:')
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Unexpected entry 'if player's balance is bigger than 999999'. Check whether it's spelled correctly or remove it. (genel.sk, line 3: if player's balance is bigger than 999999:')
17.11 21:11:37 [Server] INFO [21:11:37 ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (genel.sk, line 7: else:')
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: Loaded 1 script with a total of 0 triggers and 0 commands in 0 seconds
17.11 21:11:37 [Server] INFO [21:11:37 INFO]: [Skript] Encountered 3 errors while reloading the config and all scripts!
Dediğim gibi
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
eklentini sil tekrar yükle.
/adaduyuru komutunda hatalı atar mısın düzeltmem için?
 
@Orco Hiçbi işe yaramadı
Gönderi otomatik olarak birleştirildi:

Discord Gelirmisin Mustafa Eren | Endrown#1885
 
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