[ÇÖZÜLDÜ] ÖLÜNCE SK LOAD CEKME SKRIPTi

ultimateasa

Ağaç Yumruklayıcı
Mesajlar
12
En iyi cevaplar
0
Beğeniler
2
Puanları
0
Benim bir serverim var o serverda ölünce hiçbir yere tıklamadan otomatik /sk load yapmasını istiyorum yine burda okudum denedim ama sadece op larda oluyor lütfen yardım!!!
 


KaanGunlu

Işık Taşı Madencisi
Mesajlar
3,239
En iyi cevaplar
0
Beğeniler
4,843
Puanları
6,840
on death:
victim is player
execute console command "/sk load"​


tarzında bir şey olması gerek.
 

ultimateasa

Ağaç Yumruklayıcı
Mesajlar
12
En iyi cevaplar
0
Beğeniler
2
Puanları
0
yeniden doğan herkese yapar bunu
Edit: Bu soru çok soruldu biraz forumu araştırın.
baya arastırdım ama bulamadım skript ile değilde starterkit dosyasının içindeki config i editledim:
Kod:
# config.yml
# - This configuration file is responsible for configuring the plugin.
# - Any values _not set_ in this file will be set to the configuration default.
# - Any _invalid_ values will be reset to the configuration default.
# - To rebuild this file stop your server, delete it and then restart.
# values:
# - logging:
# -- This value specifies the LOG_LEVEL that the plugin should operate in. A value of ALL will also log SQL transactions made by the plugin.
# -- Valid values: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL.
# -- Default: INFO
# - automatic-updates.branch:
# -- This value specifies which branch to check when checking for updates.
# -- Valid values: STABLE (latest release), DEVELOPMENT (latest snapshot release).
# -- Default: STABLE
# - automatic-updates.method:
# -- This value specifies the operating method of the automatic updater. Not all updaters support all values but they all support OFF.
# -- Valid values: UPDATE (update automatically), NOTIFY (notify adminstrators that an update is available), OFF (disable update checking).
# -- Default: NOTIFY
# - send-anonymous-statistics:
# -- This value specifies if the plugin will send anonynomous staticial information to mcstats.org.
# -- Valid values: true or false
# -- Default: true
# - provide-lit-on-death:
# -- This value specifies if we should give a kit to someone every time they respawn
# -- Valid values: true or false
# -- Default: true
logging: INFO
send-anonymous-statistics: true
provide-kit-on-death: true
automatic-updates:
  method: NOTIFY
  branch: STABLE
kit:
  backpack:
    ==: InventoryKit
    '0':
      ==: org.bukkit.inventory.ItemStack
      type: IRON_SWORD
    '1':
      ==: org.bukkit.inventory.ItemStack
      type: FLINT_AND_STEEL
      damage: 62
    '2':
      ==: org.bukkit.inventory.ItemStack
      type: FISHING_ROD
    '3':
      ==: org.bukkit.inventory.ItemStack
      type: BOW
    '8':
      ==: org.bukkit.inventory.ItemStack
      type: ARROW
      amount: 64
    '9':
      ==: org.bukkit.inventory.ItemStack
      type: ARROW
  armour:
    ==: ArmourKit
    '0':
      ==: org.bukkit.inventory.ItemStack
      type: IRON_BOOTS
    '1':
      ==: org.bukkit.inventory.ItemStack
      type: IRON_LEGGINGS
    '2':
      ==: org.bukkit.inventory.ItemStack
      type: IRON_CHESTPLATE
    '3':
      ==: org.bukkit.inventory.ItemStack
      type: IRON_HELMET
provide-kit-on-death: true yaparak duzelttim
 

TheRedstoneEngineer

Obsidyen Madencisi
Mesajlar
1,486
En iyi cevaplar
0
Beğeniler
785
Puanları
0
çünkü adam öldüğü anda sk load attırıyorsun. respawnda belki yok olabilir itemler diye düşündüm.
wait ile çözülebilir bu oluşursa tabii
Doğru söylüyorsun. Ama yazdığın komut için fazladan addon kulanmışsın. Şu şekilde yapsan sadece skript ile çalışır.
PHP:
on respawn:
    execute console command "sk load"
 

Üst