This plugin was with the intent to help server owners manage their chats easily. There are very few features as of now, but I will actively be working on adding more and if there are some that you think should be added message me on discord at Berraye#0175
Features
Anti-Spam
Global Mute
Chat Filter
Clear Chat
Staff Chat
Commands
/mutechat - disables chat for all players that don't have permission
/clearchat - clears chat for all players
/staffchat | /staffchat <message> - lets a player enter or leave staffchat
/chatmoderation - opens the help menu
/chatmoderation help - opens the help menu
/chatmoderation reload - reloads the plugin
Permissions
chatmoderation.help - gives access to the help command and /chatmoderation
chatmoderation.mutechat - gives access to the /mutechat command
chatmoderation.mutechat.bypass - allows a player to type while global chat is muted
chatmoderation.reload - gives access to the /chatmoderation reload command
chatmoderation.clearchat - gives access to the /clearchat command
chatmoderation.staffchat - allows a player to use the /staffchat command and read messages sent in staffchat
chatmoderation.antispam.bypass - allows a player to bypass the chat cooldown
chatmoderation.filter.bypass- allows a player to bypass the chat filter
chatmoderation.commands.* - gives access to all of the plugins commands
chatmoderation.bypass.* - gives access to all of the plugins bypasses
chatmoderation.* - gives access to all of the plugins permission
Files
Code (Text):
anti-spam:
enabled: true #Enables or disables anti-spam
time: 3 #anti-spam cooldown
clear-chat-on-global-mute: true #If true when chat is disabled it will also be cleared
banned-word-list: #list of banned words on the server
- fuck
- bitch
Code (Text):
# Variables
# %executor% - Shows player who executed a command
# %prefix% - displays the prefix
# %staffprefix% - displays the prefix of staff chat//Only works with staff chat variables
# %staffmessage% - get the said message//Only works with staff chat format variable
# %staffsender% - get the sender of a message in staff chat//Only works with staff chat format variable
# %cooldown% - displays the chat cooldown time of a player in seconds
prefix: '&e[&lCM&e]'
no-permission: '%prefix% &cYou do not have permission to use this command!'
global-chat:
enabled: '%prefix% &fGlobal chat has been &aenabled&f by &e%executor%'
disabled: '%prefix% &fGlobal chat has been &cdisabled&f by &e%executor%'
disabled-speak: '%prefix% &cGlobalChat is currently disabled!'
cleared: '%prefix% &fGlobal chat has been cleared by &e%executor%'
anti-swear: '%prefix% &fYour message contained a word that is not allowed'
chat-cooldown: '%prefix% &fYou may not speak for another &e%cooldown% seconds'
reload: '%prefix% ChatModeration &fhas successfully been reloaded'
staff-chat-prefix: '&b[&lStaffChat&b]'
staff-chat-on: '%staffprefix% &fYou have &aenabled &fyour staff chat'
staff-chat-off: '%staffprefix% &fYou have &cdisabled &fyour staff chat'
staff-chat-format: '%staffprefix% &e%staffsender%&f: %message%'