Celil
Zümrüt Hojtir, Ama Benenah
- Katılım
- 29 Mart 2014
- Mesajlar
- 1.103
- Elmaslar
- 1.499
- Puan
- 17.095
- Konum
- Rize
- Minecraft
- Celilzzers
Discord:
Celil#3997
Merhaba forumseverler bugün bir tane hile koruma sistemi olan GuardianAntiCheat sistemini göstereceğim.
Özellikler:
• Bloklanan hileler
• Özel komutlar
• Özel animasyonlu ban
• Ban mesajları
• Düzenlenebilir ayarlar
• Otomatik ban
• Npc sistemi
Kullanıldığında banlanan hackler:
• Kill Aura
Özellikler:
• Bloklanan hileler
• Özel komutlar
• Özel animasyonlu ban
• Ban mesajları
• Düzenlenebilir ayarlar
• Otomatik ban
• Npc sistemi
Kullanıldığında banlanan hackler:
• Kill Aura
• Multi Aura
• Fast Aura
• Legit Aura
• Crazy Aura
• Fast Eat
• Regen
• Fast Aura
• Legit Aura
• Crazy Aura
• Fast Eat
• Regen
Denenen hileler:
• Huzuni
• Wurst
• Impact
• Metro
• Tomato
• Impact
• Metro
• Tomato
Komutlar:
• /guardian - Yardım için /guardian commands! yazın diye gösterir.
• /elder - Komutu animasyonlu banlama.
• /check <oyuncuadı> - Oyuncu hakkında bilgiyi gösterir.
Yetki:
• guardian.killaura - Bu yetki Oyuncu killauro kullanınca banlamaz.
• guardian.multiaura - Bu yetki Oyuncu multiauro kullanınca banlamaz.
• guardian.admin - Bu yetki /guardian komutunu kullanmaya yarar.
• guardian.elder - Bu yetki /elder komutunu kullanmaya yarar.
• guardian.check - Bu yetki /check komutunu kullanmaya yarar.
• guardian.bypass - Bu yetki Oyuncu hile kullanınca banlamaz.
Nasıl banlama animasyonu yapılır.:
- Banlanacağı yeri yapıp aşağıdaki komutları yazın.
- /elder settp - Oyuncunun banlanırken nereye ışınlancağını yapar.
- /elder setguardian - Guardianın nerde olacağını yapar.
Gerekliler
- Skript -
- skRayFall -
- Citizens -
Resimler
Animasyonlu Banlanma
Spigot Ana Sayfası:
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Türkçeleştirilmiş Skript:
Kod:
#------------------------------------------------------------
# Guardian ACheat
# by Xenons (RealmMianite)
# Ceviri : MinecraftCelil
#Gardiyan AntiCheat sistemi ile sunucunuzu hilelerden koruyun
#------------------------------------------------------------
#Yetkiler:
# guardian.admin - Use of /guardian command
# guardian.elder - Use of /elder command
# guardian.check - Use of /check command
# guardian.bypass - Banlanmama yetkisi
#Komutlar:
# /guardian - Banlar kickler ve daha fazlasi
# /elder - Animasyonlu ban
# /check - Oyuncunun durumunu gosterir kendisinin veya baskasinin
#Engelenen Hileler:
# KillAura
# MultiAura
# LegitAura
# CrazyAura
# FastAura
# FastAura
# FastEat
# Regen
# Auto Sneak
# Fast Place
# Fast Break
# Fly
# Jesus
#------------------------------------------------------------
# Sonrasinizi Editleyin !
#------------------------------------------------------------
options:
#Skript prefix (logo) sunu belirler yazilarin onunde cikan!
logo: &6[&3Gardiyan&6]|
#Tum insanlar gardiyan tarafindan banlanabilsinmi ?
banwave: true
#Tum yasaklanmalarda animasyon olsunmu? - Hayirdir siz true yapabilirsiniz.
animated: false
#Ban ekranini duzenleyebilirsiniz
#Deneyin loglarda cikar
banmsg: &6[&3Gardiyan6]| &cSen &e%arg 3% &c kullandigin icin banlandin
#Raporlar sadece yetkililerdemi ciksin?
onlyinstaff: false
#-----------------------
#Kill Aura
#-----------------------
#Killauro kontrol edilsinmi?
killaura: true
#Killauro kulananlar banlansinmi?
auraban: true
#Bunu anlamadim ama Oyuncular ne zaman banlandiginda bakabilir tarzinda bisey galiba
killauradetect: 10
#-----------------------
#Multi Aura
#-----------------------
#Yukarda dediklerimin aynisi turkcelestirmiyorum burda killauro yerine multiauro
multiaura: true
#Should players get banned for Multi Aura?
multiauraban: true
#After how much checks should players get banned?
multiauradetect: 10
#-----------------------
#Regen
#-----------------------
#Regen hilesi kapatilsinmi
regen: true
#Hizli yeme hilesi kapatilsinmi
fasteat: true
#-----------------------
#Anti KB
#-----------------------
antikb: true
antikbdetect: 10
#-----------------------
#Auto Sneak
#-----------------------
autosneak: true
sneakdetect: 10
#-----------------------
#Fast Place/Break
#-----------------------
fastplace: true
fastbreak: true
fastplacecheck: 10
fastbreakcheck: 10
#-----------------------
#Fly/Jesus [BETA]
#-----------------------
#Fly and Jesus are in beta which means that players will not
#get banned/kicked for it, staff members will get notifications
#but nothing else!
#Once its out of the beta proper banning and kicking will be added!
fly: true
jesus: true
#-----------------------
#Custom Banning
#-----------------------
#Use this feature if you want to make guardian ban
#players using third party plugins (Lite bans for example)
#If this is used then banning animation will not be used!
custombanning: false
custombancmd: ban %loop-player% Hacking
#-----------------------
#Broadcasts
#-----------------------
#Banlandiginda veya kicklendiginde x adli kisi banlandi veya kicklendi tarzinda mesaj ciksinmi
broadcastban: true
broadcastkick: true
#-----------------------
#Promotion Message
#-----------------------
#This message is displayed when op joins!
promotionmsg: false
#------------------------------------------------------------
# Ellemeyin
#------------------------------------------------------------
variables:
{killaura.%player%} = 0
{multichecker.%player%} = 0
{multiaura.%player%} = 0
{waittimer.%player%} = 0
{dban.%player%} = false
{set.%player%} = false
{guardianstaffmode.%player%} = false
{invis.%player%} = false
{antikb.%player%} = 0
{sneaking.%player%} = 0
{fastplace.%player%} = 0
{fastbreak.%player%} = 0
{fly.%player%} = 0
{jesus.%player%} = 0
on join:
if {set.%player%} is false:
set {killaura.%player%} to 0
set {multiaura.%player%} to 0
set {set.%player%} to true
set {antikb.%player%} to 0
set {sneaking.%player%} to 0
set {fastplace.%player%} to 0
set {fastbreak.%player%} to 0
set {fly.%player%} to 0
set {jesus.%player%} to 0
on join:
if player is op:
if {@promotionmsg} is true:
send "&6===========================" to player
send "&aThank you for using &3Guardian!" to player
send "&e " to player
send "&eIf you like this skript please" to player
send "&econsider donating! It will help" to player
send "&eIn future &3Guardian &edevelopment!" to player
send "&6===========================" to player
else:
stop
else:
stop
command /check [<offline player>]:
permission: guardian.check
trigger:
if arg 1 is not set:
message "{@logo} &aKill Aura: &e%{killaura.%player%}%"
message "{@logo} &aMulti Aura: &e%{multiaura.%player%}%"
message "{@logo} &aAnti Knockback: &e%{antikb.%player%}%"
message "{@logo} &aAuto Sneak: &e%{sneaking.%player%}%"
message "{@logo} &aFast Place: &e%{fastplace.%player%}%"
message "{@logo} &aFast Break: &e%{fastbreak.%player%}%"
message "{@logo} &aFly: &e%{fly.%player%}%"
message "{@logo} &aJesus: &e%{jesus.%player%}%"
stop
if arg 1 is set:
message "{@logo} &aKill Aura: &e%{killaura.%arg 1%}%"
message "{@logo} &aMulti Aura: &e%{multiaura.%arg 1%}%"
message "{@logo} &aAnti Knockback: &e%{antikb.%arg 1%}%"
message "{@logo} &aAuto Sneak: &e%{sneaking.%arg 1%}%"
message "{@logo} &aFast Place: &e%{fastplace.%arg 1%}%"
message "{@logo} &aFast Break: &e%{fastbreak.%arg 1%}%"
message "{@logo} &aFly: &e%{fly.%arg 1%}%"
message "{@logo} &aJesus: &e%{jesus.%arg 1%}%"
every minute:
loop all players:
if {killaura.%loop-player%} is higher than 0:
remove 1 from {killaura.%loop-player%}
stop
if {multiaura.%loop-player%} is higher than 0:
remove 1 from {multiaura.%loop-player%}
stop
if {antikb.%loop-player%} is higher than 0:
remove 1 from {antikb.%loop-player%}
stop
if {sneaking.%loop-player%} is higher than 0:
remove 1 from {sneaking.%loop-player%}
stop
if {fastplace.%loop-player%} is higher than 0:
remove 1 from {fastplace.%loop-player%}
stop
if {fastbreak.%loop-player%} is higher than 0:
remove 1 from {fastbreak.%loop-player%}
stop
if {fly.%loop-player%} is higher than 0:
remove 1 from {fly.%loop-player%}
stop
if {jesus.%loop-player%} is higher than 0:
remove 1 from {jesus.%loop-player%}
stop
command /guardian [<text>] [<offline player>] [<text>]:
permission: guardian.admin
aliases: /ac, /anticheat, /guard
trigger:
if arg 1 is not set:
message "&6&m---------[&3Gardiyan&6&m]---------"
message "&f/guardian help"
message "&f/guardian ban <player> <hack>"
message "&f/guardian kick <player> <reason>"
message "&f/guardian reset <player>"
message "&6&m---------[&3Gardiyan&6&m]---------"
if arg 1 is "help":
message "&6&m---------[&3Gardiyan&6&m]---------"
message "&f/guardian help"
message "&f/guardian ban <player> <hack>"
message "&f/guardian kick <player> <reason>"
message "&f/guardian reset <player>"
message "&6&m---------[&3Gardiyan&6&m]---------"
if arg 1 is "ban":
if arg 2 is set:
if arg 3 is set:
if arg 2 has permission "guardian.bypass":
message "{@logo} &cSen bu oyuncuyu banlayamassin!"
else:
kick arg 2 due to "{@banmsg}"
ban arg 2 due to "{@banmsg}"
if {@broadcastban} is true:
broadcast "{@logo} &a%arg 2% &eadli oyuncu&a%player% &etarafindan &c%arg 3%"
stop
if arg 1 is "kick":
if arg 2 is set:
if arg 3 is set:
if arg 2 has permission "guardian.bypass":
message "{@logo} &cSen bu oyuncuyu kickleyemessin!"
else:
kick arg 2 due to "{@logo} &cSen kicklendin &e%player% tarafindan! &asEBEP: &e%arg 3%"
if {@broadcastkick} is true:
broadcast "{@logo} &a%arg 2% &eadli oyuncu &a%player% &etarafindan &c%arg 3%"
if arg 1 is "reset":
if arg 2 is set:
set {killaura.%arg 2%} to 0
set {multiaura.%arg 2%} to 0
set {antikb.%arg 2%} to 0
set {sneaking.%arg 2%} to 0
set {fastplace.%arg 2%} to 0
set {fastbreak.%arg 2%} to 0
set {fly.%arg 2%} to 0
set {jesus.%arg 2%} to 0
set {banned.%arg 2%} to false
message "{@logo} &aBu oyuncu hakkindaki suclari sil!"
execute console command "/unban %arg 2%"
stop
if arg 1 is "unban":
if arg 2 is set:
set {killaura.%arg 2%} to 0
set {multiaura.%arg 2%} to 0
set {antikb.%arg 2%} to 0
set {sneaking.%arg 2%} to 0
set {fastplace.%arg 2%} to 0
set {fastbreak.%arg 2%} to 0
set {fly.%arg 2%} to 0
set {jesus.%arg 2%} to 0
set {banned.%arg 2%} to false
execute console command "/unban %arg 2%"
broadcast "{@logo} &a%arg 2% &eadli oyuncu &a%player%! tarafindan bani acildi."
#====================================================================================================
# Kill Aura
#====================================================================================================
on damage:
if {@killaura} is true:
attacker is a player:
if victim is a player:
if damage cause is not a projectile:
if tool of the attacker is a bow:
stop
if tool of the attacker is a snowball:
stop
if tool of the attacker is a egg:
stop
if tool of the attacker is a ender pearl:
stop
if tool of the attacker is a fishing rod:
set {fishingrod.%attacker%} to 10
stop
else:
if {fishingrod.%attacker%} is higher than 0:
stop
else:
add 1 to {dmg.%attacker%}
if distance between attacker and victim is greater than 5:
cancel event
if {@auraban} is true:
add 1 to {killaura.%attacker%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cKill Aura&e!" to loop-player
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cKill Aura&e!" to loop-player
stop
on damage:
if tool of the attacker is a sword:
attacker is blocking
cancel event
every second:
if {@killaura} is true:
loop all players:
if {dmg.%loop-player-1%} is less than or equal to 20:
set {dmg.%loop-player-1%} to 0
stop
if {dmg.%loop-player-1%} is higher than 20:
set {dmg.%loop-player-1%} to 0
add 1 to {killaura.%loop-player-1%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player-2%} is true:
send "{@logo} &c%loop-player-1% &eYandaki hileyi kullaniyor olabilir &cKill Aura&e!" to loop-player-2
else:
if loop-player-2 has permission "guardian.notify":
send "{@logo} &c%loop-player-1% &eYandaki hileyi kullaniyor olabilir &cKill Aura&e!" to loop-player-2
stop
#====================================================================================================
# Multi Aura
#====================================================================================================
on damage:
if {@multiaura} is true:
if attacker is a player:
if {victim.%attacker%} is not set:
set {_victim} to victim
set {multichecker.%attacker%} to 5
stop
if {_victim} is set:
if "%name of victim%" is not {_victim}:
if {multichecker.%attacker%} is higher than 0:
add 1 to {multiaura.%attacker%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cMulti Aura&e!" to loop-player
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cMulti Aura&e!" to loop-player
else:
stop
else:
stop
else:
stop
else:
stop
every tick:
loop all players:
if {multichecker.%loop-player%} is higher than 0:
remove 1 from {multichecker.%loop-player%}
stop
else:
stop
#====================================================================================================
# Anti Knockback | BETA
#====================================================================================================
on damage of a player:
if {@antikb} is true:
if victim's gamemode is survival or adventure:
set {_loc1} to location of victim
wait 10 ticks
set {_loc2} to location of victim
block at victim is not cobweb:
victim is not riding:
loop blocks in radius 2 around victim:
loop-block is air:
distance between {_loc1} and {_loc2} = 0:
add 1 to {antikb.%attacker%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cAnti Knockback&e!" to loop-player
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%attacker% &eYandaki hileyi kullaniyor olabilir &cAnti Knockback&e!" to loop-player
else:
stop
else:
stop
else:
stop
else:
stop
#====================================================================================================
# Regen | Fast Eat
#====================================================================================================
on consume:
if {@regen} is true:
if player does not have permission "guardian.regen":
if difference between {heal.%player%} and now is less than 2 ticks:
cancel event
set {heal.%player%} to now
stop
set {heal.%player%} to now
on consume:
if {@fasteat} is true:
if player does not have permission "guardian.fasteat":
if difference between {eat.%player%} and now is less than 2 ticks:
cancel event
set {eat.%player%} to now
stop
set {eat.%player%} to now
#====================================================================================================
# Auto Sneak
#====================================================================================================
on chat:
if {@autosneak} is true:
if player is sneaking:
add 1 to {sneaking.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
else:
stop
on command:
if {@autosneak} is true:
if player is sneaking:
add 1 to {sneaking.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
on inventory click:
if {@autosneak} is true:
if player is sneaking:
add 1 to {sneaking.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
on sprint toggle:
if {@autosneak} is true:
if player is sneaking:
add 1 to {sneaking.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cAuto Sneak&e!" to loop-player
stop
#====================================================================================================
# Fast Place/Break
#====================================================================================================
on place:
if {@fastplace} is true:
if difference between {fastplacetest.%player%} and now is less than 1 tick:
cancel event
add 1 to {fastplace.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFast Place&e!" to loop-player
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFast Place&e!" to loop-player
stop
set {fastplacetest.%player%} to now
on break:
if {@fastbreak} is true:
if difference between {fastbreaktest.%player%} and now is less than 1 tick:
cancel event
add 1 to {fastbreak.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFast Break&e!" to loop-player
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFast Break&e!" to loop-player
stop
set {fastbreaktest.%player%} to now
#====================================================================================================
# Fly/Jesus [BETA]
#====================================================================================================
on any movement:
if player's gamemode is not creative:
if player's fly mode is not true:
if {@fly} is true:
if block 0.1 below the player is air:
if {flytest.%player%} is set:
set {_y} to y coordinate of location of player
set {_ry} to rounded up {_y}
set {_check} to "%{_ry}-{_y}%"
if player doesn't have jump boost:
if {_check} is not "0.47" or "0.45" or "0.63" or "0.72" or "0.2" or "0.18" or "0.68" or "0.6" or "0.3" or "0.38" or "0.87" or "0.94" or "0.77" or "0.55" or "0.8" or "0.69" or "0.97" or "0.81" or "0.74" or "0.82" or "0.85" or "0.62" or "0.61" or "0.79" or "0.53" or "0.66" or "0.88" or "0.42" or "0.39" or "0.44" or "0.57" or "0.64" or "0.02" or "0.84" or "0.9" or "0.52" or "0.48" or "0.51" or "0.49" or "0.43" or "0.23" or "0.11" or "0.07" or "0.12" or "0.24" or "0.43" or "0.7" or "0.36" or "0.17" or "0.06" or "0.04" or "0.09" or "0.14" or "0.86" or "0.67" or "0.56" or "0.54" or "0.59" or "0.73" or "0.9" or "0.58" or "0.34" or "0.21" or "0.08" or "0.48" or "0.71" or "0.5" or "0.75" or "0.83" or "0" or "1" or "0.33" or "0.25" or "0.46" or "0.98":
if {flytest.%player%} is less than {_y}:
add 1 to {fly.%player%}
set {_found} to true
if {_y} is {flytest.%player%}:
if {_check} is not "0.21" or "0.98" or "0.9" or "1" or "0.83" or "0.58" or "0.75" or "0.74" or "0.25" or "0.5" or "0":
add 1 to {fly.%player%}
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFly&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cFly&e!" to loop-player
stop
if {@jesus} is true:
if block 0.25 below the player or block 1 below the player or block 0.5 below the player or block 0.75 below the player is water:
if block 0.25 above the player is air:
set {_y} to y coordinate of location of player
set {_ry} to rounded up {_y}
set {_check} to "%{_ry}-{_y}%"
if {_check} is not "0.16" or "0.12" or "0.1" or "0.04" or "0.93" or "0.78" or "0.61" or "0.96" or "0.19" or "0.24" or "0.54" or "0.76" or "0.02" or "0.86" or "0.44" or "0.47" or "0.14" or "0.07" or "0.68" or "0.64" or "0.85" or "0.15" or "0.48" or "0.06" or "0.49" or "0.62" or "0.43" or "0.13" or "0.84" or "0.51" or "0.69" or "0.74" or "0.75" or "0.58" or "1" or "0.57" or "0.7" or "0.21" or "0.97" or "0.81" or "0.77" or "0.22" or "0.03" or "0.91" or "0.08" or "0.79" or "0.18" or "0.98" or "0.83" or "0.82" or "0.2" or "0.46" or "0.42" or "0.77" or "0.65" or "0.66" or "0.92" or "0.71" or "0.88" or "0.67" or "0.6" or "0.55" or "0.52" or "0.9" or "0.23" or "0.5" or "0.53" or "0.56" or "0.25":
if {_check} is "0":
set {_x} to rounded down x coordinate of location of player-1
set {_y} to rounded down y coordinate of location of player
set {_z} to rounded down z coordinate of location of player-1
set {_loc} to location at {_x}, {_y}, {_z} in player's world
if block at {_loc} is not water:
set {_failed} to true
if {_failed} is not set:
add 1 to {jesustest.%player%}
if {jesustest.%player%} is more than 0:
clear {jesustest.%player%}
if block 0.05 above the player is air:
add 1 to {jesus.%player%}
if {SkCheat.jesus.notify::%uuid of player%} is not set:
set {SkCheat.jesus.notify::%uuid of player%} to now
if {jesus.%player%} is greater than 3:
loop all players:
if {@onlyinstaff} is true:
if {guardianstaffmode.%loop-player%} is true:
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cJesus&e!" to loop-player
stop
else:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cJesus&e!" to loop-player
stop
else:
wait 2 seconds
if {jesustest.%player%} is more than 0:
remove 1 from {jesustest.%player%}
set {flytest.%player%} to y coordinate of location of player
#====================================================================================================
# Banwaves
#====================================================================================================
command /elder [<text>] [<player>] [<text>]:
permission: guardian.elder
trigger:
if arg 1 is not set:
message "&b&m============================="
message "{@logo} &f/elder settp"
message "{@logo} &f/elder setguardian"
message "{@logo} &f/elder ban <player> <reason>"
message "&b&m============================="
if arg 1 is "help":
message "&b&m============================="
message "{@logo} &f/elder settp"
message "{@logo} &f/elder setguardian"
message "{@logo} &f/elder ban <player> <reason>"
message "&b&m============================="
if arg 1 is "settp":
set {tp.guardian} to location of player
message "{@logo} &6Tp Lokasyonu &abasariyla tamamlandi!"
if arg 1 is "setguardian":
set {elder.guardian} to location of player
message "{@logo} &6Gardiyan lokasyonu &abasariyla tamamlandi!"
if arg 1 is "ban":
if arg 2 is set:
if arg 3 is set:
if arg 2 does not have permission "guardian.bypass":
teleport %arg 2% to {tp.guardian}
set {reason.%arg 2%} to arg 3
wait 3 ticks
spawn an guardian at {elder.guardian}
set the name of the last spawned entity to "&3Guardian"
apply strength 200 to last spawned entity
apply slowness 200 to last spawned entity
apply water breathing 200 to last spawned entity
apply resistance 200 to last spawned entity
set {dban.%arg 2%} to true
set {guardian.kill} to true
stop
every second:
if {guardian.kill} is true:
loop all entities:
if "%name of loop-entity%" is "&3Guardian":
kill loop-entity
set {guardian.kill} to false
stop
else:
stop
on any movement:
if {dban.%player%} is true:
cancel event
on damage:
if victim is a player:
if {dban.%victim%} is true:
set {_attacker} to the attacker
kill {_attacker}
kick victim due to "{@logo} &cSen Banlandin! Sebep: &e%{reason.%victim%}%&c!"
set {banned.%victim%} to true
broadcast "{@logo} &a%victim% &eis banned by &3&lGuardian &efor &c%{reason.%victim%}%"
set {dban.%victim%} to false
execute console command "/guardian ban %victim%"
else:
stop
on quit:
if {dban.%player%} is true:
set {banned.%player%} to true
broadcast "{@logo} &a%player% &ebanlandi &3&lGardiyan &etarafindan &c%{reason.%player%}%"
set {dban.%player%} to false
execute console command "/guardian ban %player%"
every 10 seconds:
if {@banwave} is true:
loop all players:
if {@custombanning} is false:
if {@animated} is true:
#---------------------------------------------------------------------------------------------
if {killaura.%loop-player%} is greater or equal to {@killauradetect}:
execute console command "elder ban %loop-player% KillAura"
#---------------------------------------------------------------------------------------------
if {multiaura.%loop-player%} is greater or equal to {@multiauradetect}:
execute console command "elder ban %loop-player% MultiAura"
#---------------------------------------------------------------------------------------------
if {antikb.%loop-player%} is greater or equal to {@antikbdetect}:
execute console command "elder ban %loop-player% AntiKB"
#---------------------------------------------------------------------------------------------
if {sneaking.%loop-player%} is greater or equal to {@sneakdetect}:
execute console command "elder ban %loop-player% AutoSneak"
#---------------------------------------------------------------------------------------------
if {fastplace.%loop-player%} is greater or equal to {@fastplacecheck}:
execute console command "elder ban %loop-player% FastPlace"
#---------------------------------------------------------------------------------------------
if {fastbreak.%loop-player%} is greater or equal to {@fastbreakcheck}:
execute console command "elder ban %loop-player% FastBreak"
else:
#---------------------------------------------------------------------------------------------
if {killaura.%loop-player%} is greater or equal to {@killauradetect}:
execute console command "guardian ban %loop-player% KillAura"
#---------------------------------------------------------------------------------------------
if {multiaura.%loop-player%} is greater or equal to {@multiauradetect}:
execute console command "guardian ban %loop-player% MultiAura"
#---------------------------------------------------------------------------------------------
if {antikb.%loop-player%} is greater or equal to {@antikbdetect}:
execute console command "guardian ban %loop-player% AntiKB"
#---------------------------------------------------------------------------------------------
if {sneaking.%loop-player%} is greater or equal to {@sneakdetect}:
execute console command "guardian ban %loop-player% AutoSneak"
#---------------------------------------------------------------------------------------------
if {fastplace.%loop-player%} is greater or equal to {@fastplacecheck}:
execute console command "guardian ban %loop-player% FastPlace"
#---------------------------------------------------------------------------------------------
if {fastbreak.%loop-player%} is greater or equal to {@fastbreakcheck}:
execute console command "guardian ban %loop-player% FastBreak"
else:
#---------------------------------------------------------------------------------------------
if {killaura.%loop-player%} is greater or equal to {@killauradetect}:
execute console command "{@custombancmd}"
#---------------------------------------------------------------------------------------------
if {multiaura.%loop-player%} is greater or equal to {@multiauradetect}:
execute console command "{@custombancmd}"
#---------------------------------------------------------------------------------------------
if {antikb.%loop-player%} is greater or equal to {@antikbdetect}:
execute console command "{@custombancmd}"
#---------------------------------------------------------------------------------------------
if {sneaking.%loop-player%} is greater or equal to {@sneakdetect}:
execute console command "{@custombancmd}"
#---------------------------------------------------------------------------------------------
if {fastplace.%loop-player%} is greater or equal to {@fastplacecheck}:
execute console command "{@custombancmd}"
#---------------------------------------------------------------------------------------------
if {fastbreak.%loop-player%} is greater or equal to {@fastbreakcheck}:
execute console command "{@custombancmd}"
command /staff:
aliases: /staffmode, /guardianstaff, /guardianstaffmode
permission: guardian.admin
trigger:
if {guardianstaffmode.%player%} is false:
set {guardianstaffmode.%player%} to true
message "{@logo} &eYou are now in staff mode!"
set {_count} to 0
loop 36 times:
set {inv.%player%.%{_count}%.main} to slot {_count} of player's inventory
add 1 to {_count}
set {inv.%player%.helmet.main} to player's helmet
set {inv.%player%.chest.main} to player's chestplate
set {inv.%player%.legs.main} to player's leggings
set {inv.%player%.feet.main} to player's boots
wait 1 seconds
set {_count} to 0
clear player's inventory
hide player from all players
set {invis.%player%} to true
set slot 8 of player to green dye named "&6Yetkili Modu"
set slot 4 of player to water bottle named "&aGorunmezlik"
set slot 0 of player to feather named "&aUcus Modu"
else:
set {guardianstaffmode.%player%} to false
message "{@logo} &cYou are no longer in staff mode!"
clear player's inventory
loop 36 times:
set slot {_count} of player's inventory to {inv.%player%.%{_count}%.main}
add 1 to {_count}
set the helmet of player to {inv.%player%.helmet.main}
set the chestplate of player to {inv.%player%.chest.main}
set the leggings of player to {inv.%player%.legs.main}
set the boots of player to {inv.%player%.feet.main}
set {invis.%player%} to false
reveal player from all players
on click with a green dye:
if name of player's tool is "&6Yetkili Modu":
if {guardianstaffmode.%player%} is true:
execute player command "/staff"
stop
on click with a water bottle:
if name of player's tool is "&aGorunmezlik":
if {guardianstaffmode.%player%} is true:
if {invis.%player%} is true:
reveal player from all players
send "{@logo} &eSen gorunmez degilsin!" to player
set {invis.%player%} to false
else:
hide player from all players
send "{@logo} &eSen simdi gorunmezsin!" to player
set {invis.%player%} to true
stop
on click with a feather:
if name of player's tool is "&aUcus Modu":
if {guardianstaffmode.%player%} is true:
execute player command "/fly"
stop
Npc icin Skript Turkcelestirilmis
Kod:
#------------------------------------------------------------
# NPC Eklentisi - Gardiyan AntiCheat
# by Xenons (RealmMianite)
# Ceviri MinecraftCelil
#------------------------------------------------------------
options:
logo: &6[&3Gardiyan&6]|
npckillaura: true
npcname: &3AGardiyan
#--------------------------------------------------------------------------------------------------------
on damage:
if {@npckillaura} is true:
if attacker is a player:
if {waittimer.%attacker%} is 0:
create a citizen named "{@npcname}" 4 metres above attacker
set {guardian.%attacker%} to last created citizen id
wait 8 ticks
remove citizen {guardian.%attacker%}
set {waittimer.%attacker%} to 4
wait 4 seconds
remove 4 from {waittimer.%attacker%}
if {waittimer.%attacker%} is higher than 0:
stop
on npc left click:
if {@npckillaura} is true:
citizen name is "{@npcname}":
add 1 to {killaura.%player%}
remove citizen {guardian.%player%}
loop all players:
if loop-player has permission "guardian.notify":
send "{@logo} &c%player% &eYandaki hileyi kullaniyor olabilir &cKill Aura&e!" to loop-player
else:
stop
stop
#--------------------------------------------------------------------------------------------------------
Son düzenleme: