Çö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...
plugins > Skript > scripts doğru yapıyorsunuz değilmi hocam
/sk reload chest menus.sk yapıyorsunuz değilmi
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 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
Kod:
# --- 1. TEKLİ KOMUTLAR ---

command /kurallar:
    trigger:
        # Buraya kurallar menüsünü açacak komudu yaz
        execute player command "/dm open kurallar"

command /günlüködül:
    trigger:
        # Buraya günlük ödül komudunu yaz
        execute player command "/dailyrewards"

# --- 2. ARGÜMANLI KOMUT (GARDİYAN) ---

command /gardiyan [<text>]:
    trigger:
        if arg-1 is not set:
            execute player command "/islandnpc menu"
        else if arg-1 is "getir":
            execute player command "/islandnpc location"
        else:
            send "&cGeçersiz kullanım! &7Doğru kullanım: /gardiyan veya /gardiyan getir"

# --- 3. TAB TAMAMLAMA AYARLARI (SkBee GEREKTİRİR) ---

on tab complete of "/gardiyan":
    set tab completions for position 1 to "getir"

on tab complete of "/kurallar":
    # Tekli komut olduğu için boş bırakabilirsin veya ek seçenek sunabilirsin
    clear tab completions

on tab complete of "/günlüködül":
    clear tab completions

  • /plugins/Skript/scripts/ klasörüne gir.
  • Yeni bir metin belgesi aç, adını ozel_komutlar.sk yap.
  • Yukarıdaki kodu yapıştır ve kaydet.
  • Oyun içinden /sk reload ozel_komutlar.sk yaz.
 
Kod:
# --- 1. TEKLİ KOMUTLAR ---

command /kurallar:
    trigger:
        # Buraya kurallar menüsünü açacak komudu yaz
        execute player command "/dm open kurallar"

command /günlüködül:
    trigger:
        # Buraya günlük ödül komudunu yaz
        execute player command "/dailyrewards"

# --- 2. ARGÜMANLI KOMUT (GARDİYAN) ---

command /gardiyan [<text>]:
    trigger:
        if arg-1 is not set:
            execute player command "/islandnpc menu"
        else if arg-1 is "getir":
            execute player command "/islandnpc location"
        else:
            send "&cGeçersiz kullanım! &7Doğru kullanım: /gardiyan veya /gardiyan getir"

# --- 3. TAB TAMAMLAMA AYARLARI (SkBee GEREKTİRİR) ---

on tab complete of "/gardiyan":
    set tab completions for position 1 to "getir"

on tab complete of "/kurallar":
    # Tekli komut olduğu için boş bırakabilirsin veya ek seçenek sunabilirsin
    clear tab completions

on tab complete of "/günlüködül":
    clear tab completions

  • /plugins/Skript/scripts/ klasörüne gir.
  • Yeni bir metin belgesi aç, adını ozel_komutlar.sk yap.
  • Yukarıdaki kodu yapıştır ve kaydet.
  • Oyun içinden /sk reload ozel_komutlar.sk yaz.
Şimdi oldu teşekkür ederim gerçekten bir sorum daha olucaktı sunucudaki kodları kapatmayı nasıl yapabilirim mesela / yazınca otomatikmen bütün komutlar çıkıyor tab completede sadece bu belirlediğim komutlar olsun istiyorum yapabilir miyim
 
Şimdi oldu teşekkür ederim gerçekten bir sorum daha olucaktı sunucudaki kodları kapatmayı nasıl yapabilirim mesela / yazınca otomatikmen bütün komutlar çıkıyor tab completede sadece bu belirlediğim komutlar olsun istiyorum yapabilir miyim
  • Sunucu dosyalarından config/paper-global.yml (eski sürümlerde paper.yml) dosyasını aç.
  • tab-completion kısmını bul.
  • Aşağıdaki ayarları şu şekilde değiştir:

    YAML

    Kod:
    tab-completion:
      # Oyuncuların sadece yetkisi olduğu komutları görmesini sağlar
      restrict-player-rel-tab-completion: true
 
  • Sunucu dosyalarından config/paper-global.yml (eski sürümlerde paper.yml) dosyasını aç.
  • tab-completion kısmını bul.
  • Aşağıdaki ayarları şu şekilde değiştir:

    YAML

    Kod:
    tab-completion:
      # Oyuncuların sadece yetkisi olduğu komutları görmesini sağlar
      restrict-player-rel-tab-completion: true
Kod:
# This is the global configuration file for Paper.
# As you can see, there's a lot to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or check the docs page.
#
# The world configuration options have been moved inside
# their respective world folder. The files are named paper-world.yml
#
# Docs: https://docs.papermc.io/
# Discord: https://discord.gg/papermc
# Website: https://papermc.io/

_version: 29
anticheat:
  obfuscation:
    items:
      all-models:
        also-obfuscate: []
        dont-obfuscate:
        - minecraft:lodestone_tracker
        sanitize-count: true
      enable-item-obfuscation: false
      model-overrides:
        minecraft:elytra:
          also-obfuscate: []
          dont-obfuscate:
          - minecraft:damage
          sanitize-count: true
block-updates:
  disable-chorus-plant-updates: false
  disable-mushroom-block-updates: false
  disable-noteblock-updates: false
  disable-tripwire-updates: false
chunk-loading-advanced:
  auto-config-send-distance: true
  player-max-concurrent-chunk-generates: 0
  player-max-concurrent-chunk-loads: 0
chunk-loading-basic:
  player-max-chunk-generate-rate: -1.0
  player-max-chunk-load-rate: 100.0
  player-max-chunk-send-rate: 75.0
chunk-system:
  gen-parallelism: default
  io-threads: -1
  worker-threads: -1
collisions:
  enable-player-collisions: true
  send-full-pos-for-hard-colliding-entities: true
commands:
  ride-command-allow-player-as-vehicle: false
  suggest-player-names-when-null-tab-completions: true
  time-command-affects-all-worlds: false
console:
  enable-brigadier-completions: true
  enable-brigadier-highlighting: true
  has-all-permissions: false
item-validation:
  book:
    author: 8192
    page: 16384
    title: 8192
  book-size:
    page-max: 2560
    total-multiplier: 0.98
  display-name: 8192
  lore-line: 8192
  resolve-selectors-in-books: false
logging:
  deobfuscate-stacktraces: true
messages:
  kick:
    authentication-servers-down: <lang:multiplayer.disconnect.authservers_down>
    connection-throttle: Connection throttled! Please wait before reconnecting.
    flying-player: <lang:multiplayer.disconnect.flying>
    flying-vehicle: <lang:multiplayer.disconnect.flying>
  no-permission: <red>I'm sorry, but you do not have permission to perform this command.
    Please contact the server administrators if you believe that this is in error.
  use-display-name-in-quit-message: false
misc:
  chat-threads:
    chat-executor-core-size: -1
    chat-executor-max-size: -1
  client-interaction-leniency-distance: default
  compression-level: default
  fix-entity-position-desync: true
  load-permissions-yml-before-plugins: true
  max-joins-per-tick: 5
  region-file-cache-size: 256
  strict-advancement-dimension-check: false
  use-alternative-luck-formula: false
  use-dimension-type-for-custom-spawners: false
packet-limiter:
  all-packets:
    action: KICK
    interval: 7.0
    max-packet-rate: 500.0
  kick-message: <red><lang:disconnect.exceeded_packet_rate>
  overrides:
    ServerboundPlaceRecipePacket:
      action: DROP
      interval: 4.0
      max-packet-rate: 5.0
player-auto-save:
  max-per-tick: -1
  rate: -1
proxies:
  bungee-cord:
    online-mode: true
  proxy-protocol: false
  velocity:
    enabled: false
    online-mode: true
    secret: ''
scoreboards:
  save-empty-scoreboard-teams: true
  track-plugin-scoreboards: false
spam-limiter:
  incoming-packet-threshold: 300
  recipe-spam-increment: 1
  recipe-spam-limit: 20
  tab-spam-increment: 1
  tab-spam-limit: 500
spark:
  enable-immediately: false
  enabled: true
unsupported-settings:
  allow-headless-pistons: false
  allow-permanent-block-break-exploits: false
  allow-piston-duplication: false
  allow-unsafe-end-portal-teleportation: false
  compression-format: ZLIB
  perform-username-validation: true
  skip-tripwire-hook-placement-validation: false
  skip-vanilla-damage-tick-when-shield-blocked: false
  update-equipment-on-player-actions: true
watchdog:
  early-warning-delay: 10000
  early-warning-every: 5000


Paper-global.yml de bu şekilde yazıyor bulamadımda o ayarı
 
  • Sunucu dosyalarından config/paper-global.yml (eski sürümlerde paper.yml) dosyasını aç.
  • tab-completion kısmını bul.
  • Aşağıdaki ayarları şu şekilde değiştir:

    YAML

    Kod:
    tab-completion:
      # Oyuncuların sadece yetkisi olduğu komutları görmesini sağlar
      restrict-player-rel-tab-completion: true
Spigot.yml dosyasında şu şekilde tab-completion buldumda burası mı acaba
Kod:
# This is the main configuration file for Spigot.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
#
# If you need help with the configuration or have any questions related to Spigot,
# join us at the Discord or drop by our forums and leave a post.
#
# Discord: https://www.spigotmc.org/go/discord
# Forums: http://www.spigotmc.org/

settings:
  debug: false
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  log-villager-deaths: true
  log-named-deaths: true
  user-cache-size: 1000
  attribute:
    maxAbsorption:
      max: 2048.0
    maxHealth:
      max: 1024.0
    movementSpeed:
      max: 1024.0
    attackDamage:
      max: 2048.0
  player-shuffle: 0
  netty-threads: 4
  save-user-cache-on-stop-only: false
  sample-count: 12
  moved-too-quickly-multiplier: 10.0
  moved-wrongly-threshold: 0.0625
  bungeecord: false
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
world-settings:
  default:
    below-zero-generation-in-existing-chunks: true
    enable-zombie-pigmen-portal-spawns: true
    zombie-aggressive-towards-villager: true
    simulation-distance: default
    view-distance: default
    end-portal-sound-radius: 0
    hanging-tick-frequency: 100
    dragon-death-sound-radius: 0
    wither-spawn-sound-radius: 0
    mob-spawn-range: 8
    arrow-despawn-rate: 1200
    trident-despawn-rate: 1200
    nerf-spawner-mobs: false
    item-despawn-rate: 6000
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      beetroot-modifier: 100
      carrot-modifier: 100
      potato-modifier: 100
      torchflower-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
      bamboo-modifier: 100
      sweetberry-modifier: 100
      kelp-modifier: 100
      twistingvines-modifier: 100
      weepingvines-modifier: 100
      cavevines-modifier: 100
      glowberry-modifier: 100
      pitcherplant-modifier: 100
    entity-tracking-range:
      players: 128
      animals: 96
      monsters: 96
      misc: 96
      display: 128
      other: 64
    max-tnt-per-tick: 100
    seed-village: 10387312
    seed-desert: 14357617
    seed-igloo: 14357618
    seed-jungle: 14357619
    seed-swamp: 14357620
    seed-monument: 10387313
    seed-shipwreck: 165745295
    seed-ocean: 14357621
    seed-outpost: 165745296
    seed-endcity: 10387313
    seed-slime: 987234911
    seed-nether: 30084232
    seed-mansion: 10387319
    seed-fossil: 14357921
    seed-portal: 34222645
    seed-ancientcity: 20083232
    seed-trailruins: 83469867
    seed-trialchambers: 94251327
    seed-buriedtreasure: 10387320
    seed-mineshaft: default
    seed-stronghold: default
    max-tick-time:
      tile: 50
      entity: 50
    thunder-chance: 100000
    unload-frozen-chunks: false
    entity-activation-range:
      animals: 32
      monsters: 32
      raiders: 64
      misc: 16
      water: 16
      villagers: 32
      flying-monsters: 32
      wake-up-inactive:
        animals-max-per-tick: 4
        animals-every: 1200
        animals-for: 100
        monsters-max-per-tick: 8
        monsters-every: 400
        monsters-for: 100
        villagers-max-per-tick: 4
        villagers-every: 600
        villagers-for: 100
        flying-monsters-max-per-tick: 8
        flying-monsters-every: 200
        flying-monsters-for: 100
      villagers-work-immunity-after: 100
      villagers-work-immunity-for: 20
      villagers-active-for-panic: true
      tick-inactive-villagers: true
      ignore-spectators: false
    merge-radius:
      item: 0.5
      exp: -1.0
    ticks-per:
      hopper-transfer: 8
      hopper-check: 1
    hopper-amount: 1
    hopper-can-load-chunks: false
    hunger:
      jump-walk-exhaustion: 0.05
      jump-sprint-exhaustion: 0.2
      combat-exhaustion: 0.1
      regen-exhaustion: 6.0
      swim-multiplier: 0.01
      sprint-multiplier: 0.1
      other-multiplier: 0.0
    verbose: false
  worldeditregentempworld:
    verbose: false
messages:
  restart: Server is restarting
  whitelist: You are not whitelisted on this server!
  unknown-command: Unknown command. Type "/help" for help.
  server-full: The server is full!
  outdated-client: Outdated client! Please use {0}
  outdated-server: Outdated server! I'm still on {0}
players:
  disable-saving: false
config-version: 12
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
  silent-commandblock-console: false
  enable-spam-exclusions: false
stats:
  disable-saving: false
  forced-stats: {}
 
Kod:
# This is the global configuration file for Paper.
# As you can see, there's a lot to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or check the docs page.
#
# The world configuration options have been moved inside
# their respective world folder. The files are named paper-world.yml
#
# Docs: https://docs.papermc.io/
# Discord: https://discord.gg/papermc
# Website: https://papermc.io/

_version: 29
anticheat:
  obfuscation:
    items:
      all-models:
        also-obfuscate: []
        dont-obfuscate:
        - minecraft:lodestone_tracker
        sanitize-count: true
      enable-item-obfuscation: false
      model-overrides:
        minecraft:elytra:
          also-obfuscate: []
          dont-obfuscate:
          - minecraft:damage
          sanitize-count: true
block-updates:
  disable-chorus-plant-updates: false
  disable-mushroom-block-updates: false
  disable-noteblock-updates: false
  disable-tripwire-updates: false
chunk-loading-advanced:
  auto-config-send-distance: true
  player-max-concurrent-chunk-generates: 0
  player-max-concurrent-chunk-loads: 0
chunk-loading-basic:
  player-max-chunk-generate-rate: -1.0
  player-max-chunk-load-rate: 100.0
  player-max-chunk-send-rate: 75.0
chunk-system:
  gen-parallelism: default
  io-threads: -1
  worker-threads: -1
collisions:
  enable-player-collisions: true
  send-full-pos-for-hard-colliding-entities: true
commands:
  ride-command-allow-player-as-vehicle: false
  suggest-player-names-when-null-tab-completions: true
  time-command-affects-all-worlds: false
console:
  enable-brigadier-completions: true
  enable-brigadier-highlighting: true
  has-all-permissions: false
item-validation:
  book:
    author: 8192
    page: 16384
    title: 8192
  book-size:
    page-max: 2560
    total-multiplier: 0.98
  display-name: 8192
  lore-line: 8192
  resolve-selectors-in-books: false
logging:
  deobfuscate-stacktraces: true
messages:
  kick:
    authentication-servers-down: <lang:multiplayer.disconnect.authservers_down>
    connection-throttle: Connection throttled! Please wait before reconnecting.
    flying-player: <lang:multiplayer.disconnect.flying>
    flying-vehicle: <lang:multiplayer.disconnect.flying>
  no-permission: <red>I'm sorry, but you do not have permission to perform this command.
    Please contact the server administrators if you believe that this is in error.
  use-display-name-in-quit-message: false
misc:
  chat-threads:
    chat-executor-core-size: -1
    chat-executor-max-size: -1
  client-interaction-leniency-distance: default
  compression-level: default
  fix-entity-position-desync: true
  load-permissions-yml-before-plugins: true
  max-joins-per-tick: 5
  region-file-cache-size: 256
  strict-advancement-dimension-check: false
  use-alternative-luck-formula: false
  use-dimension-type-for-custom-spawners: false
packet-limiter:
  all-packets:
    action: KICK
    interval: 7.0
    max-packet-rate: 500.0
  kick-message: <red><lang:disconnect.exceeded_packet_rate>
  overrides:
    ServerboundPlaceRecipePacket:
      action: DROP
      interval: 4.0
      max-packet-rate: 5.0
player-auto-save:
  max-per-tick: -1
  rate: -1
proxies:
  bungee-cord:
    online-mode: true
  proxy-protocol: false
  velocity:
    enabled: false
    online-mode: true
    secret: ''
scoreboards:
  save-empty-scoreboard-teams: true
  track-plugin-scoreboards: false
spam-limiter:
  incoming-packet-threshold: 300
  recipe-spam-increment: 1
  recipe-spam-limit: 20
  tab-spam-increment: 1
  tab-spam-limit: 500
spark:
  enable-immediately: false
  enabled: true
unsupported-settings:
  allow-headless-pistons: false
  allow-permanent-block-break-exploits: false
  allow-piston-duplication: false
  allow-unsafe-end-portal-teleportation: false
  compression-format: ZLIB
  perform-username-validation: true
  skip-tripwire-hook-placement-validation: false
  skip-vanilla-damage-tick-when-shield-blocked: false
  update-equipment-on-player-actions: true
watchdog:
  early-warning-delay: 10000
  early-warning-every: 5000


Paper-global.yml de bu şekilde yazıyor bulamadımda o ayarı
Mevcut skript dosyanın en altına şu kodu ekle:
Kod:
# Oyuncuların tab listesini (komut önerilerini) filtreler
on tab complete:
    # Eğer oyuncu admin yetkisine sahip değilse filtrele
    if player does not have permission "admin":
       
        # Tüm önerileri bir listeye al ve temizle
        set {_oneri::*} to tab completions
        clear tab completions
       
        # Sadece bu listedeki komutların görünmesine izin ver
        loop {_oneri::*}:
            # İzin vermek istediğin komutları buraya tırnak içinde, aralarına "or" koyarak ekle
            if loop-value is "/gardiyan" or "/kurallar" or "/günlüködül":
                add loop-value to tab completions
 
Spigot.yml dosyasında şu şekilde tab-completion buldumda burası mı acaba
Kod:
# This is the main configuration file for Spigot.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
#
# If you need help with the configuration or have any questions related to Spigot,
# join us at the Discord or drop by our forums and leave a post.
#
# Discord: https://www.spigotmc.org/go/discord
# Forums: http://www.spigotmc.org/

settings:
  debug: false
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  log-villager-deaths: true
  log-named-deaths: true
  user-cache-size: 1000
  attribute:
    maxAbsorption:
      max: 2048.0
    maxHealth:
      max: 1024.0
    movementSpeed:
      max: 1024.0
    attackDamage:
      max: 2048.0
  player-shuffle: 0
  netty-threads: 4
  save-user-cache-on-stop-only: false
  sample-count: 12
  moved-too-quickly-multiplier: 10.0
  moved-wrongly-threshold: 0.0625
  bungeecord: false
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
world-settings:
  default:
    below-zero-generation-in-existing-chunks: true
    enable-zombie-pigmen-portal-spawns: true
    zombie-aggressive-towards-villager: true
    simulation-distance: default
    view-distance: default
    end-portal-sound-radius: 0
    hanging-tick-frequency: 100
    dragon-death-sound-radius: 0
    wither-spawn-sound-radius: 0
    mob-spawn-range: 8
    arrow-despawn-rate: 1200
    trident-despawn-rate: 1200
    nerf-spawner-mobs: false
    item-despawn-rate: 6000
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      beetroot-modifier: 100
      carrot-modifier: 100
      potato-modifier: 100
      torchflower-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
      bamboo-modifier: 100
      sweetberry-modifier: 100
      kelp-modifier: 100
      twistingvines-modifier: 100
      weepingvines-modifier: 100
      cavevines-modifier: 100
      glowberry-modifier: 100
      pitcherplant-modifier: 100
    entity-tracking-range:
      players: 128
      animals: 96
      monsters: 96
      misc: 96
      display: 128
      other: 64
    max-tnt-per-tick: 100
    seed-village: 10387312
    seed-desert: 14357617
    seed-igloo: 14357618
    seed-jungle: 14357619
    seed-swamp: 14357620
    seed-monument: 10387313
    seed-shipwreck: 165745295
    seed-ocean: 14357621
    seed-outpost: 165745296
    seed-endcity: 10387313
    seed-slime: 987234911
    seed-nether: 30084232
    seed-mansion: 10387319
    seed-fossil: 14357921
    seed-portal: 34222645
    seed-ancientcity: 20083232
    seed-trailruins: 83469867
    seed-trialchambers: 94251327
    seed-buriedtreasure: 10387320
    seed-mineshaft: default
    seed-stronghold: default
    max-tick-time:
      tile: 50
      entity: 50
    thunder-chance: 100000
    unload-frozen-chunks: false
    entity-activation-range:
      animals: 32
      monsters: 32
      raiders: 64
      misc: 16
      water: 16
      villagers: 32
      flying-monsters: 32
      wake-up-inactive:
        animals-max-per-tick: 4
        animals-every: 1200
        animals-for: 100
        monsters-max-per-tick: 8
        monsters-every: 400
        monsters-for: 100
        villagers-max-per-tick: 4
        villagers-every: 600
        villagers-for: 100
        flying-monsters-max-per-tick: 8
        flying-monsters-every: 200
        flying-monsters-for: 100
      villagers-work-immunity-after: 100
      villagers-work-immunity-for: 20
      villagers-active-for-panic: true
      tick-inactive-villagers: true
      ignore-spectators: false
    merge-radius:
      item: 0.5
      exp: -1.0
    ticks-per:
      hopper-transfer: 8
      hopper-check: 1
    hopper-amount: 1
    hopper-can-load-chunks: false
    hunger:
      jump-walk-exhaustion: 0.05
      jump-sprint-exhaustion: 0.2
      combat-exhaustion: 0.1
      regen-exhaustion: 6.0
      swim-multiplier: 0.01
      sprint-multiplier: 0.1
      other-multiplier: 0.0
    verbose: false
  worldeditregentempworld:
    verbose: false
messages:
  restart: Server is restarting
  whitelist: You are not whitelisted on this server!
  unknown-command: Unknown command. Type "/help" for help.
  server-full: The server is full!
  outdated-client: Outdated client! Please use {0}
  outdated-server: Outdated server! I'm still on {0}
players:
  disable-saving: false
config-version: 12
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
  silent-commandblock-console: false
  enable-spam-exclusions: false
stats:
  disable-saving: false
  forced-stats: {}
false yapın hocam
 
Skript tamam çalışıyor hatada vermedi ama hala / ta bütün komutlar var
Mevcut skript dosyanın en altına şu kodu ekle:
Kod:
# Oyuncuların tab listesini (komut önerilerini) filtreler
on tab complete:
    # Eğer oyuncu admin yetkisine sahip değilse filtrele
    if player does not have permission "admin":
      
        # Tüm önerileri bir listeye al ve temizle
        set {_oneri::*} to tab completions
        clear tab completions
      
        # Sadece bu listedeki komutların görünmesine izin ver
        loop {_oneri::*}:
            # İzin vermek istediğin komutları buraya tırnak içinde, aralarına "or" koyarak ekle
            if loop-value is "/gardiyan" or "/kurallar" or "/günlüködül":
                add loop-value to tab completions

1774816963934.webp
 
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