Çözüldü Leaf World Edit Skript Hata veriyor.

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

By_SecDeT

Somon Balığı Selam Vermeye Geldi
Katılım
28 Temmuz 2017
Mesajlar
12
Elmaslar
1
Puan
0
Yaş
45
Facebook
YOK
X
YOK

Discord:

kullanıcı adımı kabul etmedi sunucu linkim d.gg/fugaEQN

Merhaba ben Leaf World Edit skriptini kullanmak istiyorum fakat functionlarda loop-value lerde hata veriyor skript plugini
skript plugin versionu : 2.1.2

Leaf WE skripti:
Kod:
options:

    #do not touch this -_-
    plugin-version: 0.0.9
   
   
   
#
# ● SETTINGS ●
#  

    wand-item: blaze rod
   
    #you can also use seconds "example, block-place-speed: 2 seconds"
    block-place-speed: 2 ticks
   
    #Block from bellow will not be broken.
    block-break-blacklist: sign or chest or bedrock or mob spawner  
   
    #When this is false, the player needs to wait until the current job is done to start another.
    multiple-jobs: false
       
# ● MESSAGES ●
   
   
    prefix: &6&lWORLD EDIT &8&l» &7  
   
    position-set: &ePosition &3%{_pos}% &ehas been set.
   
    position-not-set: &ePosition &3%{_pos}% &eis not set.  
   
    out-of-blocks: &eOut of blocks.
   
    cannot-use-this-item: &eYou cannot use this item.
   
    started-job: &eStarted to placing blocks...
   
    already-started: &ePlease wait until the current job is done.
   
    finished-job: &eDone.
   
    block-blacklisted: &cThis block is blacklisted.
   
    no-permission: &cYou don't have permission to execute this command!
   


function leaf_we_set_pos(p: player, loc: location, pos: text):
    set {_uuid} to uuid of {_p}
    set {LEAF-WE::%{_uuid}%.POS-%{_pos}%} to {_loc}
    send "{@prefix}{@position-set}" to {_p}

on left-click with {@wand-item}:
    cancel event
    target block is not air
    distance between player and target block is smaller than 5
    leaf_we_set_pos(player, location of target block, "1")  
   
on right-click with {@wand-item}:
    cancel event
    target block is not air
    distance between player and target block is smaller than 5
    leaf_we_set_pos(player, location of target block, "2")
                   
command set [<material>]:
    trigger:
        if player has permission "leafwe.set":
            if {LEAF-WE::%uuid of player%.POS-1} is set:
                if {LEAF-WE::%uuid of player%.POS-2} is set:
                    if arg-1 is not set:
                        set {_block} to player's tool
                    if arg-1 is set:              
                        set {_block} to arg-1
                    if {_block} is a solid block:  
                        if {@multiple-jobs} is false:
                            {LEAF-WE::%uuid of player%.RUNNING} is set
                            send "{@prefix}{@already-started}"  
                            stop
                        set {LEAF-WE::%uuid of player%.RUNNING} to true  
                        send "{@prefix}{@started-job}"  
                        loop blocks within {LEAF-WE::%uuid of player%.POS-1} and {LEAF-WE::%uuid of player%.POS-2}:
                            if player is online:
                                if number of {_block} in player's inventory is greater than 0:
                                    if island at loop-block is island of player:
                                        set {_allow} to true
                                    if loop asb player's team members:                                  
                                            island at loop-block is island of loop-value-2
                                            set {_allow} to true
                                    {_allow} is true      
                                    if block at loop-value is not air or {@block-break-blacklist}:
                                        set {_b-give} to block at loop-value
                                        {_b-give} is not any leaves
                                        give {_b-give} to player
                                    if block at loop-value is not {@block-break-blacklist}:  
                                        set block at loop-value to {_block}
                                    play "%{_block}% break" parsed as visual effect at location of loop-value
                                    remove 1 of {_block} from player's inventory
                                    wait {@block-place-speed}
                                else:
                                    send "{@prefix}{@out-of-blocks}"
                                    stop
                            else:
                                stop  
                        delete {LEAF-WE::%uuid of player%.RUNNING}      
                        send "{@prefix}{@finished-job}"  
                    else:
                        send "{@prefix}{@cannot-use-this-item}"
                else:
                    set {_pos} to 2
                    send "{@prefix}{@position-not-set}"                  
            else:
                set {_pos} to 1
                send "{@prefix}{@position-not-set}"  
        else:
            send "{@prefix}{@no-permission}"
               
on quit:
    delete {LEAF-WE::%uuid of player%.POS-1}, {LEAF-WE::%uuid of player%.POS-2} and {LEAF-WE::%uuid of player%.RUNNING}
   
on load:
    send "&8|--------------------------------------------&8|" to console
    send " " to console
    send "{@prefix}&3&lLoading &ev.{@plugin-version}&3..." to console
    send "{@prefix}&3&lPlugin loaded!" to console
    send " " to console
    send "&8|--------------------------------------------&8|" to console
    delete {LEAF-WE::*}

on unload:
    send "&8|--------------------------------------------&8|" to console
    send " " to console
    send "{@prefix}&3&lDisabling &ev.{@plugin-version}&3&l..." to console
    send "{@prefix}&3&lv.{@plugin-version} disabled!" to console
    send " " to console
    send "&8|--------------------------------------------&8|" to console
    stop

verdiği hata
Kod:
[WARNING] 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. (wee.sk, line 86: if loop asb player's team members:')

[ERROR] can't understand this event: 'function leaf_we_set_pos(p: player, loc: location, pos: text)' (wee.sk, line 48: function leaf_we_set_pos(p: player, loc: location, pos: text):')

[ERROR] Can't understand this condition/effect: leaf_we_set_pos(player, location of target block, "1") (wee.sk, line 57: leaf_we_set_pos(player, location of target block, "1")')

[ERROR] Can't understand this condition/effect: leaf_we_set_pos(player, location of target block, "2") (wee.sk, line 63: leaf_we_set_pos(player, location of target block, "2")')

[ERROR] 'island at loop-block' is not an entity type (wee.sk, line 84: if island at loop-block is island of player:')

[ERROR] can't understand this condition: 'loop asb player's team members' (wee.sk, line 86: if loop asb player's team members:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 90: if block at loop-value is not air or {@block-break-blacklist}:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 94: if block at loop-value is not {@block-break-blacklist}:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 96: play "%{_block}% break" parsed as visual effect at location of loop-value')

[ERROR] Variables cannot be used here. (wee.sk, line 118: delete {LEAF-WE::%uuid of player%.POS-1}, {LEAF-WE::%uuid of player%.POS-2} and {LEAF-WE::%uuid of player%.RUNNING}')

yardımcı olurmusunuz
 
ne işe yarıyor bu skript ve çalışmama sorunu eklenti eksikliği olabilir​
 
ne işe yarıyor bu skript ve çalışmama sorunu eklenti eksikliği olabilir​

Bu skript oyuncuların worldedit kullanmasını sağlıyor fakat belirttikleri blokları envanterlerinden alıyor eğer yoksa blok bulunamadı diyor yani envanterden oto blok dizmek için kolaylık sağlamış oluyor op skyblock veya skyblock sunucularında parayla bile satılıyor süreli bir şekilde.
 
Merhaba ben Leaf World Edit skriptini kullanmak istiyorum fakat functionlarda loop-value lerde hata veriyor skript plugini
skript plugin versionu : 2.1.2

Leaf WE skripti:
Kod:
options:

    #do not touch this -_-
    plugin-version: 0.0.9
  
  
  
#
# ● SETTINGS ●
# 

    wand-item: blaze rod
  
    #you can also use seconds "example, block-place-speed: 2 seconds"
    block-place-speed: 2 ticks
  
    #Block from bellow will not be broken.
    block-break-blacklist: sign or chest or bedrock or mob spawner 
  
    #When this is false, the player needs to wait until the current job is done to start another.
    multiple-jobs: false
      
# ● MESSAGES ●
  
  
    prefix: &6&lWORLD EDIT &8&l» &7 
  
    position-set: &ePosition &3%{_pos}% &ehas been set.
  
    position-not-set: &ePosition &3%{_pos}% &eis not set. 
  
    out-of-blocks: &eOut of blocks.
  
    cannot-use-this-item: &eYou cannot use this item.
  
    started-job: &eStarted to placing blocks...
  
    already-started: &ePlease wait until the current job is done.
  
    finished-job: &eDone.
  
    block-blacklisted: &cThis block is blacklisted.
  
    no-permission: &cYou don't have permission to execute this command!
  


function leaf_we_set_pos(p: player, loc: location, pos: text):
    set {_uuid} to uuid of {_p}
    set {LEAF-WE::%{_uuid}%.POS-%{_pos}%} to {_loc}
    send "{@prefix}{@position-set}" to {_p}

on left-click with {@wand-item}:
    cancel event
    target block is not air
    distance between player and target block is smaller than 5
    leaf_we_set_pos(player, location of target block, "1") 
  
on right-click with {@wand-item}:
    cancel event
    target block is not air
    distance between player and target block is smaller than 5
    leaf_we_set_pos(player, location of target block, "2")
                  
command set [<material>]:
    trigger:
        if player has permission "leafwe.set":
            if {LEAF-WE::%uuid of player%.POS-1} is set:
                if {LEAF-WE::%uuid of player%.POS-2} is set:
                    if arg-1 is not set:
                        set {_block} to player's tool
                    if arg-1 is set:             
                        set {_block} to arg-1
                    if {_block} is a solid block: 
                        if {@multiple-jobs} is false:
                            {LEAF-WE::%uuid of player%.RUNNING} is set
                            send "{@prefix}{@already-started}" 
                            stop
                        set {LEAF-WE::%uuid of player%.RUNNING} to true 
                        send "{@prefix}{@started-job}" 
                        loop blocks within {LEAF-WE::%uuid of player%.POS-1} and {LEAF-WE::%uuid of player%.POS-2}:
                            if player is online:
                                if number of {_block} in player's inventory is greater than 0:
                                    if island at loop-block is island of player:
                                        set {_allow} to true
                                    if loop asb player's team members:                                 
                                            island at loop-block is island of loop-value-2
                                            set {_allow} to true
                                    {_allow} is true     
                                    if block at loop-value is not air or {@block-break-blacklist}:
                                        set {_b-give} to block at loop-value
                                        {_b-give} is not any leaves
                                        give {_b-give} to player
                                    if block at loop-value is not {@block-break-blacklist}: 
                                        set block at loop-value to {_block}
                                    play "%{_block}% break" parsed as visual effect at location of loop-value
                                    remove 1 of {_block} from player's inventory
                                    wait {@block-place-speed}
                                else:
                                    send "{@prefix}{@out-of-blocks}"
                                    stop
                            else:
                                stop 
                        delete {LEAF-WE::%uuid of player%.RUNNING}     
                        send "{@prefix}{@finished-job}" 
                    else:
                        send "{@prefix}{@cannot-use-this-item}"
                else:
                    set {_pos} to 2
                    send "{@prefix}{@position-not-set}"                 
            else:
                set {_pos} to 1
                send "{@prefix}{@position-not-set}" 
        else:
            send "{@prefix}{@no-permission}"
              
on quit:
    delete {LEAF-WE::%uuid of player%.POS-1}, {LEAF-WE::%uuid of player%.POS-2} and {LEAF-WE::%uuid of player%.RUNNING}
  
on load:
    send "&8|--------------------------------------------&8|" to console
    send " " to console
    send "{@prefix}&3&lLoading &ev.{@plugin-version}&3..." to console
    send "{@prefix}&3&lPlugin loaded!" to console
    send " " to console
    send "&8|--------------------------------------------&8|" to console
    delete {LEAF-WE::*}

on unload:
    send "&8|--------------------------------------------&8|" to console
    send " " to console
    send "{@prefix}&3&lDisabling &ev.{@plugin-version}&3&l..." to console
    send "{@prefix}&3&lv.{@plugin-version} disabled!" to console
    send " " to console
    send "&8|--------------------------------------------&8|" to console
    stop

verdiği hata
Kod:
[WARNING] 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. (wee.sk, line 86: if loop asb player's team members:')

[ERROR] can't understand this event: 'function leaf_we_set_pos(p: player, loc: location, pos: text)' (wee.sk, line 48: function leaf_we_set_pos(p: player, loc: location, pos: text):')

[ERROR] Can't understand this condition/effect: leaf_we_set_pos(player, location of target block, "1") (wee.sk, line 57: leaf_we_set_pos(player, location of target block, "1")')

[ERROR] Can't understand this condition/effect: leaf_we_set_pos(player, location of target block, "2") (wee.sk, line 63: leaf_we_set_pos(player, location of target block, "2")')

[ERROR] 'island at loop-block' is not an entity type (wee.sk, line 84: if island at loop-block is island of player:')

[ERROR] can't understand this condition: 'loop asb player's team members' (wee.sk, line 86: if loop asb player's team members:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 90: if block at loop-value is not air or {@block-break-blacklist}:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 94: if block at loop-value is not {@block-break-blacklist}:')

[ERROR] There's no loop that matches 'loop-value' (wee.sk, line 96: play "%{_block}% break" parsed as visual effect at location of loop-value')

[ERROR] Variables cannot be used here. (wee.sk, line 118: delete {LEAF-WE::%uuid of player%.POS-1}, {LEAF-WE::%uuid of player%.POS-2} and {LEAF-WE::%uuid of player%.RUNNING}')

yardımcı olurmusunuz
Skript sürümünüz nedir?
 
Bu skript oyuncuların worldedit kullanmasını sağlıyor fakat belirttikleri blokları envanterlerinden alıyor eğer yoksa blok bulunamadı diyor yani envanterden oto blok dizmek için kolaylık sağlamış oluyor op skyblock veya skyblock sunucularında parayla bile satılıyor süreli bir şekilde.
anladım
 
Skript sürümünüz eski
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
bunu yükleyip tekrar deneyiniz.
teşekkürler hemen deniyorum
Gönderi otomatik olarak birleştirildi:

Skript sürümünüz eski
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
bunu yükleyip tekrar deneyiniz.
bu seferde skript pluginini hiç görmüyor minecraft yani /skript yazıyorum etki yok 1 2 kez reload attım olmadı sadece o skript pluginini koydum plugins klasörüne yine olmadı nedeni nedir ?
 
Son düzenleme:
teşekkürler hemen deniyorum
Gönderi otomatik olarak birleştirildi:


bu seferde skript pluginini hiç görmüyor minecraft yani /skript yazıyorum etki yok 1 2 kez reload attım olmadı sadece o skript pluginini koydum plugins klasörüne yine olmadı nedeni nedir ?
Eski skriptlerin yedeğini al,scripts klasörüne gir orda ki tüm skriptleri sil ardından tekrar reload at ve skriptlerini yükle.
 
Herhangi bir hata vb. bir şey veriyor mu? veriyor ise log'ları buraya atarmısın.
Kod:
[INFO] [Skript] Enabling Skript v2.2-dev36

[WARNING] [Skript] Using this version of Skript on 1.8 is highly discouraged.

[WARNING] [Skript] Some features have been disabled; use older Skript to restore them.

[WARNING] [Skript] Also, there are probably bugs. And since 1.8 is not supported, they will not be fixed

[ERROR] [Skript] It seems that this server platform (CraftBukkit) does not work with Skript.

[ERROR] [Skript] To prevent potentially unsafe behaviour, Skript has been disabled.

[ERROR] [Skript] You may re-enable it by adding a configuration option 'allow unsafe platforms: true'

[ERROR] [Skript] Note that it is unlikely that Skript works correctly even if you do so.

[ERROR] [Skript] A better idea would be to install Paper or Spigot in place of your current server.

hmm Bukkit Desteklemiyormuş Bu Plugini Peki Bukkit Destekli Varmı ?
Gönderi otomatik olarak birleştirildi:

Sorun Skript Plugininden kaynaklanıyormuş bazı item çeşitlerini desteklemediği için oluyormuş

Sorun Çözülmüştür.
İyi Forumlar...

KONU KİLİT.
 
Son düzenleme:
Anlaşıldı dostum.
 
kardesım buldugun skiript plugini banada atarmısın
 
Son düzenleme:
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