Gelişmiş Jail Skripti

Pluginer_Mert

Zombi Katili
Mesajlar
238
En iyi cevaplar
0
Beğeniler
46
Puanları
360
Ruh hali
Merhaba Arkadaşlar Jail Plugini İngilizce Olduğu İçin Bende Biraz Türkçeleştirme Yaptım. Umarım Beğenirsiniz.
Kod:
#-----------------------------------------------------------------------------#
#                             Coded BY:Pluginer_Mert                                           #
#-----------------------------------------------------------------------------#

command /hapisat <text> <text> <text> <text> <text>:
    usage: &c/hapisat &b<oyuncu> <hapishane adi> <sure> <saniye/dakika/saat/gün/hafta/ay/yıl> <sebep>
    permission: gelismis.hapis
    permission message: &cYetkini Nerden Aldin Evladim?!
    trigger:
        if arg 4 is "saniye" or "s":
            execute console command "/jail %arg 1% %arg 2% %arg 3% s"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Saniye" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "dakika" or "m" or "d":
            execute console command "/jail %arg 1% %arg 2% %arg 3% m"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Dakika" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "saat" or "h":
            execute console command "/jail %arg 1% %arg 2% %arg 3% h"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Saat" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "gün" or "day":
            execute console command "/jail %arg 1% %arg 2% %arg 3% d"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Gün" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "hafta" or "w":
            execute console command "/jail %arg 1% %arg 2% %arg 3% w"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Hafta" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "ay" or "mouth":
            execute console command "/jail %arg 1% %arg 2% %arg 3% mouth"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Ay" to players
            send "&8&l&m-----------------------------" to players
        if arg 4 is "yıl" or "yil":
            execute console command "/jail %arg 1% %arg 2% %arg 3% y"
            send "&8&l&m-----------------------------" to players
            send "&b%arg 1% &cIsimli Oyuncu Hapise Atildi!" to players
            send "&6Sebep: &c%arg 5%" to players
            send "&6Süre: &c%arg 3% Yıl1" to players
            send "&8&l&m-----------------------------" to players
 


Umut Savas

Ne demek yanlış? Ben mi?
Mesajlar
812
En iyi cevaplar
0
Beğeniler
247
Puanları
590
Ruh hali
Türkçeleştirmek saçma ama jail skripti kodlasan anlarım
 

Üst