Skip to content

Add keyword blocklist #13

@Peashooter101

Description

@Peashooter101

Plugin/Mod Version

3.0.0

What would you like to see added or changed?

Add a nickname / keyword blocklist that can be run against nicknames along with a bypass permission.

ie:

blocked-words:
  - nintendo

/nick set nintendoFan > Sorry, but that nickname contains a blocked word.

Can be more in depth if desired:

ie:

blocked-words:
  block_peashooter101:
    - block-type: FULL_WORD
    - case-insensitive: true
    - word: Peashooter101
  block_nintendo:
    - block-type: CONTAINS
    - case-insensitive: true
    - word: nintendo
  block_numbers:
    - block-type: REGEX_CONTAINS
    - word: '\d+'
  block_whitespace_string:
    - block-type: REGEX_MATCH
    - word: '\s+'

Why do you want this feature?

Prevents bad words in nicknames.

General word filtering.

Can be used to block specific names.

Have you tried any alternatives?

No response

Checklist

  • I’ve checked if this feature already exists
  • I’ve checked other issues for duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions