kashiandwazaki
# ============================================
# FROST SWORD - Buz Kılıcı Skript
# ItemsAdder Entegrasyonlu
# Minecraft 1.21.x | Skript
# ============================================
#
# Gerekli Eklentiler:
# - Skript
# - skript-reflect (opsiyonel)
# - ItemsAdder
# - SkBee veya skript-particle (partiküller için)
#
# Kurulum:
# 1) Bu dosyayı plugins/Skript/scripts/ klasörüne atın
# 2) Aşağıdaki OPTIONS bölümünden ItemsAdder item yolunu ayarlayın
# 3) /skript reload frost-sword komutu ile yükleyin
# ============================================
options:
# ── ItemsAdder Item Yolu ──
# Buraya kendi ItemsAdder kılıcınızın namespace:id yolunu yazın
# Örnek: "myitems:frost_sword", "custom:ice_blade" vb.
item-id: "namespace:frost_sword"
# ── Dondurma Ayarları ──
freeze-duration: 5 seconds
slowness-level: 127
jump-boost-level: 128
# ── Hasar Ayarları ──
bonus-ice-damage: 2
# ── Parçacık Ayarları ──
particle-count: 15
particle-radius: 1.2
# ── Ses Ayarları ──
freeze-sound: "block.glass.break"
freeze-sound-volume: 1
freeze-sound-pitch: 1.5
# ── Mesajlar ──
freeze-msg: "&b❄ &f%victim% &7donduruldu!"
unfreeze-msg: "&b❄ &f%victim% &7buzdan kurtuldu!"
# ── Cooldown (saniye) ──
cooldown-time: 3 seconds
# ============================================
# VURUŞ ALGILAMA & DONDURMA
# ============================================
on damage of any entity:
attacker is a player
damage cause is entity attack
# ItemsAdder item kontrolü
set {_tool} to the itemsadder id of attacker's held item
{_tool} is "{@item-id}"
# Cooldown kontrolü
{frost_cooldown::%attacker's uuid%} is set:
stop
# Düşmanı dondur
set {_victim} to victim
# Hareket durdurma efektleri
apply slowness {@slowness-level} to {_victim} for {@freeze-duration}
apply jump boost {@jump-boost-level} to {_victim} for {@freeze-duration}
apply resistance 5 to {_victim} for {@freeze-duration}
# Bonus buz hasarı
damage {_victim} by {@bonus-ice-damage}
# Düşmanı işaretle (donmuş)
set {frozen::%{_victim}'s uuid%} to true
# AI durdurma (mob ise)
{_victim} is not a player:
set ai of {_victim} to false
# Ses efekti
play sound "{@freeze-sound}" with volume {@freeze-sound-volume} with pitch {@freeze-sound-pitch} at {_victim}'s location for all players
# Dondurma mesajı
set {_name} to display name of {_victim}
{_victim} is not a player:
set {_name} to type of {_victim}
send "{@freeze-msg}" where "%victim%" is replaced with "%{_name}%" to attacker
# Cooldown başlat
set {frost_cooldown::%attacker's uuid%} to true
wait {@cooldown-time}
delete {frost_cooldown::%attacker's uuid%}
# ── Mavi Partiküller (dondurma süresi boyunca) ──
set {_loc} to location of {_victim}
set {_ticks} to 0
set {_max-ticks} to 100 # 5 saniye = 100 tick (20 tick/saniye)
while {_ticks} < {_max-ticks}:
{frozen::%{_victim}'s uuid%} is not set:
stop
{_victim} is dead:
delete {frozen::%{_victim}'s uuid%}
stop
set {_center} to location of {_victim}
# Dönen daire partikülleri
loop {@particle-count} times:
set {_angle} to (360 / {@particle-count}) * loop-number + ({_ticks} * 5)
set {_x} to {@particle-radius} * cos({_angle})
set {_z} to {@particle-radius} * sin({_angle})
set {_y} to ({_ticks} mod 20) / 10
set {_particle-loc} to {_center} ~ vector({_x}, {_y}, {_z})
# Ana buz partikülleri (mavi)
spawn 1 of dust using dustOption(rgb(0, 150, 255), 1.2) at {_particle-loc}
# Ek kar partikülleri
spawn 1 of snowflake at {_particle-loc}
# Üst kısımda ekstra parçacıklar
spawn 3 of dust using dustOption(rgb(100, 200, 255), 0.8) at {_center} ~ vector(0, 1.8, 0)
add 2 to {_ticks}
wait 1 tick
# ── Dondurma Süresi Bitti ──
delete {frozen::%{_victim}'s uuid%}
# AI geri aç (mob ise)
{_victim} is not a player:
{_victim} is not dead:
set ai of {_victim} to true
# Buzdan kurtulma efekti
play sound "block.glass.break" with volume 1.2 with pitch 0.8 at location of {_victim} for all players
spawn 30 of dust using dustOption(rgb(0, 150, 255), 1.5) at location of {_victim} ~ vector(0, 1, 0)
spawn 15 of snowflake at location of {_victim} ~ vector(0, 1, 0)
set {_name2} to display name of {_victim}
{_victim} is not a player:
set {_name2} to type of {_victim}
send "{@unfreeze-msg}" where "%victim%" is replaced with "%{_name2}%" to attacker
# ============================================
# DONMUŞ ENTITY ÖLÜRSE TEMİZLE
# ============================================
on death of any entity:
{frozen::%victim's uuid%} is set:
delete {frozen::%victim's uuid%}
victim is not a player:
set ai of victim to true
# Ölüm buz patlaması efekti
spawn 40 of dust using dustOption(rgb(0, 150, 255), 2) at victim's location ~ vector(0, 1, 0)
play sound "block.glass.break" with volume 1.5 with pitch 0.5 at victim's location for all players
# ============================================
# DONMUŞ OYUNCU HAREKET KISITLAMASI
# ============================================
on move:
{frozen::%player's uuid%} is set:
cancel event
# Donmuş uyarı partikülleri
spawn 3 of dust using dustOption(rgb(0, 150, 255), 0.6) at player's location ~ vector(0, 1, 0)
# ============================================
# ADMIN KOMUTLARI
# ============================================
command /frostsword [<text>]:
permission: frostsword.admin
permission message: &cBu komutu kullanma yetkiniz yok!
trigger:
if arg 1 is "reload":
send "&b❄ &aFrost Sword yeniden yüklendi!"
else if arg 1 is "unfreeze":
loop all entities in radius 20 around player:
{frozen::%loop-entity's uuid%} is set:
delete {frozen::%loop-entity's uuid%}
loop-entity is not a player:
set ai of loop-entity to true
remove slowness from loop-entity
remove jump boost from loop-entity
send "&b❄ &aYakındaki tüm donmuş entityler çözüldü!"
else if arg 1 is "give":
# ItemsAdder komutuyla kılıcı ver
execute console command "iagive %player% {@item-id}"
send "&b❄ &aBuz kılıcı envanterine eklendi!"
else:
send "&b❄ &eFrost Sword Komutları:"
send "&7 /frostsword reload &8- &fYeniden yükle"
send "&7 /frostsword unfreeze &8- &fTüm donmuşları çöz"
send "&7 /frostsword give &8- &fKılıcı al"
# ============================================
# SUNUCU KAPANIRKEN TEMİZLİK
# ============================================
on script unload:
loop all entities:
{frozen::%loop-entity's uuid%} is set:
delete {frozen::%loop-entity's uuid%}
loop-entity is not a player:
set ai of loop-entity to true
remove slowness from loop-entity
remove jump boost from loop-entity
on quit:
{frozen::%player's uuid%} is set:
delete {frozen::%player's uuid%}
remove slowness from player
remove jump boost from player
akisetup
itemsadder item yolu için isim yazmam yeterlimiÖrnek kod:Yapay zeka ile hazırlanmıştır.Kod:# ============================================ # FROST SWORD - Buz Kılıcı Skript # ItemsAdder Entegrasyonlu # Minecraft 1.21.x | Skript # ============================================ # # Gerekli Eklentiler: # - Skript # - skript-reflect (opsiyonel) # - ItemsAdder # - SkBee veya skript-particle (partiküller için) # # Kurulum: # 1) Bu dosyayı plugins/Skript/scripts/ klasörüne atın # 2) Aşağıdaki OPTIONS bölümünden ItemsAdder item yolunu ayarlayın # 3) /skript reload frost-sword komutu ile yükleyin # ============================================ options: # ── ItemsAdder Item Yolu ── # Buraya kendi ItemsAdder kılıcınızın namespace:id yolunu yazın # Örnek: "myitems:frost_sword", "custom:ice_blade" vb. item-id: "namespace:frost_sword" # ── Dondurma Ayarları ── freeze-duration: 5 seconds slowness-level: 127 jump-boost-level: 128 # ── Hasar Ayarları ── bonus-ice-damage: 2 # ── Parçacık Ayarları ── particle-count: 15 particle-radius: 1.2 # ── Ses Ayarları ── freeze-sound: "block.glass.break" freeze-sound-volume: 1 freeze-sound-pitch: 1.5 # ── Mesajlar ── freeze-msg: "&b❄ &f%victim% &7donduruldu!" unfreeze-msg: "&b❄ &f%victim% &7buzdan kurtuldu!" # ── Cooldown (saniye) ── cooldown-time: 3 seconds # ============================================ # VURUŞ ALGILAMA & DONDURMA # ============================================ on damage of any entity: attacker is a player damage cause is entity attack # ItemsAdder item kontrolü set {_tool} to the itemsadder id of attacker's held item {_tool} is "{@item-id}" # Cooldown kontrolü {frost_cooldown::%attacker's uuid%} is set: stop # Düşmanı dondur set {_victim} to victim # Hareket durdurma efektleri apply slowness {@slowness-level} to {_victim} for {@freeze-duration} apply jump boost {@jump-boost-level} to {_victim} for {@freeze-duration} apply resistance 5 to {_victim} for {@freeze-duration} # Bonus buz hasarı damage {_victim} by {@bonus-ice-damage} # Düşmanı işaretle (donmuş) set {frozen::%{_victim}'s uuid%} to true # AI durdurma (mob ise) {_victim} is not a player: set ai of {_victim} to false # Ses efekti play sound "{@freeze-sound}" with volume {@freeze-sound-volume} with pitch {@freeze-sound-pitch} at {_victim}'s location for all players # Dondurma mesajı set {_name} to display name of {_victim} {_victim} is not a player: set {_name} to type of {_victim} send "{@freeze-msg}" where "%victim%" is replaced with "%{_name}%" to attacker # Cooldown başlat set {frost_cooldown::%attacker's uuid%} to true wait {@cooldown-time} delete {frost_cooldown::%attacker's uuid%} # ── Mavi Partiküller (dondurma süresi boyunca) ── set {_loc} to location of {_victim} set {_ticks} to 0 set {_max-ticks} to 100 # 5 saniye = 100 tick (20 tick/saniye) while {_ticks} < {_max-ticks}: {frozen::%{_victim}'s uuid%} is not set: stop {_victim} is dead: delete {frozen::%{_victim}'s uuid%} stop set {_center} to location of {_victim} # Dönen daire partikülleri loop {@particle-count} times: set {_angle} to (360 / {@particle-count}) * loop-number + ({_ticks} * 5) set {_x} to {@particle-radius} * cos({_angle}) set {_z} to {@particle-radius} * sin({_angle}) set {_y} to ({_ticks} mod 20) / 10 set {_particle-loc} to {_center} ~ vector({_x}, {_y}, {_z}) # Ana buz partikülleri (mavi) spawn 1 of dust using dustOption(rgb(0, 150, 255), 1.2) at {_particle-loc} # Ek kar partikülleri spawn 1 of snowflake at {_particle-loc} # Üst kısımda ekstra parçacıklar spawn 3 of dust using dustOption(rgb(100, 200, 255), 0.8) at {_center} ~ vector(0, 1.8, 0) add 2 to {_ticks} wait 1 tick # ── Dondurma Süresi Bitti ── delete {frozen::%{_victim}'s uuid%} # AI geri aç (mob ise) {_victim} is not a player: {_victim} is not dead: set ai of {_victim} to true # Buzdan kurtulma efekti play sound "block.glass.break" with volume 1.2 with pitch 0.8 at location of {_victim} for all players spawn 30 of dust using dustOption(rgb(0, 150, 255), 1.5) at location of {_victim} ~ vector(0, 1, 0) spawn 15 of snowflake at location of {_victim} ~ vector(0, 1, 0) set {_name2} to display name of {_victim} {_victim} is not a player: set {_name2} to type of {_victim} send "{@unfreeze-msg}" where "%victim%" is replaced with "%{_name2}%" to attacker # ============================================ # DONMUŞ ENTITY ÖLÜRSE TEMİZLE # ============================================ on death of any entity: {frozen::%victim's uuid%} is set: delete {frozen::%victim's uuid%} victim is not a player: set ai of victim to true # Ölüm buz patlaması efekti spawn 40 of dust using dustOption(rgb(0, 150, 255), 2) at victim's location ~ vector(0, 1, 0) play sound "block.glass.break" with volume 1.5 with pitch 0.5 at victim's location for all players # ============================================ # DONMUŞ OYUNCU HAREKET KISITLAMASI # ============================================ on move: {frozen::%player's uuid%} is set: cancel event # Donmuş uyarı partikülleri spawn 3 of dust using dustOption(rgb(0, 150, 255), 0.6) at player's location ~ vector(0, 1, 0) # ============================================ # ADMIN KOMUTLARI # ============================================ command /frostsword [<text>]: permission: frostsword.admin permission message: &cBu komutu kullanma yetkiniz yok! trigger: if arg 1 is "reload": send "&b❄ &aFrost Sword yeniden yüklendi!" else if arg 1 is "unfreeze": loop all entities in radius 20 around player: {frozen::%loop-entity's uuid%} is set: delete {frozen::%loop-entity's uuid%} loop-entity is not a player: set ai of loop-entity to true remove slowness from loop-entity remove jump boost from loop-entity send "&b❄ &aYakındaki tüm donmuş entityler çözüldü!" else if arg 1 is "give": # ItemsAdder komutuyla kılıcı ver execute console command "iagive %player% {@item-id}" send "&b❄ &aBuz kılıcı envanterine eklendi!" else: send "&b❄ &eFrost Sword Komutları:" send "&7 /frostsword reload &8- &fYeniden yükle" send "&7 /frostsword unfreeze &8- &fTüm donmuşları çöz" send "&7 /frostsword give &8- &fKılıcı al" # ============================================ # SUNUCU KAPANIRKEN TEMİZLİK # ============================================ on script unload: loop all entities: {frozen::%loop-entity's uuid%} is set: delete {frozen::%loop-entity's uuid%} loop-entity is not a player: set ai of loop-entity to true remove slowness from loop-entity remove jump boost from loop-entity on quit: {frozen::%player's uuid%} is set: delete {frozen::%player's uuid%} remove slowness from player remove jump boost from player
akisetup
executable itemsle nası yaparımÖrnek kod:Yapay zeka ile hazırlanmıştır.Kod:# ============================================ # FROST SWORD - Buz Kılıcı Skript # ItemsAdder Entegrasyonlu # Minecraft 1.21.x | Skript # ============================================ # # Gerekli Eklentiler: # - Skript # - skript-reflect (opsiyonel) # - ItemsAdder # - SkBee veya skript-particle (partiküller için) # # Kurulum: # 1) Bu dosyayı plugins/Skript/scripts/ klasörüne atın # 2) Aşağıdaki OPTIONS bölümünden ItemsAdder item yolunu ayarlayın # 3) /skript reload frost-sword komutu ile yükleyin # ============================================ options: # ── ItemsAdder Item Yolu ── # Buraya kendi ItemsAdder kılıcınızın namespace:id yolunu yazın # Örnek: "myitems:frost_sword", "custom:ice_blade" vb. item-id: "namespace:frost_sword" # ── Dondurma Ayarları ── freeze-duration: 5 seconds slowness-level: 127 jump-boost-level: 128 # ── Hasar Ayarları ── bonus-ice-damage: 2 # ── Parçacık Ayarları ── particle-count: 15 particle-radius: 1.2 # ── Ses Ayarları ── freeze-sound: "block.glass.break" freeze-sound-volume: 1 freeze-sound-pitch: 1.5 # ── Mesajlar ── freeze-msg: "&b❄ &f%victim% &7donduruldu!" unfreeze-msg: "&b❄ &f%victim% &7buzdan kurtuldu!" # ── Cooldown (saniye) ── cooldown-time: 3 seconds # ============================================ # VURUŞ ALGILAMA & DONDURMA # ============================================ on damage of any entity: attacker is a player damage cause is entity attack # ItemsAdder item kontrolü set {_tool} to the itemsadder id of attacker's held item {_tool} is "{@item-id}" # Cooldown kontrolü {frost_cooldown::%attacker's uuid%} is set: stop # Düşmanı dondur set {_victim} to victim # Hareket durdurma efektleri apply slowness {@slowness-level} to {_victim} for {@freeze-duration} apply jump boost {@jump-boost-level} to {_victim} for {@freeze-duration} apply resistance 5 to {_victim} for {@freeze-duration} # Bonus buz hasarı damage {_victim} by {@bonus-ice-damage} # Düşmanı işaretle (donmuş) set {frozen::%{_victim}'s uuid%} to true # AI durdurma (mob ise) {_victim} is not a player: set ai of {_victim} to false # Ses efekti play sound "{@freeze-sound}" with volume {@freeze-sound-volume} with pitch {@freeze-sound-pitch} at {_victim}'s location for all players # Dondurma mesajı set {_name} to display name of {_victim} {_victim} is not a player: set {_name} to type of {_victim} send "{@freeze-msg}" where "%victim%" is replaced with "%{_name}%" to attacker # Cooldown başlat set {frost_cooldown::%attacker's uuid%} to true wait {@cooldown-time} delete {frost_cooldown::%attacker's uuid%} # ── Mavi Partiküller (dondurma süresi boyunca) ── set {_loc} to location of {_victim} set {_ticks} to 0 set {_max-ticks} to 100 # 5 saniye = 100 tick (20 tick/saniye) while {_ticks} < {_max-ticks}: {frozen::%{_victim}'s uuid%} is not set: stop {_victim} is dead: delete {frozen::%{_victim}'s uuid%} stop set {_center} to location of {_victim} # Dönen daire partikülleri loop {@particle-count} times: set {_angle} to (360 / {@particle-count}) * loop-number + ({_ticks} * 5) set {_x} to {@particle-radius} * cos({_angle}) set {_z} to {@particle-radius} * sin({_angle}) set {_y} to ({_ticks} mod 20) / 10 set {_particle-loc} to {_center} ~ vector({_x}, {_y}, {_z}) # Ana buz partikülleri (mavi) spawn 1 of dust using dustOption(rgb(0, 150, 255), 1.2) at {_particle-loc} # Ek kar partikülleri spawn 1 of snowflake at {_particle-loc} # Üst kısımda ekstra parçacıklar spawn 3 of dust using dustOption(rgb(100, 200, 255), 0.8) at {_center} ~ vector(0, 1.8, 0) add 2 to {_ticks} wait 1 tick # ── Dondurma Süresi Bitti ── delete {frozen::%{_victim}'s uuid%} # AI geri aç (mob ise) {_victim} is not a player: {_victim} is not dead: set ai of {_victim} to true # Buzdan kurtulma efekti play sound "block.glass.break" with volume 1.2 with pitch 0.8 at location of {_victim} for all players spawn 30 of dust using dustOption(rgb(0, 150, 255), 1.5) at location of {_victim} ~ vector(0, 1, 0) spawn 15 of snowflake at location of {_victim} ~ vector(0, 1, 0) set {_name2} to display name of {_victim} {_victim} is not a player: set {_name2} to type of {_victim} send "{@unfreeze-msg}" where "%victim%" is replaced with "%{_name2}%" to attacker # ============================================ # DONMUŞ ENTITY ÖLÜRSE TEMİZLE # ============================================ on death of any entity: {frozen::%victim's uuid%} is set: delete {frozen::%victim's uuid%} victim is not a player: set ai of victim to true # Ölüm buz patlaması efekti spawn 40 of dust using dustOption(rgb(0, 150, 255), 2) at victim's location ~ vector(0, 1, 0) play sound "block.glass.break" with volume 1.5 with pitch 0.5 at victim's location for all players # ============================================ # DONMUŞ OYUNCU HAREKET KISITLAMASI # ============================================ on move: {frozen::%player's uuid%} is set: cancel event # Donmuş uyarı partikülleri spawn 3 of dust using dustOption(rgb(0, 150, 255), 0.6) at player's location ~ vector(0, 1, 0) # ============================================ # ADMIN KOMUTLARI # ============================================ command /frostsword [<text>]: permission: frostsword.admin permission message: &cBu komutu kullanma yetkiniz yok! trigger: if arg 1 is "reload": send "&b❄ &aFrost Sword yeniden yüklendi!" else if arg 1 is "unfreeze": loop all entities in radius 20 around player: {frozen::%loop-entity's uuid%} is set: delete {frozen::%loop-entity's uuid%} loop-entity is not a player: set ai of loop-entity to true remove slowness from loop-entity remove jump boost from loop-entity send "&b❄ &aYakındaki tüm donmuş entityler çözüldü!" else if arg 1 is "give": # ItemsAdder komutuyla kılıcı ver execute console command "iagive %player% {@item-id}" send "&b❄ &aBuz kılıcı envanterine eklendi!" else: send "&b❄ &eFrost Sword Komutları:" send "&7 /frostsword reload &8- &fYeniden yükle" send "&7 /frostsword unfreeze &8- &fTüm donmuşları çöz" send "&7 /frostsword give &8- &fKılıcı al" # ============================================ # SUNUCU KAPANIRKEN TEMİZLİK # ============================================ on script unload: loop all entities: {frozen::%loop-entity's uuid%} is set: delete {frozen::%loop-entity's uuid%} loop-entity is not a player: set ai of loop-entity to true remove slowness from loop-entity remove jump boost from loop-entity on quit: {frozen::%player's uuid%} is set: delete {frozen::%player's uuid%} remove slowness from player remove jump boost from player
kashiandwazaki
bulunduğuklasör:item_ismi şeklinde yazmanız gerekiyor.itemsadder item yolu için isim yazmam yeterlimi
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!