Çözüldü ChestCommands Pusula

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

CrazyEmirV2

Zombi Geldi, Beni Yedi
Yasaklandı
Katılım
5 Kasım 2025
Mesajlar
226
Elmaslar
41
Puan
305
Konum
America
Minecraft
CrazyEmirV2
Öncelikle Merhabalar Çok Gelişmiş Aternos Sunucuma ChestCommands İle Oyunlar Pusulası Yapmak İstiyorum Pusulada Lobi Olsun Şehir Olsun BoxPvP ve Smp Şehire gitmek için /warp şehir BoxPvP için /warp boxpvp Smp İçin ise /warp smp Lobi içinde /hub Olacak Şekilde Yapacak Varmı Sürüm: 1.16.5
 
merhaba aşağıda menuyu bıraktım pusula olayı için skript ile yapabilirim oyuncu girdimi belirli slota pusula gelir ardıdan pusulaya sağ tıkladğında menu açılır

Kod:
menu-settings:
  name: '&cLobi menu'
  rows: 3
  commands:
  - 'menu'
  auto-refresh: 5
  open-actions:
  - 'tell: &eMenu açılıyor'
  open-with-item:
    material: compass
    left-click: false
    right-click: true


sehir:
  MATERIAL: enderpearl
  POSITION-X: 3
  POSITION-Y: 2
  NAME: '&eŞehir e gider'
  LORE:
    - '&7Tıkla ve şehire git'
  ACTIONS:
    - 'warp şehir'


boxpvp:
  MATERIAL: red_wool
  POSITION-X: 5
  POSITION-Y: 2
  NAME: '&cboxpvp ye gider'
  LORE:
    - '&7Tıkla ve boxpvp ye git'
  ACTIONS:
    - 'warp boxpvp'

smp:
  MATERIAL: grass_block
  POSITION-X: 7
  POSITION-Y: 2
  NAME: '&asmp ye gider'
  LORE:
    - '&7Tıkla ve smpye git'
  ACTIONS:
    - 'warp smp'
 
customjoinitems öneririm eğer ilk giriş için istediğiniz slota istediğiniz komutlu itemi vermek için
 
merhaba aşağıda menuyu bıraktım pusula olayı için skript ile yapabilirim oyuncu girdimi belirli slota pusula gelir ardıdan pusulaya sağ tıkladğında menu açılır

Kod:
menu-settings:
  name: '&cLobi menu'
  rows: 3
  commands:
  - 'menu'
  auto-refresh: 5
  open-actions:
  - 'tell: &eMenu açılıyor'
  open-with-item:
    material: compass
    left-click: false
    right-click: true


sehir:
  MATERIAL: enderpearl
  POSITION-X: 3
  POSITION-Y: 2
  NAME: '&eŞehir e gider'
  LORE:
    - '&7Tıkla ve şehire git'
  ACTIONS:
    - 'warp şehir'


boxpvp:
  MATERIAL: red_wool
  POSITION-X: 5
  POSITION-Y: 2
  NAME: '&cboxpvp ye gider'
  LORE:
    - '&7Tıkla ve boxpvp ye git'
  ACTIONS:
    - 'warp boxpvp'

smp:
  MATERIAL: grass_block
  POSITION-X: 7
  POSITION-Y: 2
  NAME: '&asmp ye gider'
  LORE:
    - '&7Tıkla ve smpye git'
  ACTIONS:
    - 'warp smp'
Skript İle Dediğim Özellikli Pusula Olursa Çok İyi Olur
 
Son düzenleme:
Kod:
on join:
    if world of player is "lobi":
        giveCompass(player)
on world change:
    if world of player is "lobi":
        giveCompass(player)

function giveCompass(p: player):
    clear slot 4 of {_p}'s inventory
    set slot 4 of {_p}'s inventory to compass named "&aMenü Pusulası"
    enchant slot 4 of {_p}'s inventory with unbreaking 10
    set {menuPusula::%uuid of {_p}%} to true

on right click:
    if player's tool is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
            execute player command "menu"
on drop:
    if event-item is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
on inventory click:
    if {menuPusula::%uuid of player%} is true:
        cancel event
 
Kod:
on join:
    if world of player is "lobi":
        giveCompass(player)
on world change:
    if world of player is "lobi":
        giveCompass(player)

function giveCompass(p: player):
    clear slot 4 of {_p}'s inventory
    set slot 4 of {_p}'s inventory to compass named "&aMenü Pusulası"
    enchant slot 4 of {_p}'s inventory with unbreaking 10
    set {menuPusula::%uuid of {_p}%} to true

on right click:
    if player's tool is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
            execute player command "menu"
on drop:
    if event-item is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
on inventory click:
    if {menuPusula::%uuid of player%} is true:
        cancel event
Bu Skriptde BoxPvP Şehir Smp Ve Lobi Dünyası Varmı Göremedimde
 
Bu Skriptde BoxPvP Şehir Smp Ve Lobi Dünyası Varmı Göremedimde
Arkadaşın yazdığı Skript'te oyuncu pusulaya sağ tıkladığında oyuncuya /menü komutunu girdiriyor, yukarıda da menü config'ini vermiş bu ikisini entegre ederek kullanacaksınız.
 
Arkadaşın yazdığı Skript'te oyuncu pusulaya sağ tıkladığında oyuncuya /menü komutunu girdiriyor, yukarıda da menü config'ini vermiş bu ikisini entegre ederek kullanacaksınız.
Tamamdır Teşekkür Ederim Sunucumda Deneyip Geri Dönüş Yapacağım
 
Kod:
on join:
    if world of player is "lobi":
        giveCompass(player)
on world change:
    if world of player is "lobi":
        giveCompass(player)

function giveCompass(p: player):
    clear slot 4 of {_p}'s inventory
    set slot 4 of {_p}'s inventory to compass named "&aMenü Pusulası"
    enchant slot 4 of {_p}'s inventory with unbreaking 10
    set {menuPusula::%uuid of {_p}%} to true

on right click:
    if player's tool is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
            execute player command "menu"
on drop:
    if event-item is compass:
        if {menuPusula::%uuid of player%} is true:
            cancel event
on inventory click:
    if {menuPusula::%uuid of player%} is true:
        cancel event
Envanterime Pusula Gelmedi Ama
 
Ayarladım Fakat Pusulayı Opsizler Kullanabilirmi Ve Pusulaya Sağ Tıklayınca Işınlıyo Önümüzdeki Yere
op u olmayan kullana bilir o ışınlama olayı world edit den kaynaklı ayarı kapatırsanız çalışıçaktır
 
world editin config.yml sini iletirmisiniz
 
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