kullanım:
- /hapis <oyuncu> <süre>
fonksiyon hapis(oyuncu,süre):
mahkumu hapis noktasına ışınla
/manuadd <oyuncu> mahkum
<süre> bekle
mahkumu lobiye, spawna ışınla
/manuadd <oyuncu> oyuncuGrubu
BlackKpoT#3087
dimitris831#0001
command /hapis [<player>] [<text>]:
permission: essentials.jail
aliases: /jail
trigger:
if player-arg is online:
if arg 2 is set:
if {hapis:%arg-2%} is set:
if player-arg doesn't have permission "essentials.jail":
set {_hapis} to {hapis:%arg-2%}
teleport player-arg to {hapis:%arg-2%}
set {hapiste:%player-arg%} to true
send player-arg title "&c&lHAPİSTESİN!" with subtitle "&3%player% &7isimli yetkili seni hapise &6yolladı&8." for 3 seconds
send "" to players
send "&8[&cSunucu&8] &3%player-arg%&8, &c%player% &7adlı yetkili tarafından 1 saatliğine &chapse çarptırıldı&8." to players
wait 1 hour
delete {hapiste:%player-arg%}
send player-arg title "&a&lSERBESTSİN!" with subtitle "&7Hapis süren doldu&8." for 3 seconds
send "&8[&cSunucu&8] &3%player-arg% &7adlı kişinin hapis süresi &adoldu&8." to players
if player-arg is online:
execute player-arg command "spawn"
stop
on command:
if {hapiste:%player%} is set:
if player doesn't have permission "essentials.jail":
if {_hapis} is set:
cancel event
send "&8[&cSunucu&8] &7Hapisteyken komut &ckullanamazsın&8." to player
stop
on chat:
if {hapiste:%player%} is set:
if player doesn't have permission "essentials.jail":
cancel event
loop all players:
if {hapis:%loop-player%} is set:
send "&8&lMAHKÜM &b%player%&8: &f%message%" to loop-player
stop
Normalism
galiba yanlış anladınız ben yeni bir skript,plugin eklemek istemiyorum essentials'ın jail özelliğini kullanıcam fakat adam jaildeyken duel atabiliyor bu komutu kapatmak istiyorumkullanmanı şiddetle tavsiye ederim. Bu eklenti sadece jaile odaklanmıştır ve jaildeki oyuncunun istemediğin komutları kullanmasını kolayca engelleyebilirsin.Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
galiba yanlış anladınız ben yeni bir skript,plugin eklemek istemiyorum essentials'ın jail özelliğini kullanıcam fakat adam jaildeyken duel atabiliyor bu komutu kapatmak istiyorumŞöyle bir şey yaptım:PHP:command /hapis [<player>] [<text>]: permission: essentials.jail aliases: /jail trigger: if player-arg is online: if arg 2 is set: if {hapis:%arg-2%} is set: if player-arg doesn't have permission "essentials.jail": set {_hapis} to {hapis:%arg-2%} teleport player-arg to {hapis:%arg-2%} set {hapiste:%player-arg%} to true send player-arg title "&c&lHAPİSTESİN!" with subtitle "&3%player% &7isimli yetkili seni hapise &6yolladı&8." for 3 seconds send "" to players send "&8[&cSunucu&8] &3%player-arg%&8, &c%player% &7adlı yetkili tarafından 1 saatliğine &chapse çarptırıldı&8." to players wait 1 hour delete {hapiste:%player-arg%} send player-arg title "&a&lSERBESTSİN!" with subtitle "&7Hapis süren doldu&8." for 3 seconds send "&8[&cSunucu&8] &3%player-arg% &7adlı kişinin hapis süresi &adoldu&8." to players if player-arg is online: execute player-arg command "spawn" stop on command: if {hapiste:%player%} is set: if player doesn't have permission "essentials.jail": if {_hapis} is set: cancel event send "&8[&cSunucu&8] &7Hapisteyken komut &ckullanamazsın&8." to player stop on chat: if {hapiste:%player%} is set: if player doesn't have permission "essentials.jail": cancel event loop all players: if {hapis:%loop-player%} is set: send "&8&lMAHKÜM &b%player%&8: &f%message%" to loop-player stop
galiba yanlış anladınız ben yeni bir skript,plugin eklemek istemiyorum essentials'ın jail özelliğini kullanıcam fakat adam jaildeyken duel atabiliyor bu komutu kapatmak istiyorum
Gönderi otomatik olarak birleştirildi:
galiba yanlış anladınız ben yeni bir skript,plugin eklemek istemiyorum essentials'ın jail özelliğini kullanıcam fakat adam jaildeyken duel atabiliyor bu komutu kapatmak istiyorum
BlackKpoT#3087
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!