Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- deadmsg : &cUmarles,poczekaj 3 dni albo odbanuj sie za SMS na
- tag : &4mc.HardPlay.pl
- strona : &esklep.hardplay.pl
- czasban : 3 days
- czasp : 10 second
- variables:
- {ban.%player%} = false
- on death of player:
- strike lightning effect at the player
- send "{@tag} &4Masz {@czasp} na pozegnanie sie z serwerem.Mozesz sie odbanowac na {@strona}" to player
- wait {@czasp}
- set {skript.%player%.dead} to true
- execute console command "/kick %player% (@deadmsg} {@strona}"
- execute console command "/tempban %player% 3d"
- execute console command "/tempbanip %ip% 3d"
- wait {@czasban}
- set {skript.%player%.dead} to false
- execute console command "unban %player%"
- on connect:
- if {skript.%player%.dead} is true:
- kick player due to "{@tag} {@deadmsg} {@strona}"
- on death of player:
- if player has permissions "hc.admin.noded":
- set {skript.%player%.dead} to false
- command /hc odbanuj [<offlineplayer>]:
- trigger:
- if player has permissions "hc.admin":
- if arg 1 is offline:
- set {skript.%player%.dead} to false
- if arg 2 "%player%" is banned:
- execute console command "/unban %player%"
- send "&2Pomyslnie odbanowano gracz %player% !"
- else:
- send "&cBlad: Gracz &a%arg player%&c nie jest zbanowany !. jest Online!"
- else:
- send "&cBlad: Nie masz uprawnien"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement