Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /activeduty [<text>]:
- Permission: staff.active
- trigger:
- if {vias.%player%} is not set:
- send "&cIf you are caught abusing this (we have logs) you will be demoted and possibly banned." to player
- set {vias.%player%} to 1
- set {loc} to location of block at location of player
- send "&9You toggled active mode!" to player
- execute console command "/fly %player% on"
- execute console command "tab player %player% tagsuffix &c&lON-DUTY&8-&e%arg-1%"
- else:
- send "&9You toggled active mode!" to player
- execute console command "/fly %player% off"
- wait 1 tick
- clear {vias.%player%}
- teleport player to {loc}
- execute console command "tab player %player% tagsuffix &f"
- send "&cIf you are caught abusing this (we have logs) you will be demoted and possibly banned." to player
- on damage:
- if {vias.%victim%} is set:
- cancel event
- command /freeze [<text>]:
- Permission: staff.freeze
- trigger:
- if arg-1 is set:
- set {_p} to "%arg-1%" parsed as player
- if arg-1 is online:
- if arg-1 has permission "staff.bypass.freeze":
- send "&bYou cannot freeze that person!"
- else:
- if {froze.%arg-1%} is not set:
- set {froze.%arg-1%} to true
- send "You have been frozen by %player%" to %arg-1%
- else if :
- clear {froze.%arg-1%}
- send "You were unfrozen by %player%" to %arg-1%
- on any move:
- if {froze.%player%} is set:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement