Door Knock

Lets players knock on interior doors, causing owners to answer the door when in the room.


Overview

This mod simply adds a hotkey (default Enter) that lets players knock on the door to an NPC's room, playing a knock sound (default "axchop") a set number of times (default 3). If the NPC is in the room, they will walk to the door, open it, and stand in the doorway for a specified time (default 200 game ticks), then return to their starting point.

NPCs will not answer the door if they are already moving somewhere.

If the room is owned by more than one NPC, the mod will check for all owners and choose randomly from those in the room.

If you have the Close Doors mod installed, the NPC will close the door again before returning to their starting point.

This mod doesn't override the "You are not good enough friends with x" text that prevents entry into NPCs' rooms.


Config


You can change the following in the config:


  • Knock button

  • Knock sound

  • Knock sound times

  • Knock sound interval

  • Answer delay in game ticks

  • Wait time in game ticks



Notes

The mod uses a simple tile-checking algorithm starting with the tile behind the door to determine who is in the room.

The mod doesn't restart any animation the NPC might have been performing before answering the door, I might look into how that works at some point.
5e05e750-9338-4a8d-9a88-8ec65d1d97bf

Technical

Requires SMAPI.

Implements a Generic Mod Config Menu interface to change config settings in-game.

Code is at https://github.com/aedenthorn/StardewValleyMods.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.

Door Knock Team

profile avatar
Owner
High Crafter tier icon
  • 29
    Followers
  • 305
    Projects
  • 7.4M
    Downloads

More from ErintheView all

  • Sound Tweaker project image

    Sound Tweaker

    Provides advanced customization of the game's sound cues. Lets you combine or replace tracks with other cues, indexed sound tracks, or custom audio files; silence sound cues; change pitch and volume or set random pitch and / or volume; and more!

    • 18.9K
    • October 12, 2026
  • Placeable Mine Shaft project image

    Placeable Mine Shaft

    Allows you to craft and place mine shafts in the same way as you can place staircases.

    • 53.6K
    • October 10, 2026
  • Bat Form project image

    Bat Form

    Lets you transform into a bat that provides a birds eye view of the valley and a movement speed buff.

    • 57.4K
    • October 4, 2026
  • Quest Helper project image

    Quest Helper

    Adds markers to NPC quest targets, adds fish finding info for fishing quests, adds names to socializing quests.

    • 15.1K
    • October 3, 2026
  • Sound Tweaker project image

    Sound Tweaker

    Provides advanced customization of the game's sound cues. Lets you combine or replace tracks with other cues, indexed sound tracks, or custom audio files; silence sound cues; change pitch and volume or set random pitch and / or volume; and more!

    • 18.9K
    • October 12, 2026
  • Placeable Mine Shaft project image

    Placeable Mine Shaft

    Allows you to craft and place mine shafts in the same way as you can place staircases.

    • 53.6K
    • October 10, 2026
  • Bat Form project image

    Bat Form

    Lets you transform into a bat that provides a birds eye view of the valley and a movement speed buff.

    • 57.4K
    • October 4, 2026
  • Quest Helper project image

    Quest Helper

    Adds markers to NPC quest targets, adds fish finding info for fishing quests, adds names to socializing quests.

    • 15.1K
    • October 3, 2026