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%nl%&c[Punish] &d%arg-1% &7was &cWarned &7by &a%player%&7.%nl%&7"
- if offlineplayer-arg is online:
- send "&c&lWARNING:%nl%&fWarned by %player%. Reason:%nl%&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