Staff++
<= 1.16.56
<= 1.16.56
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
  • Permissions & Commands
    • Commands
    • Permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • Fixed Ban Reason
      • Templates
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Examine players
    • Infractions
    • Investigate
    • Protection
    • Reporting
      • Finding reports
      • Custom report types
    • Staff Chat
    • Staff Mode
      • Luckperms integration
      • Custom GUI
      • Staff Modules
      • Custom Staff Modules
    • Teleporting
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
  • Migration guides
    • Staff+ migration guide
    • Migrating to >=V1.16.43
    • Upgrading Discord Integration to 1.16.51
  • Developers
    • API guide
Powered by GitBook
On this page
  • Introduction
  • Configuration

Was this helpful?

  1. Features

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
PreviousBroadcastingNextChest/Inventory Interaction

Last updated 4 years ago

Was this helpful?