Çözüldü Komut Skript Yardımı

  • Konuyu Başlatan Konuyu Başlatan Poftuq
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 591
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Hocam false yapınca olmuyorda -1 yaptım bu sefer hiç çıkmıyor opdede op olmayanlardada
spigot.yml: tab-complete değerini tekrar 0 yap.
false kalsın

Kod:
on tab complete:
    if player does not have permission "admin":
        # Önce gelen tüm önerileri (plugins, essentials vs) tamamen siler
        clear tab completions
        
        # Sadece senin istediğin komutları listeye ekler
        # Oyuncu "/" yazınca sadece bunlar çıkar
        add "/gardiyan" to tab completions
        add "/kurallar" to tab completions
        add "/günlüködül" to tab completions

# Gardiyan komutunun kendi içindeki "getir" tabını ayrıca koruyoruz:
on tab complete of "/gardiyan":
    if player does not have permission "admin":
        clear tab completions
        set tab completions for position 1 to "getir"
 
ho
spigot.yml: tab-complete değerini tekrar 0 yap.
false kalsın

Kod:
on tab complete:
    if player does not have permission "admin":
        # Önce gelen tüm önerileri (plugins, essentials vs) tamamen siler
        clear tab completions
       
        # Sadece senin istediğin komutları listeye ekler
        # Oyuncu "/" yazınca sadece bunlar çıkar
        add "/gardiyan" to tab completions
        add "/kurallar" to tab completions
        add "/günlüködül" to tab completions

# Gardiyan komutunun kendi içindeki "getir" tabını ayrıca koruyoruz:
on tab complete of "/gardiyan":
    if player does not have permission "admin":
        clear tab completions
        set tab completions for position 1 to "getir"
hocam skript çalışıyor ama hala gözüküyor malesef
 
ho

hocam skript çalışıyor ama hala gözüküyor malesef
Kod:
# TÜM KOMUTLARI GİZLEME VE ÖZEL LİSTE (ZORLAYICI)
on tab complete:
    # Eğer oyuncu admin değilse (OP değilse)
    if player does not have permission "admin":
        # Mevcut tüm önerileri (Essentials, Minecraft vb.) tamamen siler
        clear tab completions
        
        # Sadece senin istediğin ana komutları buraya ekle
        add "/gardiyan" to tab completions
        add "/kurallar" to tab completions
        add "/günlüködül" to tab completions

# /gardiyan yazınca "getir" çıkması için özel ayar
on tab complete of "/gardiyan":
    if player does not have permission "admin":
        # Üstteki event her şeyi sildiği için burada "getir"i tekrar tanımlıyoruz
        set tab completions for position 1 to "getir"
tab-complete değerini mutlaka 0 yapın hocam.
yetkisiz bir hesapla bakın hocam
 
Hocam yapmak istediğim şeyi anlatayım aslında plugin ilede oluyormuşta ben beceremedim benim yapmak istediğim chatte bir komut yazıldığında tab tamamlaması oluyor ya mesela /günlüködül diye komut var /günlük yazınca tabda hemen chatte /günlüködül çıkıyor tab ile tamamlayabiliyoruz buna özel komutlar yaparak eklemek istiyorum mesela ben /gardiyan /günlüködül /kurallar yazınca belirlediğim menüleeri yada komutları açsın fakat bunlarıda tab tamamlamada göstersin 2li komut olsa bile örneğin /gardiyan getir gibi 2li komutlarıda tabda göstersin MyCommand eklentisini yaptım register true yapınca cıkıyor komut ama /gardiyan getir olunca 2. yi görmüyor tabda göstermiyor register false yapmam gerekiyor çalışıyor ama tabda gözükmüyor bu sefer bunu çözmek istiyorum
Hocam skript'e gerek yok, olabildiğince az skript kullanın sunucunuzda. Skript artık eskide kaldı, sunucunun performansını çok etkiliyor. CommandWhitelist sizin bütün sorununuzu çözecektir. Oyuncuların girmesini istediğiniz komutları eklersiniz, / yazıp tab'a bastığında sadece o komutlar çıkar. Orda olmayan komutlar ekstra olarak gözükmez.
 
Hocam skript'e gerek yok, olabildiğince az skript kullanın sunucunuzda. Skript artık eskide kaldı, sunucunun performansını çok etkiliyor. CommandWhitelist sizin bütün sorununuzu çözecektir. Oyuncuların girmesini istediğiniz komutları eklersiniz, / yazıp tab'a bastığında sadece o komutlar çıkar. Orda olmayan komutlar ekstra olarak gözükmez.

Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

 

Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Hocam bu cevabı ben yazdığımda değil, keşke en başında verseydiniz de bu kadar arkadaş uğraşmamış olsaydı. Verdiğiniz tab-completed çözümü yanlış, hiç bir şekilde çözümü yok o ayar ile. Çok fazla karışıklığa sebep olabilir yanlış bilgiler, dikkatli olmakta fayda var.
 
Hocam bu cevabı ben yazdığımda değil, keşke en başında verseydiniz de bu kadar arkadaş uğraşmamış olsaydı. Verdiğiniz tab-completed çözümü yanlış, hiç bir şekilde çözümü yok o ayar ile. Çok fazla karışıklığa sebep olabilir yanlış bilgiler, dikkatli olmakta fayda var.
Skript üstünden gidiyoruz hocam zaten olmasaydı arkadaşa önericektim pluginleri
 
Skript üstünden gidiyoruz hocam zaten olmasaydı arkadaşa önericektim pluginleri
Hayır demek istediğim o değil, en başından önerseydiniz uğraşmazdınız zaten. Onun yerine eklentinin anlatımını yapsaydınız daha az yorulurdunuz. Verdiğiniz "tab-completed" ayarları zaten çalışmıyor belli komutlar için ayarlayamazsınız, skript ile de olmaz bu iş. Ve verdiğiniz skriptlerde o kadar kötü ki kodları, performans namına hiç bir şey yok tamamen performans kaybı. Dikkatli olmak gerekiyor, yeni başlayan arkadaşlara yardımcı olurken her hangi bir eksik/yanlış bilgi ilerleyememesine sebep olabilir. Destek olmanız çok güzel bir şey, hep böyle devam edersiniz umarım ama yanlış bilgi değil de doğru bildiğimizi okumakta fayda var.
 
Bu plugini indirdim şimdi defaultta şu an hiç / gözükmüyor

1774819283369.webp

Kod:
# Here you can create different groups to show only certain commands
# in tab completion. You must give the easycommandblocker.tab.<group>
# permission to players for using this option.
# The default group will apply to ALL users that don't have a group permission set.
# Don't remove the default group.
tab:
  # Name of the group.
  default:
    # The priority works to define which group a player must use first if they
    # have more than one group permission. A higher priority means the
    # group will be selected first.
    priority: 0

    # A list of commands to show on tab completion. The command must
    # include the "/".
    commands: []
  vip:
    priority: 1

    # You can add the "extends" option to inherit commands from another
    # group. Doing so allows you to not repeat commands.
    extends: default

    commands:
      - "/home"

# Actions to be executed when a user tries to use a blocked command.
blocked_command_default_actions:
  - "message: &8[&b&lECB&8] &cYou don't have permissions to use that command."
  - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"
  - "title: 20;40;20;&cWhat are you doing?;&7Don't use that command!"

# Whether the plugin should send notifications on join to OP
# players if an update is found
update_notify: true

# Option only in backend server.
# Set it to true if you are using ECB in both the proxy and the backend.
is_network: false

# Option only in backend server.
# Set it to true if you are using a 1.12- server or want to add compatibility
# with 1.12- versions.
# Requires ProtocolLib.
# For this option to apply you must restart your server.
legacy_support: false

# If you set this option to true, the list below will serve as a whitelist instead,
# meaning the listed commands will be allowed and all others will be blocked.
use_commands_as_whitelist: false

# List of commands to block.
commands:
  - "/?"
  - "/bukkit:?"
  - "/bukkit:ver"
  - "/bukkit:version"
  - "/bukkit:pl"
  - "/bukkit:plugins"
  - "/bukkit:help"
  - "/bukkit:about"
  - "/ver"
  - "/version"
  - "/plugins"
  - "/pl"
  - "/minecraft:me"
  - "/about"
  - "/icanhasbukkit"

# Block all commands that contain ":".
block_colon_commands: false

# Here you can define group of commands that will execute certain actions.
# The example1 section defines that commands like /ver or /version will kick
# the player from the server, instead of using the default actions. You MUST use
# the same commands defined in the previous list.
# If you don't want custom command actions, you can delete this whole section.
custom_commands_actions:
  example1:
    commands:
      - "/ver"
      - "/version"
      - "/about"
    actions:
      - "console_command: kick %player% You can't see the version of the server!"
 
Hayır demek istediğim o değil, en başından önerseydiniz uğraşmazdınız zaten. Onun yerine eklentinin anlatımını yapsaydınız daha az yorulurdunuz. Verdiğiniz "tab-completed" ayarları zaten çalışmıyor belli komutlar için ayarlayamazsınız, skript ile de olmaz bu iş. Ve verdiğiniz skriptlerde o kadar kötü ki kodları, performans namına hiç bir şey yok tamamen performans kaybı. Dikkatli olmak gerekiyor, yeni başlayan arkadaşlara yardımcı olurken her hangi bir eksik/yanlış bilgi ilerleyememesine sebep olabilir. Destek olmanız çok güzel bir şey, hep böyle devam edersiniz umarım ama yanlış bilgi değil de doğru bildiğimizi okumakta fayda var.
Teşekkür ederim hocam arkadaşta ben skript dediğim için öyle yardımcı oldu sağolsun iyi niyetinize şüphem yok ikinizinde ben acemiyim biraz uğraştırıyorum o yüzden kusura bakmayın ikinizde değerli vaktinizi ayırıyorsunuz
 
Bu plugini indirdim şimdi defaultta şu an hiç / gözükmüyor

Ekli dosyayı görüntüle 284333
Kod:
# Here you can create different groups to show only certain commands
# in tab completion. You must give the easycommandblocker.tab.<group>
# permission to players for using this option.
# The default group will apply to ALL users that don't have a group permission set.
# Don't remove the default group.
tab:
  # Name of the group.
  default:
    # The priority works to define which group a player must use first if they
    # have more than one group permission. A higher priority means the
    # group will be selected first.
    priority: 0

    # A list of commands to show on tab completion. The command must
    # include the "/".
    commands: []
  vip:
    priority: 1

    # You can add the "extends" option to inherit commands from another
    # group. Doing so allows you to not repeat commands.
    extends: default

    commands:
      - "/home"

# Actions to be executed when a user tries to use a blocked command.
blocked_command_default_actions:
  - "message: &8[&b&lECB&8] &cYou don't have permissions to use that command."
  - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"
  - "title: 20;40;20;&cWhat are you doing?;&7Don't use that command!"

# Whether the plugin should send notifications on join to OP
# players if an update is found
update_notify: true

# Option only in backend server.
# Set it to true if you are using ECB in both the proxy and the backend.
is_network: false

# Option only in backend server.
# Set it to true if you are using a 1.12- server or want to add compatibility
# with 1.12- versions.
# Requires ProtocolLib.
# For this option to apply you must restart your server.
legacy_support: false

# If you set this option to true, the list below will serve as a whitelist instead,
# meaning the listed commands will be allowed and all others will be blocked.
use_commands_as_whitelist: false

# List of commands to block.
commands:
  - "/?"
  - "/bukkit:?"
  - "/bukkit:ver"
  - "/bukkit:version"
  - "/bukkit:pl"
  - "/bukkit:plugins"
  - "/bukkit:help"
  - "/bukkit:about"
  - "/ver"
  - "/version"
  - "/plugins"
  - "/pl"
  - "/minecraft:me"
  - "/about"
  - "/icanhasbukkit"

# Block all commands that contain ":".
block_colon_commands: false

# Here you can define group of commands that will execute certain actions.
# The example1 section defines that commands like /ver or /version will kick
# the player from the server, instead of using the default actions. You MUST use
# the same commands defined in the previous list.
# If you don't want custom command actions, you can delete this whole section.
custom_commands_actions:
  example1:
    commands:
      - "/ver"
      - "/version"
      - "/about"
    actions:
      - "console_command: kick %player% You can't see the version of the server!"
tab:
# Name of the group.
default:
# The priority works to define which group a player must use first if they
# have more than one group permission. A higher priority means the
# group will be selected first.
priority: 0

# A list of commands to show on tab completion. The command must
# include the "/".

commands: []

Bu kısıma oyuncularınızın görmesini istediğiniz yetkileri commands kısmına yazmanız gerekiyor örneğin;

commands:
- "/günlüködül"
- "/gardiyan ekle"
- "/gardiyan"

Forumda yanıt verirken boşluklar bozulabiliyor, configde örneğini vermiş ona göre hizalarsınız.
 
Bu plugini indirdim şimdi defaultta şu an hiç / gözükmüyor

Ekli dosyayı görüntüle 284333
Kod:
# Here you can create different groups to show only certain commands
# in tab completion. You must give the easycommandblocker.tab.<group>
# permission to players for using this option.
# The default group will apply to ALL users that don't have a group permission set.
# Don't remove the default group.
tab:
  # Name of the group.
  default:
    # The priority works to define which group a player must use first if they
    # have more than one group permission. A higher priority means the
    # group will be selected first.
    priority: 0

    # A list of commands to show on tab completion. The command must
    # include the "/".
    commands: []
  vip:
    priority: 1

    # You can add the "extends" option to inherit commands from another
    # group. Doing so allows you to not repeat commands.
    extends: default

    commands:
      - "/home"

# Actions to be executed when a user tries to use a blocked command.
blocked_command_default_actions:
  - "message: &8[&b&lECB&8] &cYou don't have permissions to use that command."
  - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"
  - "title: 20;40;20;&cWhat are you doing?;&7Don't use that command!"

# Whether the plugin should send notifications on join to OP
# players if an update is found
update_notify: true

# Option only in backend server.
# Set it to true if you are using ECB in both the proxy and the backend.
is_network: false

# Option only in backend server.
# Set it to true if you are using a 1.12- server or want to add compatibility
# with 1.12- versions.
# Requires ProtocolLib.
# For this option to apply you must restart your server.
legacy_support: false

# If you set this option to true, the list below will serve as a whitelist instead,
# meaning the listed commands will be allowed and all others will be blocked.
use_commands_as_whitelist: false

# List of commands to block.
commands:
  - "/?"
  - "/bukkit:?"
  - "/bukkit:ver"
  - "/bukkit:version"
  - "/bukkit:pl"
  - "/bukkit:plugins"
  - "/bukkit:help"
  - "/bukkit:about"
  - "/ver"
  - "/version"
  - "/plugins"
  - "/pl"
  - "/minecraft:me"
  - "/about"
  - "/icanhasbukkit"

# Block all commands that contain ":".
block_colon_commands: false

# Here you can define group of commands that will execute certain actions.
# The example1 section defines that commands like /ver or /version will kick
# the player from the server, instead of using the default actions. You MUST use
# the same commands defined in the previous list.
# If you don't want custom command actions, you can delete this whole section.
custom_commands_actions:
  example1:
    commands:
      - "/ver"
      - "/version"
      - "/about"
    actions:
      - "console_command: kick %player% You can't see the version of the server!"
Kod:
# EasyCommandBlocker - Özel Beyaz Liste Yapılandırması
tab:
  default:
    priority: 0
    # Sadece bu komutlar Tab listesinde (önerilerde) görünecek:
    commands:
      - "/gardiyan"
      - "/kurallar"
      - "/günlüködül"

# --- Kritik Ayarlar ---

# BU AYAR TRUE OLMALI: Yukardaki liste dışındaki her şeyi GİZLER.
use_commands_as_whitelist: true

# İki nokta içeren komutları (örn: /minecraft:me) tamamen engeller.
block_colon_commands: true

# Beyaz liste modunda olduğumuz için burayı boş bırakıyoruz.
commands: []

# --- Diğer Ayarlar ---

blocked_command_default_actions:
  - "message: &8[&b&lSistem&8] &cBu komutu kullanma yetkiniz yok!"
  - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"

update_notify: true
is_network: false
legacy_support: false

custom_commands_actions:
  example1:
    commands:
      - "/plugins"
      - "/pl"
      - "/ver"
    actions:
      - "message: &cSunucu eklentilerini görmeye yetkiniz yok!"

kod yapay zeka tarafından %20 lık kısmı düzeltilmiştir
 
Hocam plugini indirdim ayarları yapıştırdım restart attım op olmayan hesapla bakıyorum

1774821241586.webp


yazdığım komutlar gözükmüyorda perm falan mı vermem lazım default gruba
 
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