Knocker Sign Rate Limiter (Datapack, 1.21.x)
Purpose
- Stops TheKnocker's 'click' signs from appearing constantly by keeping all players' scoreboard value 'click' at 1 (the mod only spawns signs when it finds a player with click==0).
- Every 20 minutes a 60-second window opens where ONE random online player's 'click' is set to 0, allowing at most one sign spawn in that period (and only if the mod's own RNG chooses that event).
Install
- Drop the ZIP into: world/datapacks/
- Run: /reload
- Verify with: /scoreboard objectives list (you should see 'click' and 'knocker_cd').
Commands
- /function knockerblocker:debug_now -> instantly opens a 60s window (useful for testing)
- /schedule clear knockerblocker:tick_60s -> stops the loop (then /function knockerblocker:load to restart)
Notes
- Works server-side only; clients don't need anything.
- If you previously deleted/renamed the 'click' objective, the pack recreates it.
- Compatible with NeoForge/Fabric/Connector because it's pure vanilla commands.



