SHARE
TWEET

Mute System

minmin0917 Jun 16th, 2019 (edited) 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /mute [<player>]:
  2.     permission: mute.use
  3.     permission message: &cYou Not Have A Permission!
  4.     trigger:
  5.         if arg 1 is set:
  6.             send "&cYou Mute A &4%arg 1%"
  7.             broadcast "&4%player% &cTo Muted &4%arg 1%"
  8.             set {muted.%arg 1%} to true
  9.         else:
  10.             send "&cPlease Specify A Player!"
  11.  
  12. command /unmute [<player>]:
  13.     permission: mute.use
  14.     permission message: &cYou Not Have A Permission!
  15.     trigger:
  16.         if arg 1 is set:
  17.             send "&cYou An Mute A &4%arg 1%"
  18.             broadcast "&4%player% &cTo Muted &4%arg 1%"
  19.             set {muted.%arg 1%} to false
  20.         else:
  21.             send "&cPlease Specify A Player!"
  22.  
  23. command /mute-apeelpage [<text>]:
  24.     permission: mute.use
  25.     permission message: &cYou Not Have A Permission!
  26.     trigger:
  27.         if arg 1 is not set:
  28.             send "&cYou Set A Mute AppealPage To &f%arg 1%"
  29.             set {mute.appealpage} to "&cMuteAppeal &8==> &f%arg 1%"
  30.  
  31. on chat:
  32.     if {muted.%player%} to true:
  33.         cancel event
  34.         send "&c%{mute.appealpage}%!!"
  35.     else:
  36.         uncancel event
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top