Welperella
Somon Balığı Selam Vermeye Geldi
- Katılım
- 12 Şubat 2025
- Mesajlar
- 14
- Elmaslar
- 0
- Puan
- 390
- Yaş
- 24
- Konum
- Bursa
- Minecraft
- Westreny
Discord:
ishadowsonic
Kod:
command /banla [<offlineplayer>] [<text>]:
permission: ceza.banla
trigger:
if arg 1 is not set:
send "&3Kullanım: /banla <oyuncu> <sebep>"
stop
if arg 2 is not set:
send "&3Kullanım: /banla <oyuncu> <sebep>"
stop
loop all players:
if loop-player has permission "ban.gor":
send "&a%player% &6oyuncusu &e%arg-1% &6oyuncusunu &e%arg 2% &6sebebiyle banladı." to loop-player
set {ban.bilgi.%arg 1%.sebep} to arg 2
set {ban.bilgi.%arg 1%.süre} to "Kalıcı"
set {ban.bilgi.%arg 1%.yetkili} to player
execute console command "/ban %arg 1% %arg 2%"
command /tempbanla [<offlineplayer>] [<text>] [<text>]:
permission: ceza.tempbanla
trigger:
if arg 1 is not set:
send "&3Kullanım: /tempbanla <oyuncu> <süre> <sebep>"
stop
if arg 2 is not set:
send "&3Kullanım: /tempbanla <oyuncu> <süre> <sebep>"
stop
if arg 3 is not set:
send "&3Kullanım: /tempbanla <oyuncu> <süre> <sebep>"
stop
loop all players:
if loop-player has permission "ban.gor":
send "&a%player% &6oyuncusu &e%arg-1% &6oyuncusunu &e%arg 3% &6sebebiyle &e%arg 2% &6süreyle banladı." to loop-player
set {ban.bilgi.%arg 1%.sebep} to arg 3
set {ban.bilgi.%arg 1%.süre} to arg 2
set {ban.bilgi.%arg 1%.yetkili} to player
execute console command "/tempban %arg 1% %arg 2% %arg 3%"
command /mutele [<offlineplayer>] [<text>] [<text>]:
permission: ceza.mutele
trigger:
if arg 1 is not set:
send "&3Kullanım: /mutele <oyuncu> <süre> <sebep>"
stop
if arg 2 is not set:
send "&3Kullanım: /mutele <oyuncu> <süre> <sebep>"
stop
if arg 3 is not set:
send "&3Kullanım: /mutele <oyuncu> <süre> <sebep>"
stop
loop all players:
send "&7&m--------------------------------------" to loop-player
send "&1" to loop-player
send "&1" to loop-player
send " &6&lSUSTURMA" to loop-player
send "&1" to loop-player
send "&6 Susturan: &a%player%" to loop-player
send "&6 Susturulan: &c%arg 1%" to loop-player
send "&6 Sebep: &e%arg 3%" to loop-player
send "&6 Süre: &e%arg 2%" to loop-player
send "&1" to loop-player
send "&1" to loop-player
send "&7&m--------------------------------------" to loop-player
set {mute.bilgi.%arg 1%.sebep} to arg 3
set {mute.bilgi.%arg 1%.yetkili} to player
if arg 2 is "kalıcı":
set {mute.bilgi.%arg 1%.süre} to "Kalıcı"
execute console command "/mute %arg 1% %arg 3%"
else:
set {mute.bilgi.%arg 1%.süre} to arg 2
execute console command "/tempmute %arg 1% %arg 2% %arg 3%"
command /banbilgi [<offlineplayer>]:
permission: ceza.banbilgi
trigger:
if arg 1 is not set:
send "&3Kullanım: /banbilgi <oyuncu>"
stop
if {ban.bilgi.%arg 1%.sebep} is not set:
send "&cBu oyuncu hakkında ban bilgisi bulunamadı."
stop
if {ban.bilgi.%arg 1%.süre} is not "Kalıcı":
if {ban.bilgi.%arg 1%.süre} is "0":
send "&cBu oyuncunun yasaklanması yok."
stop
send "&e%arg 1% &7Oyuncusunun ban bilgileri:"
send "&6Yasaklayan Yetkili: &f%{ban.bilgi.%arg 1%.yetkili}%"
send "&6Yasaklanma Süresi: &f%{ban.bilgi.%arg 1%.süre}%"
send "&6Yasaklanma Sebebi: &f%{ban.bilgi.%arg 1%.sebep}%"
command /mutebilgi [<offlineplayer>]:
permission: ceza.mutebilgi
trigger:
if arg 1 is not set:
send "&3Kullanım: /mutebilgi <oyuncu>"
stop
if {mute.bilgi.%arg 1%.sebep} is not set:
send "&cBu oyuncu hakkında mute bilgisi bulunamadı."
stop
if {mute.bilgi.%arg 1%.süre} is not "Kalıcı":
# Basit süre kontrolü (aynı şekilde ban ile)
if {mute.bilgi.%arg 1%.süre} is "0":
send "&cBu oyuncunun susturulması yok."
stop
send "&e%arg 1% &7Oyuncusunun mute bilgileri:"
send "&6Susturan Yetkili: &f%{mute.bilgi.%arg 1%.yetkili}%"
send "&6Susturulma Süresi: &f%{mute.bilgi.%arg 1%.süre}%"
send "&6Susturulma Sebebi: &f%{mute.bilgi.%arg 1%.sebep}%"
command /mutekaldır [<offlineplayer>]:
permission: ceza.mutekaldır
trigger:
if arg 1 is not set:
send "&3Kullanım: /mutekaldır <oyuncu>"
stop
loop all players:
send "&7&m--------------------------------------" to loop-player
send "&1" to loop-player
send "&1" to loop-player
send " &6&lSUSTURMA KALDIRMA" to loop-player
send "&1" to loop-player
send "&6 Susturmayı kaldıran: &a%player%" to loop-player
send "&6 Susturması kaldırılan: &c%arg 1%" to loop-player
send "&1" to loop-player
send "&1" to loop-player
send "&7&m--------------------------------------" to loop-player
delete {mute.bilgi.%arg 1%.sebep}
delete {mute.bilgi.%arg 1%.yetkili}
delete {mute.bilgi.%arg 1%.süre}
execute console command "/unmute %arg 1%"
command /bankaldır [<offlineplayer>]:
permission: ceza.bankaldır
trigger:
if arg 1 is not set:
send "&3Kullanım: /bankaldır <oyuncu>"
stop
delete {ban.bilgi.%arg 1%.sebep}
delete {ban.bilgi.%arg 1%.süre}
delete {ban.bilgi.%arg 1%.yetkili}
execute console command "/unban %arg 1%"
sizden istediğim bu scripte mesela /tempbanla ve /mutele komutları varya onda süre kısmı var süreye a yazsak bile öyle oluyor sizden tek istediğim hani herkese mesaj gidiyorya isteğim şöyle süre kısmına sadece 12h - 4m - 7d - 9s gibi yazılar yazılsın ve herkeste 12 saat - 4 dakika - 7 gün - 9 saniye gibi yazsın ve gözüksün eğer süre kısmına verdiğmi örnekler gibi meslea 1h - 8m gibi yazılar yazılmazsa sadece 8 veya harf yazılırsa komut çalışmasın yine kullanım mesajını atsın