Sueta

» ChatModeration × Filter, AntiSpam and more... ! [1.8.x-1.1

2020-07-12

A simple chat moderation plugin for your server.

·Plugin

ChatModeration96.png
CHATMODERATION
A simple plugin to keep your chat clean.

Features:
● fully configurable
● spam protection
● swearing protection
● anti advertising
● chatclear feature

Commands:
/chatmoderation - Admin command.
/chatclear - Clears the chat.

Permissions:
100% changeable in the config.yml!

Have fun while using my plugin!
(Please to not report bugs in the review section!)

Config.yml:

#====================================
#
# ChatModeration configuration file.
# Plugin by Scottx. ~ 1.0.0
# Thanks for using my plugin!
#
#====================================

#====================================
# General Plugin settings.
#====================================

General:
  Prefix: "&8▍ &c&lChat &8▏"
  NoPermission: "%prefix% &cYou do not have perms for that!"
  NoPlayer: "&cYou must be a player to perform that command!"
  Config:
    Usage: "%prefix% &cUse&8: &c/chatmoderation <info/reload>"
    Permission: "chatmoderation.reload"
    Reloaded: "%prefix% &aConfiguration successfully reloaded!"
    Failed: "%prefix% &cFailed to reload configuration!"
    # If the configuration reload fails, should a new configuration file be created?
    Create: true

#====================================
# Settings the protection for spam in chat.
#====================================

Spam:
  Enabled: true
  Time: 3 # (In seconds)
  Message: "%prefix% &cYou're chatting too fast!"

  # Should there be a bypass permission?
  Bypass:
    Enable: true
    Permission: "chatmoderation.spam.bypass"

#====================================
# ChatClear settings.
#====================================

ChatClear:
  Enabled: true
  Permission: "chatmoderation.chatclear"
  Lines: 100
  Placeholder: "&8"
  Reason: "%prefix% &7The Chat was cleared by &c%player%&8. &8(&c%reason%&8)"
  NoReason: "%prefix% &7The Chat was cleared by &c%player%&8."

  # Should there be a bypass permission?
  Bypass:
    Enable: true
    Permission: "chatmoderation.chatclear.bypass"

#====================================
# Filter settings.
#====================================

Filter:
  Enabled: true
  Message: "%prefix% &cPlease do not swear in chat!"

  # Should users with a specific permission be notified?
  Notify:
    Enabled: true
    Permission: "chatmoderation.filter.notify"
    Message: "%prefix% &7The player &c%player% &7used a bad word&8!"

  #Should users with a specific permission be able to bypass the filter?
  Bypass:
    Enabled: false
    Permission: "chatmoderation.filter.bypass"

  Words:
    - // REMOVED FOR SPIGOTMC
#====================================
# AntiAdvertising settings.
#====================================

AntiAdvertising:
  Enabled: true
  Message: "%prefix% &cPlease to not advertise!"

  # Should users with a specific permission be notified?
  Notify:
    Enabled: true
    Permission: "chatmoderation.antiadvertising.notify"
    Message: "%prefix% &7The player &c%player% &7tried to advertise&8! &8(&c%message%&8)"

  #Should users with a specific permission be able to bypass the check?
  Bypass:
    Enabled: false
    Permission: "chatmoderation.antiadvertising.bypass"



TOS
DO NOT SHARE THE CODE OF THIS PLUGIN!
YOU ARE NOT ALLOWED TO MODIFY THE CODE!
YOU ARE NOT ALLOWED TO DECOMPILE THIS RESOURCE!

Similar projects

Plugin →