SHOW:
|
|
- or go back to the newest paste.
| 1 | variables: | |
| 2 | {hardcore.group.default} = 1440
| |
| 3 | {hardcore.group.vip1} = 240
| |
| 4 | {hardcore.group.vip2} = 120
| |
| 5 | {hardcore.group.admin} = 0
| |
| 6 | on death of player: | |
| 7 | - | player is in world "hardcore" |
| 7 | + | world is "hardcore" |
| 8 | player has permission "SkControl.mod": | |
| 9 | set {hardcore.%player%.time} to {hardcore.group.admin}
| |
| 10 | stop trigger | |
| 11 | player has permission "SkControl.vip1": | |
| 12 | set {hardcore.%player%.time} to {hardcore.group.vip1}
| |
| 13 | stop trigger | |
| 14 | player has permission "SkControl.vip2": | |
| 15 | set {hardcore.%player%.time} to {hardcore.group.vip2}
| |
| 16 | stop trigger | |
| 17 | set {hardcore.%player%.time} to {hardcore.group.default}
| |
| 18 | on respawn: | |
| 19 | - | player is in world "hardcore" |
| 19 | + | world is "hardcore" |
| 20 | - | {hardcore.%player%.time} is a time span:
|
| 20 | + | {hardcore.%player%.time} is greater than 0:
|
| 21 | - | send "Sorry you are still banned for" to player |
| 21 | + | send "Sorry you are still banned for %{hardcore.%player%.time}%" to player
|
| 22 | make player execute command "/spawn" | |
| 23 | command /join [<text>]: | |
| 24 | trigger: | |
| 25 | - | If {hardcore.%player%.time} is a time span:
|
| 25 | + | if {hardcore.%player%.time} is greater than 0:
|
| 26 | make player execute command "/spawn" | |
| 27 | else: | |
| 28 | make console execute command "/mv tp %player% %arg 1%" | |
| 29 | command /clear [<text>]: | |
| 30 | trigger: | |
| 31 | clear {hardcore.%player%.time}
| |
| 32 | every minute: | |
| 33 | loop all players: | |
| 34 | - | If {hardcore.%player%.time} is less than a minute:
|
| 34 | + | if {hardcore.%player%.time} is less than a minute:
|
| 35 | clear {hardcore.%player%.time}
| |
| 36 | else: | |
| 37 | - | reduce {hardcore.%player%.time} by 1 minute |
| 37 | + | remove 1 from {hardcore.%player%.time} |