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.

The Door Knock Team

profile avatar
Owner
  • 25
    Followers
  • 279
    Projects
  • 5.0M
    Downloads

More from ErintheView all

  • Immersive Sprinklers and Scarecrows project image

    Immersive Sprinklers and Scarecrows

    • 1.4K
    • Mods

    Lets you place sprinklers and scarecrows at the intersection of crop tiles.

    • 1.4K
    • May 29, 2026
    • Mods
  • Swim project image

    Swim

    • 84.0K
    • Mods

    Allows you to swim anywhere there is water, wear your swimsuit on land, and dive for treasure or swim with rainbow fishies.

    • 84.0K
    • May 28, 2026
    • Mods
  • Furniture Adjustment project image

    Furniture Adjustment

    • 10.9K
    • Mods

    Lets you move furniture pixel-by-pixel (or faster) using hotkeys

    • 10.9K
    • May 27, 2026
    • Mods
  • Door Furniture project image

    Door Furniture

    • 24
    • Mods

    Adds two fully-functional doors as craftable, buyable furniture. Lets modders create similar doors, as well as lockable door furniture with keys and key rings.

    • 24
    • May 27, 2026
    • Mods
    • +1
  • Immersive Sprinklers and Scarecrows project image

    Immersive Sprinklers and Scarecrows

    • 1.4K
    • Mods

    Lets you place sprinklers and scarecrows at the intersection of crop tiles.

    • 1.4K
    • May 29, 2026
    • Mods
  • Swim project image

    Swim

    • 84.0K
    • Mods

    Allows you to swim anywhere there is water, wear your swimsuit on land, and dive for treasure or swim with rainbow fishies.

    • 84.0K
    • May 28, 2026
    • Mods
  • Furniture Adjustment project image

    Furniture Adjustment

    • 10.9K
    • Mods

    Lets you move furniture pixel-by-pixel (or faster) using hotkeys

    • 10.9K
    • May 27, 2026
    • Mods
  • Door Furniture project image

    Door Furniture

    • 24
    • Mods

    Adds two fully-functional doors as craftable, buyable furniture. Lets modders create similar doors, as well as lockable door furniture with keys and key rings.

    • 24
    • May 27, 2026
    • Mods
    • +1