Chat module

Introduction

The chat module allows you to manage certain chat functionalities. Most of these are still the old Staff+ ones.

Configuration

# Requires "permissions.chat" permission.
chat-module:
  # Whether or not the plugin will use "/chat" features.
  enabled: true

  # The amount of lines that will be sent when "/chat clear" is executed.
  lines: 100

  # The cooldown, in seconds, for chatting when the chat is slowed.
  # Bypass permission is "chat-slow".
  slow: 5

  # Whenever one of these words/phrases is detected in a chat message, 
  # an alert will be triggered. These can either notify the staff members 
  # through the alerts-system of discord.
  detection:
    phrases:
      - admin
      - mod

  # All word blacklist options.
  # Leave any of the lists below blank to disable them!
  blacklist-module:
    # Whether or not the blacklist will be enabled.
    enabled: false

    # Whether or not messages that have censored words in them will be hoverable.
    # This means you will be able to hover over a chat message to see an uncensored message if you have the "permissions.blacklist" permission.
    # This may not work well with other chat plugins!
    hoverable: false

    # The character that will replace blocked word characters.
    character: "*"

    # Whether or not messages that have merged blocked words will be detected.
    # So if you block the word "ass", it will also block "asshole" or "dickass".
    # May cause issues with legal words like "bypass"! Fix is below.
    merging: true

    # All words that will be censored.
    # Separate words with commas.
    words: bad, words, here

    # All characters that will be censored.
    # These are merely characters that will be detected anywhere in messages.
    characters: b, a, d

    # All domain levels that will be censored.
    # This can prevent users from sending links in chat.
    # This will only check the end of words which have detected periods!
    domains: com, net, org

    # All strings that will be detected as periods in messages. Of course characters like "." and "," are detected by default.
    # This will work in coordination with "domains".
    # For example, it can detect "mineplex()com" as "mineplex.com".
    periods: (), (dot),

    # All words that will be allowed to be typed no matter what.
    # This helps quite a bit if you have "merging" enabled.
    # I recommend using http://www.morewords.com/contains/[word]/!
    allowed: bypass, assembly, assassin, compass, assume, assault, asset, assort

Last updated