BannedWordsEffective

BannedWordsEffective

Plugin

Prevent players from using banned words on server. With discord webhook support

Server Game MechanicsManagementOptimizationSocialTechnologyUtility

733 downloads
13 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...
  • Added bwe.bypass permission.
  • Added infraction actions.
  • Fixed issue occured during kicking player using actions.
  • Added bwe.bypass permission.
  • Added infraction actions (beta)

ACTION not working fixed

  • The ACCOUNT_WITH_IP_BAN punishment now works perfect.

New Censor Engine

  • Now you can customize how censorship works.

Regex issue fixed

  • Plugin ignoring banned words in regex has been patched.

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.

Plugin crash issue fixed

Plugin not working (while webhook is enabled) due to No SLF4J providers were found. error has been fixed.

Decreased size

Removed unwanted dependencies and the dependency which is used for webhook has been replaced with lightweight one.

Crash Fix

Fixed plugin crash due to using threaded region scheduler has been fixed.

Sign Board

Edited the way the checks in sign and hanging side.

Software support

Now it works almost all bukkit and paper forks.

Plugin Runtime Error Fix

The plugin will now recognize main class and runs normally.

Folia Issue Fix

The plugin will call folia scheduler in different way.

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_.?=]*
  • Stable version of 0.2 beta
  • Fixed /bwe remove command issue
  • Fixed censor regex issue

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"
  • Added 1.17+ support with no crash issues.
  • Added better folia support without crashing the server

New features and bug fixes

  1. Added discord webhook support
  2. Added version checks
  3. Fixed punishment not working issue
discord-webhook:
  enabled: false
  url: webhook-url

Bug fixes:

  1. Fixed /bwe remove issue
  2. Fixed config file corruption

First version


Project members

BloodRed

Owner/Creator

Details

Licensed ARR
Published a year ago
Updated 16 days ago