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:
- player is in world "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:
- player is in world "hardcore"
- {hardcore.%player%.time} is a time span:
- send "Sorry you are still banned for" to player
- make player execute command "/spawn"
- command /join [<text>]:
- trigger:
- If {hardcore.%player%.time} is a time span:
- 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:
- reduce {hardcore.%player%.time} by 1 minute
Advertisement
Add Comment
Please, Sign In to add comment