No Spam Please

NoSpamPlease is a lightweight addon for World of Warcraft that blocks chat spam using custom player-defined keywords. It supports all major game versions, features a multilingual interface, real-time filtering, and tracks blocked messages per session.

File Details

NoSpamPlease_21-05-26.zip

  • R
  • May 21, 2026
  • 29.89 KB
  • 479
  • 12.0.7+5
  • Classic + 3

File Name

NoSpamPlease_21-05-26.zip

Supported Versions

  • 12.0.7
  • 12.0.5
  • 5.5.4
  • 5.5.3
  • 2.5.5
  • 1.15.8
[2.5.3] — current

Changed

- `NSP.EnsureDBDefaults` — saved-variable defaults, migration, and locale normalization (`esMX` / `ptPT`) live in one function; called on `PLAYER_LOGIN` and when `NoSpamDB` is already loaded at file init.
- `NSP.PlayerNameKey` — single name-normalization helper for chat filter, guild roster cache, and player whitelist UI (removed duplicate logic in config).
- Channel whitelist lookup — `NSP.whitelistChannelsSet` hash table (rebuilt on login and when channel IDs are added or removed); chat filter uses O(1) lookup instead of scanning the list each message.
- `IsSpam` — returns immediately when the keyword list is empty (skips markup stripping and matching work).
- Whole words (plain mode) — UTF-8-aware word boundaries so Cyrillic and other non-ASCII keywords do not false-match inside longer words; ASCII behaviour unchanged.

Fixed

- Clear all keywords — confirmation dialog also resets `sessionBlockedTotal` so `/nospam stats` and the settings icon tooltip stay consistent with an empty list.