• rabisu

    Reklam

Yardım World Edit Sistemi

ErenKrblt

Ağaç Yumruklayıcı
Mesajlar
37
Beğeniler
8
Puanları
40
#1
Arkadaşlar merhaba Oyunculara World edit yetkisi vereceğim fakat sizden bir şey istiyeceğim.
Arkadaslar oyuncular //set yazınca chest'inde ki Bloktan gitsin veya
Serveri Cökertmeyecek şekilde Nasıl Ayarlayabilirim.
 

Riaxetr

Şehit mi düştü asker? Cennet koktu da her yer..
Ehemmiyet
Mesajlar
178
Beğeniler
263
Puanları
570
Ruh Hali
#2
Arkadaşlar merhaba Oyunculara World edit yetkisi vereceğim fakat sizden bir şey istiyeceğim.
Arkadaslar oyuncular //set yazınca chest'inde ki Bloktan gitsin veya
Serveri Cökertmeyecek şekilde Nasıl Ayarlayabilirim.
WorldEditte böyle bir özellik bulunmuyor ama isterseniz bunun için bir skript hazırlayıp paylaşabilirim. :şapka:
 

Riaxetr

Şehit mi düştü asker? Cennet koktu da her yer..
Ehemmiyet
Mesajlar
178
Beğeniler
263
Puanları
570
Ruh Hali
#6
Buyur, worldedit komutları ile karışmaması için itemi dahil farklı yaptım. //balta ile balta alabilirsin daha çok ilk yeri ve ikinci yeri seçiceksin ve //çek blok kodu komutuyla orayı düzenlersin. Çek komutunu paralı itemli v.s kendin yapabileceğini düşünüyorum.
JavaScript:
command //balta:
    trigger:
        player is op
        give player wooden sword named "&e&k|||&bWorldEdit&e&k|||"
        send "&dWorldedit skripti için balta verildi." to player
       
On leftclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    player is op
    cancel event
    clicked block is not air
    set {we.pos2.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos2.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos2.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos1.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%)." to player
   
On rightclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    player is op
    cancel event
    clicked block is not air
    set {we.pos1.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos1.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos1.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos2.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİkinci koordinat seçildi (%{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİkinci koordinat seçildi %{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%)." to player
   
On break:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    player is op
    cancel event

command //çek <itemtype>:
    trigger:
        player is op
        if {we.sel.%player%::*} is not set:
            send "&cBalta ile ilk ve ikinci yeri seçmediniz." to player
            stop
        loop {we.sel.%player%::*}:
            block at loop-value is not argument
            set block at loop-value to argument
            add 1 to {_change}
        send "&d%{_change}% block(s) changed." to player
 

ErenKrblt

Ağaç Yumruklayıcı
Mesajlar
37
Beğeniler
8
Puanları
40
#7
Hocam teşekkürler de Op lar kullanabiliyor ben sadece O eşyayı Alan oyuncuların Kullanmasini istiyorum Ve Yetki olarak Verirmisiniz Eşya veya Para Değilde
 

Riaxetr

Şehit mi düştü asker? Cennet koktu da her yer..
Ehemmiyet
Mesajlar
178
Beğeniler
263
Puanları
570
Ruh Hali
#8
Buyrun sadece sk.worldedit iznine sahip olanlar kullanabilir.

JavaScript:
command //balta:
    permission: sk.worldedit
    permission message: &cBunu Yapmaya Yetkiniz Yok.
    trigger:
        player is op
        give player wooden sword named "&e&k|||&bWorldEdit&e&k|||"
        send "&dWorldedit skripti için balta verildi." to player
      
On leftclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event
    clicked block is not air
    set {we.pos2.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos2.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos2.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos1.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%)." to player
  
On rightclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event
    clicked block is not air
    set {we.pos1.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos1.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos1.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos2.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİkinci koordinat seçildi (%{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİkinci koordinat seçildi %{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%)." to player
  
On break:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event

command //çek <itemtype>:
    permission: sk.worldedit
    permission message: &cBunu Yapmaya Yetkiniz Yok.
    trigger:
        if {we.sel.%player%::*} is not set:
            send "&cBalta ile ilk ve ikinci yeri seçmediniz." to player
            stop
        loop {we.sel.%player%::*}:
            block at loop-value is not argument
            set block at loop-value to argument
            add 1 to {_change}
        send "&d%{_change}% block(s) changed." to player
 

ErenKrblt

Ağaç Yumruklayıcı
Mesajlar
37
Beğeniler
8
Puanları
40
#10
Buyrun sadece sk.worldedit iznine sahip olanlar kullanabilir.

JavaScript:
command //balta:
    permission: sk.worldedit
    permission message: &cBunu Yapmaya Yetkiniz Yok.
    trigger:
        player is op
        give player wooden sword named "&e&k|||&bWorldEdit&e&k|||"
        send "&dWorldedit skripti için balta verildi." to player
     
On leftclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event
    clicked block is not air
    set {we.pos2.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos2.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos2.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos1.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİlk koordinat seçildi. (%{we.pos2.x.%player%}%, %{we.pos2.y.%player%}%, %{we.pos2.z.%player%}%)." to player
 
On rightclick:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event
    clicked block is not air
    set {we.pos1.x.%player%} to rounded down x coordinate of clicked block
    set {we.pos1.y.%player%} to rounded down y coordinate of clicked block
    set {we.pos1.z.%player%} to rounded down z coordinate of clicked block
    set {_exloc} to location of player
    set {_rx} to rounded down x coord of player
    set {_ry} to rounded down y coord of player
    set {_rz} to rounded down z coord of player
    set {_0x} to location of block {_rx} west of block at {_exloc}
    set {_0y} to location of block {_ry} below block at {_0x}
    set {_0.0.0} to location of block {_rz} north of block at {_0y}
    if {we.pos2.x.%player%} is set:
        if {we.pos1.x.%player%} is greater than {we.pos2.x.%player%}:
            set {_xmax} to 1
            set {_xmin} to 2
        else:
            set {_xmax} to 2
            set {_xmin} to 1
        if {we.pos1.y.%player%} is greater than {we.pos2.y.%player%}:
            set {_ymax} to 1
            set {_ymin} to 2
        else:
            set {_ymax} to 2
            set {_ymin} to 1
        if {we.pos1.z.%player%} is greater than {we.pos2.z.%player%}:
            set {_zmax} to 1
            set {_zmin} to 2
        else:
            set {_zmax} to 2
            set {_zmin} to 1
        clear {we.sel.%player%::*}
        loop integers between {we.pos%{_xmin}%.x.%player%} and {we.pos%{_xmax}%.x.%player%}:
            set {_curx} to location of block loop-integer-1 east of block at {_0.0.0}
            loop integers between {we.pos%{_ymin}%.y.%player%} and {we.pos%{_ymax}%.y.%player%}:
                set {_cury} to location of block loop-integer-2 above block at {_curx}
                loop integers between {we.pos%{_zmin}%.z.%player%} and {we.pos%{_zmax}%.z.%player%}:
                    set {_final} to location of block loop-integer-3 south of block at {_cury}
                    add {_final} to {we.sel.%player%::*}
        send "&dİkinci koordinat seçildi (%{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%). (%size of {we.sel.%player%::*}%)" to player
    else:
        send "&dİkinci koordinat seçildi %{we.pos1.x.%player%}%, %{we.pos1.y.%player%}%, %{we.pos1.z.%player%}%)." to player
 
On break:
    player's tool is wooden sword named "&e&k|||&bWorldEdit&e&k|||"
    cancel event

command //çek <itemtype>:
    permission: sk.worldedit
    permission message: &cBunu Yapmaya Yetkiniz Yok.
    trigger:
        if {we.sel.%player%::*} is not set:
            send "&cBalta ile ilk ve ikinci yeri seçmediniz." to player
            stop
        loop {we.sel.%player%::*}:
            block at loop-value is not argument
            set block at loop-value to argument
            add 1 to {_change}
        send "&d%{_change}% block(s) changed." to player
Envanterden mi Alıyor ?
Ve Çalışmıyor Hocam Bu Skript Bende.
 

IRFN

Sonoyuncu.Network
Ehemmiyet
Mesajlar
1,018
Beğeniler
1,312
Puanları
3,800
#11
@ErenKrblt Ayarlardan use-inventory=true yaparsan, WorldEdit envanterde bulunan bloklarla çalışır sadece.
Yöneticilere, builderlara worldedit.inventory.unrestricted permini verirsen bypass olurlar.