Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # by Wheemangga :v
- variables:
- w = 0
- options:
- L: &7[&cWarning&7]
- P: Warning.Admin
- Command /Warn [<text="help">] [<player>] [<text>]:
- trigger:
- player doesn't have permission "{@P}":
- arg 1 is "help":
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} &a/Warn check &7- Check your Warn"
- send "{@L} &a/Warn about &7- Credits"
- send "{@L} &aWarn 1.0.1" #Modified by Walt.
- arg 1 is "about":
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} &aWarnMenu 1.0.1&7 by &bCleo Team"
- arg 1 is "check":
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} Your Warnings : &c%{w.%player%}%"
- player has permission "{@P}":
- arg 1 is "about":
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} &aWarnMenu 1.0.1&7 by &bCleo Team"
- arg 1 is "check":
- arg 2 is not set:
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} Your Warnings : &c%{w.%player%}%"
- arg 2 is set:
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} %arg 2%'s Warnings : &c%{w.%arg 2%}%"
- arg 1 is "help":
- send "{@L} &bWarnings Menu"
- send " "
- send "{@L} &a/Warn add <player> <reason> &7- Warn a Player"
- send "{@L} &a/Warn rem <player> &7- Remove Player's Warning"
- send "{@L} &a/Warn clear <player> &7- Clear Player's Warning"
- send " "
- send "{@L} &aWarn Menu &7by &bWalt"
- arg 1 is "add":
- arg 2 is set:
- arg 3 is set:
- broadcast "{@L} &c%arg 2% &fhas received a &cWARNING&f: %arg 3%"
- add 1 to {w.%arg 2%}
- {w.%arg 2%} is above or equal to 3:
- ban arg 2
- kick arg 2 due to "{@L} &cWarningmu sudah mencapai 3! maka kamu di Ban!"
- {w.%arg 2%} is above or equal to 5:
- kick the player due to "{@L} &cWarningmu telah mencapai 3! maka kamu di BAN!"
- ban the player due to "{@L} &cWarningmu telah mencapai 3! maka kamu di BAN!"
- arg 2 is not set:
- send "{@L} You must Input the Name of the Player!"
- arg 1 is "rem":
- arg 2 is set:
- send "{@L} &a%player%&7 has removed One of your Warnings" to arg 2
- remove 1 from {w.%arg 2%}
- arg 2 is not set:
- send "{@L} You must Input the Name of the Player!"
- arg 1 is "clear":
- arg 2 is set:
- send "{@L} &a%player%&7 has clear all of your Warnings" to arg 2
- clear {w.%arg 2%}
- arg 2 is not set:
- send "{@L} You must Input the Name of the Player!"
- On Join:
- {w.%player%} is above or equal to 3:
- kick the player due to "{@L} &cKamu telah di Ban karena Warningmu 3!"
Advertisement
Add Comment
Please, Sign In to add comment