Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- WS.AdminPerm: WS.admin
- WS.UnwarnablePerm: WS.unwarnable
- WS.AmtPermBan: 9
- WS.AmtTempBan: 3
- #%nl%: new line
- #%{WS.WarnAmt.%{_WS.Target}%}%: ban amount of the player
- #%{WS.ExpireTime.%{_WS.Target}%}%: The day of ban expire
- WS.TempBanMsg: "&c[&6Warning System&c]%nl%%nl%&cYou got &6%{WS.WarnAmt.%{_WS.Target}%}% warning&c.%nl%&cYou are now &e<emporary banned &cfor &e&l7 &cdays.%nl%&cAny objections, please contact admin at &9facebook page &cor &9group.%nl%%nl%&eExpire time: %{WS.ExpireTime.%{_WS.Target}%}%"
- WS.PermBanMsg: "&c[&6Warning System&c]%nl%%nl%&cYou got &6%{WS.WarnAmt.%{_WS.Target}%}% warning&c.%nl%&cYyou are now &e&lperment banned&c.%nl%&cAny objections, please contact admin at &9facebook page &cor &9group&c.%nl%%nl%&eExpire time: &e&lNever!"
- WS.Prefix: &c[&6Warning System&c]
- WS.SpecifyPlayer: &cPlease specify a player.
- #────────────────────────────────────────────────#
- #────────────────────────────────────────────────#
- #Do not touch the following part unless you know what you are doing#
- #────────────────────────────────────────────────#
- #────────────────────────────────────────────────#
- command /warn <text="help"> [<text>] [<text>]:
- permission: {@WS.AdminPerm}
- permission message: &cYou don't have permission to perform this command.
- usage: &aType &e/warn help &afor more help.
- aliases: /wrn, /wn, /ws
- trigger:
- if arg-1 is "help" or "h" or "hlp" or "hp":
- message "&a────────────Warning System───────────────"
- message "&eAuthor: i998979"
- message ""
- message "&aCommand:"
- message "&a<>: Necessary []: Optional"
- message "&c/Warn add | a | + | plus <player> [reason] &e: Give warning to a player"
- message "&c/Warn remove | r | del | delete | take | t <player> [reason] &e: remove a warning from player"
- message "&c/Warn reset | rs | clean | cl | clear | c <player> [reason] &e: reset a player's warning"
- message "&c/Warn show | s | display | dis | d | print | p | pt <player> &e: show how many warnings player have"
- message "&c/Warn help | h | hlp | hp &e: show this help message"
- message ""
- message "&aPermission:"
- message "&6Command Permission:"
- message "&e{@WS.AdminPerm}"
- message "&6Unwarnable Permission:"
- message "&e{@WS.UnwarnablePerm}"
- message "&a───────────────────────────────────"
- if arg-1 is "add" or "a" or "+" or "plus":
- if arg-2 is set:
- if (arg-2 parsed as player) has permission "{@WS.UnwarnablePerm}":
- broadcast "&a───────────────────────────────────"
- broadcast "{@WS.Prefix} &6%executor% &ctry to warn &6%arg-2% &cbut failed."
- broadcast "{@WS.Prefix} &cBecause &6%arg-2% &chas unwarnable permission!"
Advertisement
Add Comment
Please, Sign In to add comment