- Katılım
- 30 May 2019
- Mesajlar
- 16
- Beğeni
- 3
- Puanları
- 30
Sunucunuza farklı bir hava katacak bir skripttir.
KOD:
KOD:
Kod:
# HOLOGRAM SOHBET
command /hsohbet:
aliases: hologramsohbet
permission: hologram.sohbet
permission message: &cHata &8» &7Bunu yapmak için yetkiniz yok.
trigger:
if {holochat::%player%} is true:
delete {holochat::%player%}
send player title "&dHologram" with subtitle "&c&lKAPALI" for 3 seconds
stop trigger
if {holochat::%player%} is not set:
set {holochat::%player%} to true
send player title "&dHologram" with subtitle "&a&lAÇIK" for 3 seconds
on chat:
if {holochat::%player%} is true:
if player has permissions "hologram.kurucu":
bind hologram "ItemStack:DIAMOND_CHESTPLATE;%player's displayname%;&f%message%" to player for 2 seconds offset by 0.0, 4.0, 0.
else:
if player has permissions "hologram.yonetici":
bind hologram "ItemStack:GOLD_CHESTPLATE;%player's displayname%;&f%message%" to player for 2 seconds offset by 0.0, 4.0, 0.
else:
if player has permissions "hologram.moderator":
bind hologram "ItemStack:IRON_CHESTPLATE;%player's displayname%;&f%message%" to player for 2 seconds offset by 0.0, 4.0, 0.
else:
bind hologram "ItemStack:DIAMOND_CHESTPLATE;%player's displayname%;&f%message%" to player for 2 seconds offset by 0.0, 4.0, 0.
on damage:
attacker is a player
victim is a player
if {holochat::%attacker%} is true:
set {holochat::%attacker%} to false
send "" to attacker
send "&7Savaşa girdiğiniz için &dHologram Sohbet &7otomatik olarak &ckapatıldı" to attacker
send "" to attacker
on chat:
replace all "<3" in message with "&4&l❤&7"
at 15:00:
execute console command "/time day"
every 60 minute:
execute console command "/save-all"
on connect:
if {safewall::%player%} is not set:
if player doesn't have permission "safe.giris":
kick the player because "&3Anti Bot &8» &eLütfen tekrar giris yapiniz. "
wait 0.3 second
set {safewall::%player%} to 1
stop
on quit:
delete {safewall::%player%}
on skript start:
delete {safewall}