Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- strona: Tu pisz strone
- on death:
- if player don't have permission "nodeathban":
- set {dpban.%victim%} to 10
- send "&cUmarles, masz 10 sekund na porzegnanie sie!" to victim
- loop {dpban.%victim%} times:
- remove 1 from {dpban.%victim%}
- wait 1 second
- if {dpban.%victim%} is 0:
- add 10 hour to {dban.%victim%}
- kick player due "&2Umarles%nl%Mozesz sie odbanowac na {@strona}"
- on join:
- if difference between now and {dban.%player%} is more or equal to 0:
- kick player due "&2Umarles%nl%Mozesz sie odbanowac na {@strona}"
- cancel event
- else:
- if {dban.%arg 1%} is set:
- clear {dban.%arg 1%}
- command /uban [<player>]:
- trigger:
- if player has permission "ubdeath":
- if {dban.%arg 1%} is set:
- clear {dban.%arg 1%}
- send "&2Odbanowales %arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement