DoorKnock
Sneak + interact with any door to knock instead of opening it — 3-tap knock sound, configurable cooldown, and a clean "you knocked!" message. Realm & Multiplayer Friendly
Screenshots



Description
© CIServerModding. All rights reserved. Available exclusively on CurseForge and MCPEDL. Do not reupload.
New Minecraft Bedrock Server! - New Dawn Online ~4:00 - ~6:00 (sometimes online longer, up to 72 hours) PM - MT
IP: newdawnwar.falix.gg Port: 20069
(If the server is offline, you may start it by clicking** ****here**, typing in newdawnwar.falix.gg, and then click the **"Start Server" **button, watch the ad, and then wait for the server to start.)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DOORKNOCK by CIServerModding ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Sneak interact with any door to KNOCK instead of opening it!
★ FEATURES ★ • Sneak interact with a door = KNOCK (door stays closed) • Sharp 3-tap knock sound (positional — fades with distance) • "You knocked on a door!" message to the knocker • 10-second per-player cooldown (configurable, anti-spam) • Cooldown error shows the remaining time • Works on all doors, trapdoors, fence gates, and hatches • Normal interact still opens doors (sneak = knock, no sneak = open) • /doorknock cooldown <seconds> — operator-only command to set the cooldown • /doorknock cooldown — shows the current cooldown • Cooldown setting persists across restarts • Welcome message on join
★ COMPATIBILITY ★ • Works with ALL other addons (no player.json needed) • Pure script logic — no entities, no RP overrides, no vanilla file changes • Cannot conflict with other addons • No experiments required (uses the STABLE @minecraft/server 2.1.0 API) • The knock only triggers when sneaking, so normal door use is completely unaffected • Place anywhere in your Behavior Pack list
★ REQUIREMENTS ★ • Minecraft Bedrock 26.40 • Both the Behavior Pack AND Resource Pack must be enabled • Operator rank required to use /doorknock cooldown (the knock itself works for everyone)
★ HOW TO USE ★ \1. Download the .mcaddon \2. Open it — Minecraft imports both packs automatically \3. Create or edit a world \4. Enable both the DoorKnock BP and RP in your world settings \5. Sneak interact (right-click/tap) with any door to knock! \6. Don't sneak — the door opens normally as usual
★ CONFIGURING THE COOLDOWN ★ By default, each player can knock once every 10 seconds. Operators can change this for all players: • /doorknock cooldown 30 → sets the cooldown to 30 seconds • /doorknock cooldown → shows the current cooldown • Range: 0–3600 seconds (0 = no cooldown) • The setting is stored in a world dynamic property and persists across restarts
If a player tries to knock during the cooldown, the door stays closed and they see "Knock on cooldown — wait Xs." with the remaining time.
★ TECHNICAL DETAILS ★ • Architecture: pure script (no custom entities, no player.json) • Listens to the playerInteractWithBlock before-event, cancels the vanilla door-open when sneaking, plays 3 positional dig.wood taps • The /doorknock command uses the native customCommandRegistry (stable API, shows up in the slash menu with autocomplete, works in command blocks) • Cooldown stored in a world dynamic property (survives restarts) • All callbacks wrapped in try/catch for crash resistance
★ CREDITS ★ Publisher: CIServerModding (All rights reserved)
Developer: ClockSplice
Available exclusively on CurseForge and MCPEDL
★ BUG REPORTS & FEATURE REQUESTS ★ Found a bug? Want a feature added or removed? Let me know in the comments! I read all feedback and will address issues as quickly as possible.
© CIServerModding. All rights reserved. Available exclusively on CurseForge and MCPEDL. Do not reupload.
Images
Changelog
Compatibility Update - V1.0.0 (no version increments on comp updates)
We fixed our mod to work for v26.40.