Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {hardcore.group.default} = 1440
- {hardcore.group.vip1} = 240
- {hardcore.group.vip2} = 120
- {hardcore.group.admin} = 0
- on death of player:
- world is "hardcore"
- player has permission "SkControl.mod":
- set {hardcore.%player%.time} to {hardcore.group.admin}
- stop trigger
- player has permission "SkControl.vip1":
- set {hardcore.%player%.time} to {hardcore.group.vip1}
- stop trigger
- player has permission "SkControl.vip2":
- set {hardcore.%player%.time} to {hardcore.group.vip2}
- stop trigger
- set {hardcore.%player%.time} to {hardcore.group.default}
- on respawn:
- world is "hardcore"
- {hardcore.%player%.time} is greater than 0:
- send "Sorry you are still banned for %{hardcore.%player%.time}%" to player
- make player execute command "/spawn"
- command /join [<text>]:
- trigger:
- if {hardcore.%player%.time} is greater than 0:
- make player execute command "/spawn"
- else:
- make console execute command "/mv tp %player% %arg 1%"
- command /clear [<text>]:
- trigger:
- clear {hardcore.%player%.time}
- every minute:
- loop all players:
- if {hardcore.%player%.time} is less than a minute:
- clear {hardcore.%player%.time}
- else:
- remove 1 from {hardcore.%player%.time}
Advertisement
Add Comment
Please, Sign In to add comment