Skip to content

Load editable blocklist from plugin data folder + moderation notify permission #58

Description

@Geph

Summary

The swear/slur blocklist lives only in the JAR (blocked-words.txt). Staff must rebuild to customize it. Profanity alerts go only to ops (Player#isOp).

Suggested approach

  • On enable, copy/merge a default blocked-words.txt into plugins/WHIMC-Observations/
  • Prefer the data-folder file (or merge with JAR defaults)
  • Notify players with a permission such as whimc-observations.moderation.notify instead of (or in addition to) ops
  • Optionally support /adminobservations reload to pick up list changes (see related reload issue)

Related

ObservationContentValidator, notifyOps

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions