promotional bannermobile promotional banner

DoorBell

Bring your home to life with a customizable magical doorbell that plays a sound and greets visitors when they enter.

File Details

Doorbell v1.0.4

  • R
  • Feb 16, 2026
  • 5.19 KB
  • 31
  • 12.0.1
  • Retail

File Name

Doorbell.zip

Supported Versions

  • 12.0.1

v1.0.4

Rebuilt house entry logic to properly distinguish between:

  • Players already inside your house when you enter.
  • Players entering after you.

Added a 10 second hard intruder detection window triggered by PLAYER_STARTED_LOOKING.

Intruder detection now:

  • Activates only once per house entry.
  • Instantly plays intruder alert sound with no delay.
  • Sends intruder message immediately.
  • Stops permanently after 10 seconds.

After detection window ends, addon switches to Normal Mode and listens only for new arrivals.

Detection mode will not restart unless you fully exit and re-enter your house.


Intruder Logic Improvements

  • Intruder alert now triggers only once per unique nameplate GUID during detection window.
  • Added internal tracking to prevent duplicate intruder messages for the same player.
  • Removed unnecessary reliance on NAME_PLATE_UNIT_REMOVED for detection logic.
  • Eliminated repeated intruder scans after detection window expires.

Welcome System Improvements

Welcome messages now:

  • Respect delay timer setting.
  • Only trigger for players entering after detection window.
  • Fixed bug where players already inside triggered welcome message incorrectly.
  • Improved cooldown buffer logic for repeat visitors.

UI Overhaul. Sound System Expanded

Replaced limited 4 sound options with categorized sound library.

Added sound categories:

  • Bells
  • Alerts
  • Completion

Two-stage dropdown system:

  • Select category.
  • Select sound from that category.

Implemented SafePlaySound wrapper to prevent UI errors.

  • Removed invalid or non functional sound IDs.
  • Fixed dropdown error caused by improper PlaySound usage.

Housing Toolbar Button Improvements

  • Resized Doorbell housing icon.
  • Improved frame layering and positioning logic.

Icon now:

  • Appears correctly inside housing UI.
  • Positions above Housing Music button if present.
  • Does not overlap Home or Music buttons.
  • Does not disappear when Housing Music addon is not installed.
  • Corrected missing icon issue caused by incomplete frame positioning logic.

Stability and Bug Fixes

  • Fixed C_Sound.PlaySound error.
  • Fixed detection mode re-triggering unexpectedly.
  • Removed debug spam printing nameplate GUIDs to chat.
  • Detection Mode Active and Detection Mode Ended messages remain for clarity.
  • Hardened event ordering and state flags to prevent race conditions.
  • Cleaned up detection state handling and internal tracking tables.

Internal Improvements

Added strict state management:

  • detectionActive flag
  • detectionUsedThisEntry guard

Improved event flow:

  • ADDON_LOADED
  • PLAYER_STARTED_LOOKING
  • NAME_PLATE_UNIT_ADDED

Removed redundant or unsafe logic paths.

Improved separation between detection mode and normal listening mode.