Dedicated Webhook Class
Instead of using an unofficial dependency for webhook, we created a special class for webhook integrations.
Better webhook commands
We added 1 more command for webhook, which is /bwe webhook test
. And also added better webhook help response.
Null pointer exception fix
An exception error occur when few players use banned words has been fixed.
Official Folia Support
Now the plugin will works on folia and its fork.
Customizable Messages
Now you can change message and prefix of plugin through commands and config.
Customizable Discord Webhook
Now you can change embed message layout and webhook username and avatar through commands and config.
Automated Config Update
Automatically add missing configurations.
Added new action "RUN"
- It will an command on checks
chat:
action: RUN
command: "msg {player} don't say {word}"
Catagorised banned word list
- Before
banned-words:
- nuke
- cry
- http[s]?://[a-zA-Z0-9_.?=]*
- After
banned-words:
chat:
- chat-specific
sign:
- sign-specific
book: []
anvil: []
command: []
displayname: []
global:
- nuke
- cry
- http[s]?://[a-zA-Z0-9_.?=]*
new features and changes
- Changed punishment to action for upcoming features in future
- Added new action called
CENSOR
[only for Sign, Book, Chat]
new config
# Made by bloodred; also known as aadinath
# For help, https://dsc.gg/kmds
# List banned words like shown below
# - hack
# Also has regex support like [a-zA-Z0-9_.?=]*
# Read https://www.w3schools.com/java/java_regex.asp
# Don't use
# - crashing
# - crashed
# Instead use regex support
# - crash[a-z]*
banned-words:
- nuke
- cry
- http[s]?://[a-zA-Z0-9_.?=]*
checks:
# Check banned words on chat
chat:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN, CENSOR
action: CENSOR
# Check banned word on player's display name
player-display-name:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN
action: KICK
# Check banned words in books (title and content)
book:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN, CENSOR
action: CENSOR
# Check banned words when naming items in anvil
anvil:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN
action: CANCEL_EVENT
# Check banned words in commands
command:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN
action: CANCEL_EVENT
# Check banned words on signs
sign:
# Enable checks
enabled: true
# Possible values for action: CANCEL_EVENT, IP_BAN, ACCOUNT_BAN, KICK, ACCOUNT_WITH_IP_BAN, CENSOR
action: CENSOR
discord-webhook:
# Enable discord webhook supports
enabled: false
# Set your webhook url
url: "https://discord.com/api/webhooks/your/webhook/url"