• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Simple Mute system :)

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

MuntThee

Tree Puncher
#1
Markdown (GitHub flavored):
/cmd create mute usage: on\off
/cmd insert mute 0 #Mute by BlackDeadSkulll MadCommands v.0.0.1
/cmd add mute let %optie% = %args%[1]
/cmd add mute let %player% = %args%[2]
/cmd add mute if varset(%optie%) then goto 7
/cmd add mute message %p% usage: /mute on\off <playername>
/cmd add mute exit
/cmd add mute if varset(%playar%) then goto 10
/cmd add mute goto 5
/cmd add mute exit
/cmd add mute let %on% = onlineplayers()
/cmd add mute if %player% notin %online% then message %p% §cPlayer needs to be online!
/cmd add mute if %player% notin %online% then exit
/cmd add mute load %mute%
/cmd add mute if \"on\" = %optie% then goto 100
/cmd add mute if \"off\" = %optie% then goto 50
/cmd add mute message %p% %optie% is not a command! Try on\off
/cmd add mute exit
/cmd insert mute 49 #on
/cmd add mute if \"on\" in %mute%[%player%] then message %p% This Player is already muted!
/cmd add mute if \"on\" in %mute%[%player%] then exit
/cmd add mute %mute%[%player%] = \"on\"
/cmd add mute save %mute%
/cmd add mute message %p% The player %player% has been muted!
/cmd add mute exit
/cmd insert mute 99 #off
/cmd add mute if \"off\" in %mute%[%player%] then message %p% This Player not muted

/cmd add mute if \"off\" in %mute%[%player%] then exit
/cmd add mute %mute%[%player%] = \"off\"
/cmd add mute save %mute%
/cmd add mute message %p% The player %player% has been unmuted!
/cmd add mute exit

This will disallow to not talk\talk in chat!

Markdown (GitHub flavored):
/cmd create chat #chatter
/cmd add chat load %mute%
/cmd add chat let %chat% = %args%[3]
/cmd add chat let %lol% = %mute%[%p%]
/cmd add chat if %lol% = \"on\" then goto 8
/cmd add chat if %lol% = \"off\" then exit
/cmd add chat exit
/cmd add chat cancel
/cmd add chat message %p% You have been unmuted!
/cmd unregister char
/cmd trigger chat chat
If there is any bugg plz let me know :)
 
Last edited by a moderator: