Skip to content

AntiCores/ChatMuffler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Muffler

A Simple Plugin For Managing Mutes

Features

  • Bloat free
  • Mutes players
  • Mutes chat
  • Data saves past reboots
  • Advanced mute time parser

Commands

Command Description Usage Aliases
muffle muffle someone /muffle mute, silence
unmuffle unmuffle someone /muffle mute, silence
mufflechat muffle the chat /mufflechat mutechat, silencechat
muffleinfo muffle info /muffleinfo [username] muteinfo
mufflelist list muffled users /mufflelist mufflelist

Permission

Permission Node Description Default
chatmuffler.bypass Bypass All Muffled Restriction OP
chatmuffler.bypass.chat Bypass Muffled Chat Restriction OP
chatmuffler.bypass.user Bypass User Muffled Restriction OP
chatmuffler.muffleuser Allow Muting Other Users OP
chatmuffler.mufflechat Allow Muting Chat OP
chatmuffler.muffleinfo Allow Using Muffle Info OP
chatmuffler.mufflelist Allow Listing Muffled users OP

Time parser supports

<time> can be second which is assumed by default, or a time formatted input

Legend: (y)ear, (m)onth, (w)eek, (d)ay, (h)our, m(i)nute, (s)econd

/mute bob 12h30i50s will mute bob for 12 hours, 30 minutes, 50 seconds

muting using 0 or unmute will unmute, and -1 or forever will mute forever

API

API functions are located in MufflerTracker which can be accessed via Muffler::getMuffleTracker when the plugin is enabled

The details of the functions can be accessed in MufflerTracker which is documented with PHP doc and all you need

Maybe?

  • mute ui for more advanced/easy operations