Staff++
Search…
Chat module

Introduction

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

Configuration

1
# Requires "permissions.chat" permission.
2
chat-module:
3
# Whether or not the plugin will use "/chat" features.
4
enabled: true
5
6
# The amount of lines that will be sent when "/chat clear" is executed.
7
lines: 100
8
9
# The cooldown, in seconds, for chatting when the chat is slowed.
10
# Bypass permission is "chat-slow".
11
slow: 5
12
13
# Whenever one of these words/phrases is detected in a chat message,
14
# an alert will be triggered. These can either notify the staff members
15
# through the alerts-system of discord.
16
detection:
17
phrases:
18
- admin
19
- mod
20
21
# All word blacklist options.
22
# Leave any of the lists below blank to disable them!
23
blacklist-module:
24
# Whether or not the blacklist will be enabled.
25
enabled: false
26
27
# Whether or not messages that have censored words in them will be hoverable.
28
# This means you will be able to hover over a chat message to see an uncensored message if you have the "permissions.blacklist" permission.
29
# This may not work well with other chat plugins!
30
hoverable: false
31
32
# The character that will replace blocked word characters.
33
character: "*"
34
35
# Whether or not messages that have merged blocked words will be detected.
36
# So if you block the word "ass", it will also block "asshole" or "dickass".
37
# May cause issues with legal words like "bypass"! Fix is below.
38
merging: true
39
40
# All words that will be censored.
41
# Separate words with commas.
42
words: bad, words, here
43
44
# All characters that will be censored.
45
# These are merely characters that will be detected anywhere in messages.
46
characters: b, a, d
47
48
# All domain levels that will be censored.
49
# This can prevent users from sending links in chat.
50
# This will only check the end of words which have detected periods!
51
domains: com, net, org
52
53
# All strings that will be detected as periods in messages. Of course characters like "." and "," are detected by default.
54
# This will work in coordination with "domains".
55
# For example, it can detect "mineplex()com" as "mineplex.com".
56
periods: (), (dot),
57
58
# All words that will be allowed to be typed no matter what.
59
# This helps quite a bit if you have "merging" enabled.
60
# I recommend using http://www.morewords.com/contains/[word]/!
61
allowed: bypass, assembly, assassin, compass, assume, assault, asset, assort
Copied!
Last modified 6mo ago
Copy link