View difference between Paste ID: N621xzGm and bmV7H21J
SHOW: | | - or go back to the newest paste.
1
on death of player:
2
	if player has permission "hardcore.brak.bana":
3
		stop
4
	else:
5
		send "&c[&6Hardcore&c] &aMasz 15 sekund zeby sie pozegnac z serwerem" to player
6
		set {_} to difference between {ban.%player%.ostatni} and now
7
		set {ban.%player%}
8
		wait 15 seconds
9
		kick player due to "&6Mozesz sie odbanowac na naszej stronie: &aTU ADRES STRONY"
10
on join:
11
	if {ban.%player%} is true:
12
		kick player due to "&6Mozesz sie odbanowac na naszej stronie: &aTU ADRES STRONY"
13
on join:
14
	if {_} is less than 3 days:
15
		kick player due to "&6Mozesz sie odbanowac na naszej stronie: &aTU ADRES STRONY"
16
	else:
17
		set {ban.%player%} to false
18
command /usunbana [<offlineplayer>]:
19
	executable by: console
20
	trigger:
21
		if player has permission "hardcore.usun":
22
			if arg 1 is set:
23
				set {ban.%arg-1%} to false