-
Notifications
You must be signed in to change notification settings - Fork 6
/
ai.yml
55 lines (49 loc) · 1.56 KB
/
ai.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# AI Powered chat handling
# Powered by OpenAI
# Is the AI chat filter enabled?
enabled: true
# If violating more than 1 filter, should player be punished for each violation or just the first one?
multiple-violations: false
# allow swearing in these channels
disabledChannels:
- sc
# Should the plugin check for swear words in private messages?
inMsg: true
# %message% will be replaced with the message which violated the filter.
filters:
swearing:
enabled: true
# This sets the confidence threshold for the AI to flag violation in messages, with a range from 0.0 to 1.0.
# A higher threshold means the AI needs to be more confident that the message contains swearing before taking action.
# We recommend keeping this value at 0.8 or higher.
threshold: 0.85
action:
- "warn %player% Swearing is not allowed!"
sexual:
enabled: true
threshold: 0.85
action:
- "warn %player% Sexual messages are not allowed!"
hate:
enabled: true
threshold: 0.85
action:
- "warn %player% Hate messages are not allowed!"
harassment:
enabled: true
threshold: 0.85
action:
- "warn %player% Harassment is not tolerated!"
self-harm:
enabled: true
threshold: 0.85
action:
- "warn %player% Self-harm is a serious matter, please seek help."
violence:
enabled: true
threshold: 0.85
action:
- "warn %player% Messages promoting violence are not allowed!"
logging:
# If enabled, the AI chat filter will log all filtered messages to the console as well as details of the filter.
enabled: true