Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warn [<offline player>]:
- permission: warn.use
- trigger:
- add 1 to {warn.%arg-1%}
- broadcast "&c%player% &7has warned &c%arg 1% &c%{warn.%arg-1%}%&7/&c5"
- command /unwarn [<offline player>]:
- permission: unwarn.use
- trigger:
- remove 1 from {warn.%arg-1%}
- send "&cYou have revoked 1 of %arg 1%&c's warns!"
- every 1 tick in world "plots":
- loop all players:
- if {warn.%loop-player%} is 5:
- execute console command "tempban %loop-player% 1hour &cYou had too many warns!"
- set {warn.%loop-player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement