Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warn [<offline player>] [<text>]:
- permission: core.warn
- permission message: &cYou do not have permission!
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- broadcast "&7"
- broadcast "&c[Punish] &d%arg-1% &7was &cWarned &7by &a%player%&7."
- broadcast "&7"
- if offlineplayer-arg is online:
- send "&c&lWARNING:" to arg-1
- send "&fWarned by %player%. Reason:" to arg-1
- send "&7%arg-2%" to arg-1
- else:
- send "&cUsage: /warn (player) (reason)"
- send "&cExample: /warn _C02 test"
- else:
- send "&cUsage: /warn (player) (reason)"
- send "&cExample: /warn _C02 test"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement