Çözüldü GUi de yapılan işlemleri chatte görme

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Eğerki İlk Attıgın Hali Düzgün Çalışıyorsa Mesaj Ekledim Bende Bu Haline Hata Yok Fakat Oyun İçerisinde Denemedim Cevap Vermeni Bekliyorum​
Kod:
command /rehber <offlineplayer>:
    usage: /rehber oyuncu ismi
    aliases: /rehber
    permission: "rehber.use"
    permission message: &c&lHata&7> &9Yetkin Yok!
    trigger:
        if player is an op:
            open chest with 4 rows named "&4&lRehber Menü" to player
            format slot 2 of player with 1 of red dye named "&a&l7 Gün Ban" with lore "&9&l7 gün" to close then run [execute console command "ban %arg 1%  7 day &a&l[Rehber tarafindan 7 Gün Ban yediniz"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 7 Gün Banladı"] 
            format slot 11 of player with 1 of yellow dye named "&a&l3 Gün Ban" with lore "&9&l3 gün" to close then run [execute console command "ban %arg 1% 3 day &a&l[Rehber tarafindan 3 Gün Ban yediniz"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 3 Gün Banladı"]
            format slot 20 of player with 1 of green dye named "&a&l Ban kaldır" with lore "&9&lAffet" to close then run [execute console command "ban %arg 1% 0 sec   "]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncunun Banını Kaldırdı"]
            format slot 4 of player with 1 of red dye named "&a&l7 Gün Mute" with lore "&9&l7 gün" to close then run [execute console command "mute %arg 1% 7 day &a&l[7 Gün Mute"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 7 Gün Susturdu"]
            format slot 13 of player with 1 of yellow dye named "&a&l1 Gün Mute" with lore "&9&l1 gün" to close then run [execute console command "mute %arg 1% 1 day &a&l[1 Gün Mute"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 1 Gün Susturdu"]
            format slot 22 of player with 1 of green dye named "&a&lMute kaldır" with lore "&9&lMute kaldır" to close then run [execute console command "mute %arg 1% 0 seconds &a&l[Mute kalktı"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncunun Susturma Cezasını Kaldırdı"]
 
Eğerki İlk Attıgın Hali Düzgün Çalışıyorsa Mesaj Ekledim Bende Bu Haline Hata Yok Fakat Oyun İçerisinde Denemedim Cevap Vermeni Bekliyorum​
Kod:
command /rehber <offlineplayer>:
    usage: /rehber oyuncu ismi
    aliases: /rehber
    permission: "rehber.use"
    permission message: &c&lHata&7> &9Yetkin Yok!
    trigger:
        if player is an op:
            open chest with 4 rows named "&4&lRehber Menü" to player
            format slot 2 of player with 1 of red dye named "&a&l7 Gün Ban" with lore "&9&l7 gün" to close then run [execute console command "ban %arg 1%  7 day &a&l[Rehber tarafindan 7 Gün Ban yediniz"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 7 Gün Banladı"]
            format slot 11 of player with 1 of yellow dye named "&a&l3 Gün Ban" with lore "&9&l3 gün" to close then run [execute console command "ban %arg 1% 3 day &a&l[Rehber tarafindan 3 Gün Ban yediniz"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 3 Gün Banladı"]
            format slot 20 of player with 1 of green dye named "&a&l Ban kaldır" with lore "&9&lAffet" to close then run [execute console command "ban %arg 1% 0 sec   "]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncunun Banını Kaldırdı"]
            format slot 4 of player with 1 of red dye named "&a&l7 Gün Mute" with lore "&9&l7 gün" to close then run [execute console command "mute %arg 1% 7 day &a&l[7 Gün Mute"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 7 Gün Susturdu"]
            format slot 13 of player with 1 of yellow dye named "&a&l1 Gün Mute" with lore "&9&l1 gün" to close then run [execute console command "mute %arg 1% 1 day &a&l[1 Gün Mute"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncuyu 1 Gün Susturdu"]
            format slot 22 of player with 1 of green dye named "&a&lMute kaldır" with lore "&9&lMute kaldır" to close then run [execute console command "mute %arg 1% 0 seconds &a&l[Mute kalktı"]-> [broadcast "&aBilgi &6» &c%player% Adlı Yetkili &6%arg-1% &6İsimli Oyuncunun Susturma Cezasını Kaldırdı"]
Olmaz ise bunu deneyin. Ben denemedim ama çalışır diye düşünüyorum.
PHP:
command /rehber <offlineplayer>:
    usage: /rehber oyuncu ismi
    aliases: /rehber
    permission: "rehber.use"
    permission message: &c&lHata&7> &9Yetkin Yok!
    trigger:
        if player is an op:
        open chest with 4 rows named "&4&lRehber Menü" to player

        format slot 2 of player with 1 of red dye named "&a&l7 Gün Ban" with lore "&9&l7 gün" to close then run [invoke "ban" from arg 1 and player and "7"
        format slot 11 of player with 1 of yellow dye named "&a&l3 Gün Ban" with lore "&9&l3 gün" to close then run [invoke "ban" from arg 1 and player and "3"]

        format slot 20 of player with 1 of green dye named "&a&l Ban kaldır" with lore "&9&lAffet" to close then run [invoke "ban" from arg 1 and player and "kaldir"]

        format slot 4 of player with 1 of red dye named "&a&l7 Gün Mute" with lore "&9&l7 gün" to close then run [invoke "mute" from arg 1 and player and "7"]

        format slot 13 of player with 1 of yellow dye named "&a&l1 Gün Mute" with lore "&9&l1 gün" to close then run [invoke "mute" from arg 1 and player and "1"]

        format slot 22 of player with 1 of green dye named "&a&lMute kaldır" with lore "&9&lMute kaldır" to close then run [invoke "mute" from arg 1 and player and "kaldir"]


sub "ban":
  set {_p} to parameter 1
  if "%parameter 3%" is "7":
    make console execute command "tempban %{_p}% 7d &a&lRehber tarafindan 7 Gün Ban yediniz."
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncuyu 7 gun banladi!"
  if "%parameter 3%" is "3":
    make console execute command "tempban %{_p}% 3d &a&lRehber tarafindan 3 Gün Ban yediniz."
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncuyu 3 gun banladi!"
  if "%parameter 3%" is "kaldir":
    make console execute command "pardon %{_p}%"
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncunun banini acti."

sub "mute":
  set {_p} to parameter 1
  if "%parameter 3%" is "7":
    make console execute command "mute %{_p}% 7d &a&lRehber tarafindan 7 Gün Mute yediniz."
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncuyu 7 gun susturuldu!"
  if "%parameter 3%" is "3":
    make console execute command "mute %{_p}% 3d &a&lRehber tarafindan 3 Gün Mute yediniz."
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncuyu 3 gun susturuldu!"
  if "%parameter 3%" is "kaldir":
    make console execute command "mute %{_p}%"
    broadcast "&a%parameter 2% &7adli yetkili &a%{_p}% &7adli oyuncunun mutesini acti."
 
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